语言

Shape.IncrementRotation(Single) 方法

定义

使指定的形状绕 Z 轴旋转指定的角度。 使用该 Rotation 属性设置形状的绝对旋转。

public:
 void IncrementRotation(float Increment);
public void IncrementRotation(float Increment);
Public Sub IncrementRotation (Increment As Single)

参数

Increment
Single

需要 单个。 指定形状要水平旋转多远(以度为单位)。 为正值时顺时针旋转形状,为负值时逆时针旋转形状。

注解

要围绕 x 轴或 y 轴旋转三维形状,请使用该 IncrementRotationX(Single) 方法或方法 IncrementRotationY(Single) 。

适用于