Struct RectF
- Namespace
- FellowOakDicom.Imaging.Mathematics
- Assembly
- fo-dicom.core.dll
Representation of a floating-point rectangle.
public struct RectF
- Inherited Members
- Extension Methods
Constructors
RectF(float, float, float, float)
Initializes an instance of RectF.
public RectF(float x, float y, float width, float height)
Parameters
x
floatThe start x coordinate.
y
floatThe start y coordinate.
width
floatThe width.
height
floatThe height.
Properties
Height
Gets the rectangle height.
public float Height { get; set; }
Property Value
Width
Gets the rectangle width.
public float Width { get; set; }
Property Value
X
Gets the rectangle start coordinate in X direction.
public float X { get; set; }
Property Value
Y
Gets the rectangle start coordinate in Y direction.
public float Y { get; set; }
Property Value
Methods
Inflate(float, float)
Enlarges this RectF structure by the specified amount.
public void Inflate(float x, float y)