Struct DrawingRectangleF
This structure represents the drawing of a rectangle in screen coordinates.
public struct DrawingRectangleF
- Inherited Members
Remarks
None
Constructors
DrawingRectangleF(float, float, float, float)
This method represents the constructor that should be used to create the structure.
public DrawingRectangleF(float centerX, float centerY, float width, float height)
Parameters
centerX
floatThis parameter represents the center horizontal value of the rectangle.
centerY
floatThis parameter represents the center vertical value of the rectangle.
width
floatThis parameter represents the width of the rectangle.
height
floatThis parameter represents the height of the rectangle.
Examples
None
DrawingRectangleF(float, float, float, float, DrawingRectangleAnchorReference)
public DrawingRectangleF(float anchorPointX, float anchorPointY, float width, float height, DrawingRectangleAnchorReference anchorReference)
Parameters
anchorPointX
floatanchorPointY
floatwidth
floatheight
floatanchorReference
DrawingRectangleAnchorReference
Properties
CenterX
This parameter represents the center horizontal value of the rectangle.
public float CenterX { get; }
Property Value
- float
This parameter returns the center horizontal value of the rectangle.
Remarks
None
CenterY
This parameter represents the center vertical value of the rectangle.
public float CenterY { get; }
Property Value
- float
This parameter returns the center vertical value of the rectangle.
Remarks
None
Height
This parameter returns the height of the rectangle.
public float Height { get; }
Property Value
- float
This parameter returns the height of the rectangle.
Remarks
None
MaximumX
public float MaximumX { get; }
Property Value
MaximumY
public float MaximumY { get; }
Property Value
MinimumX
public float MinimumX { get; }
Property Value
MinimumY
public float MinimumY { get; }
Property Value
Width
This parameter returns the width of the rectangle.
public float Width { get; }
Property Value
- float
This parameter returns the width of the rectangle.
Remarks
None
Methods
Equals(object)
This method is an override of the Equals functionality.
public override bool Equals(object obj)
Parameters
obj
object
Returns
Remarks
None
GetHashCode()
This method is an override of the GetHashCode functionality.
public override int GetHashCode()
Returns
Remarks
None
Operators
operator ==(DrawingRectangleF, DrawingRectangleF)
This method is an override of the == functionality.
public static bool operator ==(DrawingRectangleF rectangleF1, DrawingRectangleF rectangleF2)
Parameters
rectangleF1
DrawingRectangleFThis parameter represents the first DrawingRectangleF to compare.
rectangleF2
DrawingRectangleFThis parameter represents the second DrawingRectangleF to compare.
Returns
Remarks
None
operator !=(DrawingRectangleF, DrawingRectangleF)
This method is an override of the != functionality.
public static bool operator !=(DrawingRectangleF rectangleF1, DrawingRectangleF rectangleF2)
Parameters
rectangleF1
DrawingRectangleFThis parameter represents the first DrawingRectangleF to compare.
rectangleF2
DrawingRectangleFThis parameter represents the second DrawingRectangleF to compare.
Returns
Remarks
None