PositionArgument.fromRelativeRect constructor
PositionArgument.fromRelativeRect(
- RelativeRect rect
Creates a PositionArgument from given RelativeRect.
This sets the left, top, right, and bottom properties from the given RelativeRect. The height and width properties are set to null.
Implementation
PositionArgument.fromRelativeRect(RelativeRect rect)
: left = rect.left,
top = rect.top,
right = rect.right,
bottom = rect.bottom,
width = null,
height = null;