Share via


AngleY Propert

Gets or sets the y-axis skew angle, which is measured in degrees counterclockwise from the x-axis.

XAML
<object AngleY="Double" .../>
Scripting
value = object.AngleY
object.AngleY = value

Property Value

Double

The skew angle, which is measured in degrees counterclockwise from the x-axis.

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

Remarks

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 using Canvas.Left and Canvas.Top, but this does not count as a transform; the object retains its own local origin in this case for transformation purposes. For details on this concept, see Object Layout in Silverlight.

Positive values are interpreted as counterclockwise skew. Negative values are interpreted as clockwise skew. For values less than -360 or greater than 360, the values will wrap around and be treated as if the mathematical operation (mod 360) was applied.

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

SkewTransform examples

SkewTransform examples

Applies To

SkewTransform

See Also

Silverlight Transforms Overview