MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.gym.GeomEllipse Class Reference

The GeomEllipse object is used to render an ellipse. More...

Inheritance diagram for MyCaffe.gym.GeomEllipse:
MyCaffe.gym.GeomObj

Public Member Functions

 GeomEllipse (float fL, float fR, float fT, float fB, Color clrFill, Color clrBorder)
 The constructor. More...
 
override void Render (Graphics g)
 Renders the ellipse 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...
 

Detailed Description

The GeomEllipse object is used to render an ellipse.

Definition at line 280 of file Geometry.cs.

Constructor & Destructor Documentation

◆ GeomEllipse()

MyCaffe.gym.GeomEllipse.GeomEllipse ( float  fL,
float  fR,
float  fT,
float  fB,
Color  clrFill,
Color  clrBorder 
)

The constructor.

Parameters
fLSpecifies the left position.
fRSpecifies the right position.
fTSpecifies the top position.
fBSpecifies the bottom position.
clrFillSpecifies the fill color.
clrBorderSpecifies the border color.

Definition at line 291 of file Geometry.cs.

Member Function Documentation

◆ Render()

override void MyCaffe.gym.GeomEllipse.Render ( Graphics  g)
virtual

Renders the ellipse on the Graphics specified.

Parameters
gSpecifies the Graphics used to draw.

Implements MyCaffe.gym.GeomObj.

Definition at line 300 of file Geometry.cs.


The documentation for this class was generated from the following file: