![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The GeomLine object is used to render a line. More...
Public Member Functions | |
| GeomLine (float fL, float fR, float fT, float fB, Color clrFill, Color clrBorder) | |
| The constructor. More... | |
| override void | Render (Graphics g) |
| Renders the line on the Graphics specified. More... | |
Public Member Functions inherited from MyCaffe.gym.GeomObj | |
| GeomObj (float fL, float fR, float fT, float fB, Color clrFill, Color clrBorder) | |
| The constructor. More... | |
| void | SetColors (Color clrFill, Color clrBorder) |
| Set the colors of the object. More... | |
| float | Width (PointF[] rg) |
| Returns the width of the points. More... | |
| float | Height (PointF[] rg) |
| Returns the height of the points. More... | |
| PointF | LeftBottom (PointF[] rg=null) |
| Returns the left bottom. More... | |
| PointF | LeftTop (PointF[] rg=null) |
| Returns the left top. More... | |
| PointF | RightTop (PointF[] rg=null) |
| Returns the right top. More... | |
| PointF | RightBottom (PointF[] rg=null) |
| Returns the right bottom. More... | |
| virtual void | SetLocation (float fX, float fY) |
| Sets the object location. More... | |
| virtual void | SetRotation (float fR) |
| Sets the rotation of the object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MyCaffe.gym.GeomObj | |
| void | prerender (Graphics g) |
| Called just before rendering the object. More... | |
| void | postrender (Graphics g) |
| Called just after rendering the object. More... | |
Protected Attributes inherited from MyCaffe.gym.GeomObj | |
| PointF | m_location = new PointF(0, 0) |
| Specifies the location of the object. More... | |
| List< PointF > | m_rgPoints = new List<PointF>() |
| Specifies the points of the object. More... | |
| Color | m_clrFill = Color.LightGray |
| Specifies the fill color of the object. More... | |
| Color | m_clrBorder = Color.Black |
| Specifies the border color of the object. More... | |
| float | m_fRotation = 0 |
| Specifies the rotation of the object. More... | |
| bool | m_bClrDirty = false |
| Specifies that the colors have changed. More... | |
Properties inherited from MyCaffe.gym.GeomObj | |
| PointF | Location [get] |
| Returns the location of the object. More... | |
| float | Rotation [get] |
| Returns the rotation of the object. More... | |
| List< PointF > | Polygon [get] |
| Returns the bounds as a Polygon. More... | |
| Color | FillColor [get] |
| Returns the fill color. More... | |
| Color | BorderColor [get] |
| Returns the border color. More... | |
The GeomLine object is used to render a line.
Definition at line 246 of file Geometry.cs.
| MyCaffe.gym.GeomLine.GeomLine | ( | float | fL, |
| float | fR, | ||
| float | fT, | ||
| float | fB, | ||
| Color | clrFill, | ||
| Color | clrBorder | ||
| ) |
The constructor.
| 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 257 of file Geometry.cs.
|
virtual |
Renders the line on the Graphics specified.
| g | Specifies the Graphics used to draw. |
Implements MyCaffe.gym.GeomObj.
Definition at line 266 of file Geometry.cs.