Partager via


IXRSkewTransform::SetAngleX (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetAngleX(
    float AngleX
) = 0;

Parameters

  • AngleX
    [in] A float value that indicates the new x-axis skew angle, in degrees counterclockwise from the y-axis.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Positive values for AngleX are interpreted as a counterclockwise skew. Negative values are interpreted as a 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.

For more information about skew transformations together with an illustration, see IXRSkewTransform.

.NET Framework Equivalent

System.Windows.Media.SkewTransform.AngleX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRSkewTransform
IXRDoubleAnimation
IXRSkewTransform::GetAngleX