Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

RelativeTransform

Silverlight

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

<object>
  <object.RelativeTransform>
    singleTransform
  </object.RelativeTransform>
</object>
value = object.RelativeTransform
object.RelativeTransform = value

Type: Transform

The transformation that is applied to the brush by using relative coordinates.

This property is read/write. The default value is null.

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, or 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 in the TransformGroup reference topic.

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

For more information on basic concepts, see Transforms. Note that the Transforms topic is written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

Community Additions

ADD
Show:
© 2014 Microsoft