The GoomObj is the base class for all other gometric objects used to draw Gym objects.
More...
The GoomObj is the base class for all other gometric objects used to draw Gym objects.
Definition at line 15 of file Geometry.cs.
◆ GeomObj()
MyCaffe.gym.GeomObj.GeomObj |
( |
float |
fL, |
|
|
float |
fR, |
|
|
float |
fT, |
|
|
float |
fB, |
|
|
Color |
clrFill, |
|
|
Color |
clrBorder |
|
) |
| |
The constructor.
- Parameters
-
fL | Specifies the left position. |
fR | Specifies the right position. |
fT | Specifies the top position. |
fB | Specifies the bottom position. |
clrFill | Specifies the fill color. |
clrBorder | Specifies the border color. |
Definition at line 52 of file Geometry.cs.
◆ Height()
float MyCaffe.gym.GeomObj.Height |
( |
PointF[] |
rg | ) |
|
Returns the height of the points.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The height is returned.
Definition at line 117 of file Geometry.cs.
◆ LeftBottom()
PointF MyCaffe.gym.GeomObj.LeftBottom |
( |
PointF[] |
rg = null | ) |
|
Returns the left bottom.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The left-bottom is returned.
Definition at line 130 of file Geometry.cs.
◆ LeftTop()
PointF MyCaffe.gym.GeomObj.LeftTop |
( |
PointF[] |
rg = null | ) |
|
Returns the left top.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The left-top is returned.
Definition at line 143 of file Geometry.cs.
◆ postrender()
void MyCaffe.gym.GeomObj.postrender |
( |
Graphics |
g | ) |
|
|
protected |
Called just after rendering the object.
- Parameters
-
g | Specifies the Graphics used to render. |
Definition at line 78 of file Geometry.cs.
◆ prerender()
void MyCaffe.gym.GeomObj.prerender |
( |
Graphics |
g | ) |
|
|
protected |
Called just before rendering the object.
- Parameters
-
g | Specifies the Graphics used to render. |
Definition at line 67 of file Geometry.cs.
◆ Render()
abstract void MyCaffe.gym.GeomObj.Render |
( |
Graphics |
g | ) |
|
|
pure virtual |
◆ RightBottom()
PointF MyCaffe.gym.GeomObj.RightBottom |
( |
PointF[] |
rg = null | ) |
|
Returns the right bottom.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The right-bottom is returned.
Definition at line 169 of file Geometry.cs.
◆ RightTop()
PointF MyCaffe.gym.GeomObj.RightTop |
( |
PointF[] |
rg = null | ) |
|
Returns the right top.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The right-top is returned.
Definition at line 156 of file Geometry.cs.
◆ SetColors()
void MyCaffe.gym.GeomObj.SetColors |
( |
Color |
clrFill, |
|
|
Color |
clrBorder |
|
) |
| |
Set the colors of the object.
- Parameters
-
clrFill | Specifies the fill color. |
clrBorder | Specifies the border color. |
Definition at line 92 of file Geometry.cs.
◆ SetLocation()
virtual void MyCaffe.gym.GeomObj.SetLocation |
( |
float |
fX, |
|
|
float |
fY |
|
) |
| |
|
virtual |
Sets the object location.
- Parameters
-
fX | Specifies the location x coordinate. |
fY | Specifies the location y coordinate. |
Definition at line 198 of file Geometry.cs.
◆ SetRotation()
virtual void MyCaffe.gym.GeomObj.SetRotation |
( |
float |
fR | ) |
|
|
virtual |
Sets the rotation of the object.
- Parameters
-
fR | Specifies the rotation. |
Definition at line 207 of file Geometry.cs.
◆ Width()
float MyCaffe.gym.GeomObj.Width |
( |
PointF[] |
rg | ) |
|
Returns the width of the points.
- Parameters
-
rg | Optionally, specifies the override points. |
- Returns
- The width is returned.
Definition at line 104 of file Geometry.cs.
◆ m_bClrDirty
bool MyCaffe.gym.GeomObj.m_bClrDirty = false |
|
protected |
Specifies that the colors have changed.
Definition at line 40 of file Geometry.cs.
◆ m_clrBorder
Color MyCaffe.gym.GeomObj.m_clrBorder = Color.Black |
|
protected |
Specifies the border color of the object.
Definition at line 32 of file Geometry.cs.
◆ m_clrFill
Color MyCaffe.gym.GeomObj.m_clrFill = Color.LightGray |
|
protected |
Specifies the fill color of the object.
Definition at line 28 of file Geometry.cs.
◆ m_fRotation
float MyCaffe.gym.GeomObj.m_fRotation = 0 |
|
protected |
Specifies the rotation of the object.
Definition at line 36 of file Geometry.cs.
◆ m_location
PointF MyCaffe.gym.GeomObj.m_location = new PointF(0, 0) |
|
protected |
Specifies the location of the object.
Definition at line 20 of file Geometry.cs.
◆ m_rgPoints
List<PointF> MyCaffe.gym.GeomObj.m_rgPoints = new List<PointF>() |
|
protected |
Specifies the points of the object.
Definition at line 24 of file Geometry.cs.
◆ BorderColor
Color MyCaffe.gym.GeomObj.BorderColor |
|
get |
◆ FillColor
Color MyCaffe.gym.GeomObj.FillColor |
|
get |
◆ Location
PointF MyCaffe.gym.GeomObj.Location |
|
get |
Returns the location of the object.
Definition at line 180 of file Geometry.cs.
◆ Polygon
List<PointF> MyCaffe.gym.GeomObj.Polygon |
|
get |
Returns the bounds as a Polygon.
Definition at line 215 of file Geometry.cs.
◆ Rotation
float MyCaffe.gym.GeomObj.Rotation |
|
get |
Returns the rotation of the object.
Definition at line 188 of file Geometry.cs.
The documentation for this class was generated from the following file:
- C:/Data/Data/SS_Projects/Intelligence/GitHub/MyCaffe/MyCaffe.gym/Geometry.cs