Share via


CompositionRectangleGeometry.Size Property

Definition

Gets or sets the height and width of the rectangle.

public:
 property float2 Size { float2 get(); void set(float2 value); };
float2 Size();

void Size(float2 value);
public Vector2 Size { get; set; }
var vector2 = compositionRectangleGeometry.size;
compositionRectangleGeometry.size = vector2;
Public Property Size As Vector2

Property Value

Vector2 Vector2

float2

The height and width of the rectangle.

Applies to