Skip to content

DrawingRectangleF

Namespace: ThinkGeo.Core

This structure represents the drawing of a rectangle in screen coordinates.

public struct DrawingRectangleF

Inheritance objectValueTypeDrawingRectangleF

Remarks:

None

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

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

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

MinimumX

Gets or sets the MinimumX.

public float MinimumX { get; }

Property Value

float

MinimumY

Gets or sets the MinimumY.

public float MinimumY { get; }

Property Value

float

MaximumX

Gets or sets the MaximumX.

public float MaximumX { get; }

Property Value

float

MaximumY

Gets or sets the MaximumY.

public float MaximumY { get; }

Property Value

float

Constructors

DrawingRectangleF(float, float, float, float)

This method represents the constructor that should be used to create the structure.

DrawingRectangleF(float centerX, float centerY, float width, float height)

Parameters

centerX float
This parameter represents the center horizontal value of the rectangle.

centerY float
This parameter represents the center vertical value of the rectangle.

width float
This parameter represents the width of the rectangle.

height float
This parameter represents the height of the rectangle.

DrawingRectangleF(float, float, float, float, DrawingRectangleAnchorReference)

Initializes a new instance of the DrawingRectangleF class.

DrawingRectangleF(float anchorPointX, float anchorPointY, float width, float height, DrawingRectangleAnchorReference anchorReference)

Parameters

anchorPointX float

anchorPointY float

width float

height float

anchorReference DrawingRectangleAnchorReference

Methods

Equals(object)

This method is an override of the Equals functionality.

bool Equals(object obj)

Parameters

obj object

Returns

bool

Remarks:

None

GetHashCode()

This method is an override of the GetHashCode functionality.

int GetHashCode()

Returns

int

Remarks:

None