Skip to main content

RectangleF Struct

Namespace: System.Drawing · Assembly: GHIElectronics.TinyCLR.Drawing

A floating-point rectangle defined by upper-left corner (X,Y) and size (Width,Height).

public struct RectangleF

Constructors

RectangleF(float x, float y, float width, float height)

public RectangleF(float x, float y, float width, float height)

No description available.

ParameterTypeDescription
xfloat
yfloat
widthfloat
heightfloat

Properties

X

public float X { get; set; }

Sets the x axis position. It must be between –32,768 to +32,767. (inherited)

Y

public float Y { get; set; }

Sets the y axis position. It must be between –32,768 to +32,767. (inherited)

Width

public float Width { get; set; }

Column width in pixels. (inherited)

Height

public float Height { get; set; }

Frame height in pixels. (inherited)