Brush.RelativeTransform Property

Definition

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

public:
 property System::Windows::Media::Transform ^ RelativeTransform { System::Windows::Media::Transform ^ get(); void set(System::Windows::Media::Transform ^ value); };
public System.Windows.Media.Transform RelativeTransform { get; set; }
member this.RelativeTransform : System.Windows.Media.Transform with get, set
Public Property RelativeTransform As Transform

Property Value

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

Remarks

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.

Dependency Property Information

Identifier field RelativeTransformProperty
Metadata properties set to true None

Applies to

See also