RelativeTransform Property
Collapse the table of content
Expand the table of content

Brush.RelativeTransform Property

 

Gets or sets the transformation that is applied to the brush using relative coordinates.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public Transform RelativeTransform { get; set; }

Property Value

Type: System.Windows.Media.Transform

The transformation that is applied to the brush using relative coordinates. The default value is the Identity transformation.

This property is especially useful when you want to rotate, scale, skew, or otherwise transform a brush about its center, but you don't know the size of the area painted with the brush, or you are using the same brush to paint different areas with different sizes.

For detailed information about this property, see the Brush Transformation Overview.

Identifier field

RelativeTransformProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft