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

Single
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

Single
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

Single
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

Single
This parameter returns the height of the rectangle.

Remarks:

None

MinimumX

public float MinimumX { get; }

Property Value

Single

MinimumY

public float MinimumY { get; }

Property Value

Single

MaximumX

public float MaximumX { get; }

Property Value

Single

MaximumY

public float MaximumY { get; }

Property Value

Single

Constructors

DrawingRectangleF(Single, Single, Single, Single)

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

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

Parameters

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

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

width Single
This parameter represents the width of the rectangle.

height Single
This parameter represents the height of the rectangle.

DrawingRectangleF(Single, Single, Single, Single, DrawingRectangleAnchorReference)

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

Parameters

anchorPointX Single

anchorPointY Single

width Single

height Single

anchorReference DrawingRectangleAnchorReference

Methods

Equals(Object)

This method is an override of the Equals functionality.

bool Equals(object obj)

Parameters

obj Object

Returns

Boolean

Remarks:

None

GetHashCode()

This method is an override of the GetHashCode functionality.

int GetHashCode()

Returns

Int32

Remarks:

None