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

CenterY (SkewTransform)

Silverlight

Gets or sets the y-coordinate of the transform center.

<object CenterY="Double"  .../>
value = object.CenterY
object.CenterY = value

Type: Double

The y-coordinate of the transform center.

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

To skew an object in place, set the CenterX and CenterY properties to the object's center point.

The local origin point 0,0 for an object can be offset on a Canvas by using the Canvas.Left and Canvas.Top properties, but this does not count as a transform because the object retains its own local origin for transformation purposes.

The following illustration shows three examples of a SkewTransform applied to a Rectangle.

SkewTransform examples

Different AngleX, AngleY, and Center values.

Community Additions

ADD
Show:
© 2014 Microsoft