Struct RectangleDimensions
Defines the dimensions for a rectangle.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Phoenix.Tiresias
Assembly: Phoenix.Plugin.Tiresias.dll
Syntax
public struct RectangleDimensions
Constructors
View SourceRectangleDimensions(Single, Single)
Initializes a new instance of the RectangleDimensions struct.
Declaration
public RectangleDimensions(float width, float height)
Parameters
Type | Name | Description |
---|---|---|
System.Single | width | The width of the rectangle. |
System.Single | height | The height of the rectangle. |
Properties
View SourceHeight
Gets the height of the rectangle.
Declaration
public readonly float Height { get; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Gets the width of the rectangle.
Declaration
public readonly float Width { get; }
Property Value
Type | Description |
---|---|
System.Single |