語言

Visual.RotationAngleInDegrees 屬性

定義

視覺效果的旋轉角度,以度為單位。 可產生動畫效果。

public:
 property float RotationAngleInDegrees { float get(); void set(float value); };
float RotationAngleInDegrees();

void RotationAngleInDegrees(float value);
public float RotationAngleInDegrees { get; set; }
var single = visual.rotationAngleInDegrees;
visual.rotationAngleInDegrees = single;
Public Property RotationAngleInDegrees As Single

屬性值

Single

float

視覺效果的旋轉角度,以度為單位。

Windows 需求

規格需求 Description
裝置系列
Windows 10 (已於 10.0.10586.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

備註

這個屬性可以產生動畫效果。 呼叫 CompositionObject.StartAnimation 將其與 CompositionAnimation產生關聯。

適用於