Transform (Geometry)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets the tranformation that is applied to a Geometry.
<object ...>
<object.Transform>
singleTransform
</object.Transform>
</object>
value = object.Transform
object.Transform = value
XAML Values
Value |
Description |
---|---|
singleTransform |
Exactly one object element for an object that derives from Transform. This can be one of the following: RotateTransform, ScaleTransform, SkewTransform, TranslateTransform, MatrixTransform, TransformGroup. If you use a TransformGroup, you can apply multiple transforms by defining child object elements of the TransformGroup. For more information, see the "XAML Values" section of the TransformGroup reference topic. |
Property Value
Type: Transform
The transformation that is applied to the Geometry, provided as a value of type Transform: MatrixTransform, RotateTransform, ScaleTransform, SkewTransform, or TranslateTransform. You can also use a TransformGroup to specify multiple transforms.
Remarks
Use this property to rotate, scale, skew, or translate the Geometry.