Struct LayoutRect
Namespace: VelloSharp.Charting.Layout
Assembly: VelloSharp.Charting.dll
Represents a rectangle in device independent units.
public readonly record struct LayoutRect : IEquatable<LayoutRect>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
LayoutRect(double, double, double, double)
Represents a rectangle in device independent units.
public LayoutRect(double X, double Y, double Width, double Height)
Parameters
X
double
Y
double
Width
double
Height
double
Properties
Bottom
public double Bottom { get; }
Property Value
Empty
public static LayoutRect Empty { get; }
Property Value
Height
public double Height { get; init; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Right
public double Right { get; }
Property Value
Width
public double Width { get; init; }
Property Value
X
public double X { get; init; }
Property Value
Y
public double Y { get; init; }
Property Value
Methods
Inflate(double, double)
public LayoutRect Inflate(double horizontal, double vertical)
Parameters
horizontal
double
vertical
double