Table of Contents

Struct DrawingRectangleF

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

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 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.

Examples

None

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

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

Parameters

anchorPointX float
anchorPointY float
width float
height float
anchorReference 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

float

MaximumY

public float MaximumY { get; }

Property Value

float

MinimumX

public float MinimumX { get; }

Property Value

float

MinimumY

public float MinimumY { get; }

Property Value

float

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

bool

Remarks

None

GetHashCode()

This method is an override of the GetHashCode functionality.

public override int GetHashCode()

Returns

int

Remarks

None

Operators

operator ==(DrawingRectangleF, DrawingRectangleF)

This method is an override of the == functionality.

public static bool operator ==(DrawingRectangleF rectangleF1, DrawingRectangleF rectangleF2)

Parameters

rectangleF1 DrawingRectangleF

This parameter represents the first DrawingRectangleF to compare.

rectangleF2 DrawingRectangleF

This parameter represents the second DrawingRectangleF to compare.

Returns

bool

Remarks

None

operator !=(DrawingRectangleF, DrawingRectangleF)

This method is an override of the != functionality.

public static bool operator !=(DrawingRectangleF rectangleF1, DrawingRectangleF rectangleF2)

Parameters

rectangleF1 DrawingRectangleF

This parameter represents the first DrawingRectangleF to compare.

rectangleF2 DrawingRectangleF

This parameter represents the second DrawingRectangleF to compare.

Returns

bool

Remarks

None