class of the geometrical figure of the plate rectangle, i.e the sides Of the rectangle are collinear With the canonical basis vectors (1,0) And (0,1).
PlateRectangle
01 Syntax
Microsoft.VisualBasic.Imaging.Drawing2D.Text.Nudge.PlateRectangle
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 1 | This is a "plate" rectangle |
| isEqual | 1 | return True if self rectangle equals passed argument rectangle |
| contains_point | 1 | method that evaluates if self rectangle contains a point Or Not. |
| contains_rectangle_top | 1 | method that evaluates if self rectangle contains at least one of another's rectangle tops or not. |
| covers_rectangle | 1 | method that evaluates if self rectangle covers another rectangle Or Not. |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Rectangle | 1 |
04 Members
#ctor(
Double(), Double, Double)This is a "plate" rectangle
Parameters
| Name | Type | Description |
|---|---|---|
bottomLeft | Double() |
|
l | Double | l for the length of the rectangle to get the bottom right point |
h | Double | h for the height of the rectangle |
isEqual(PlateRectangle)
return True if self rectangle equals passed argument rectangle
Parameters
| Name | Type | Description |
|---|---|---|
r | PlateRectangle | - |
contains_point(
Double())method that evaluates if self rectangle contains a point Or Not.
Parameters
| Name | Type | Description |
|---|---|---|
p | Double() | - |
contains_rectangle_top(PlateRectangle)
method that evaluates if self rectangle contains at least one of another's rectangle tops or not.
Parameters
| Name | Type | Description |
|---|---|---|
r | PlateRectangle | object of class Rectangle |
covers_rectangle(PlateRectangle)
method that evaluates if self rectangle covers another rectangle Or Not. Return true if self And rectangle doesn't contains each other one of theirs top.
Parameters
| Name | Type | Description |
|---|---|---|
r | PlateRectangle | object of class Rectangle |
Rectangle
ToString()