Brush.RelativeTransform Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Item | Value |
---|---|
Identifier field | RelativeTransformProperty |
Metadata properties set to true |
None |
Applies to
See also
.NET