Brush.Transform 属性

定义

获取或设置应用于画笔的转换。Gets or sets the transformation that is applied to the brush. 此转换在完成画笔输出的映射和定位后应用。This transformation is applied after the brush's output has been mapped and positioned.

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

属性值

要应用于画笔的转换。The transformation to apply to the brush. 默认值为 Identity 转换。The default value is the Identity transformation.

注解

使用此属性可以旋转、缩放、倾斜或平移画笔的内容。Use this property to rotate, scale, skew, or translate a brush's content. 有关此属性的详细信息, 请参阅刷子转换概述For detailed information about this property, see the Brush Transformation Overview.

适用于

另请参阅