FL.Rect · declarations 001
Assign
Assign(*args: Any, **kwargs: Any) -> Any
Assign(Rect r) | (Point p0, Point p1) | (x0, y0, x1, y1) - assigns new values to a Rect, the same as constructor
Check
Check(*args: Any, **kwargs: Any) -> Any
Check(Rect r) - returns True if r overlaps current rectangle Check(Point p) - returns True if p is insude current rectangle
Include
Include(*args: Any, **kwargs: Any) -> Any
Include(Rect r) | (Point p) | (x, y) - expands rectangle to include new rectangle or point
Resize
Resize(width: Any, height: Any) -> Any
Resize(width, height) - resizes rectangle to new width and height
Shift
Shift(*args: Any, **kwargs: Any) -> Any
Shift(Point p) | (x, y) - shifts Rect on a position defined by p or x and y values
Transform
Transform(m: Any) -> Any
Transform(Matrix m) - applies Matrix transformation to the Rect (see Matrix().doc)
Validate
Validate() -> Any
Validate() - corrents rectangle's orientation
height
instance-attribute
height: Any
ll
instance-attribute
ll: Any
ur
instance-attribute
ur: Any
width
instance-attribute
width: Any