Partager via


AngleY

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Property Value

Type: Double

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

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

Managed Equivalent

AngleY

Remarks

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

You can offset the local origin point 0,0 for an object on a Canvas by using Canvas.Left and Canvas.Top, but this does not count as a transform. In this case, the object retains its own local origin for transformation purposes. For more information about this concept, see Object Positioning (Silverlight 1.0).

This property accepts negative values. Positive values are interpreted as counterclockwise skew. Negative values are interpreted as clockwise skew. Values that are less than -360 or greater than 360 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

Different AngleX, AngleY, and Center values.

Applies To

SkewTransform