ArcSegment.SweepDirection 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指定是否在方向Counterclockwise绘制Clockwise弧线。
public:
property System::Windows::Media::SweepDirection SweepDirection { System::Windows::Media::SweepDirection get(); void set(System::Windows::Media::SweepDirection value); };
public System.Windows.Media.SweepDirection SweepDirection { get; set; }
member this.SweepDirection : System.Windows.Media.SweepDirection with get, set
Public Property SweepDirection As SweepDirection
属性值
一个值,该值指定绘制弧线的方向。 默认值为 Counterclockwise。
注解
对于具有给定Size的、RotationAngle起点和终点Point的,ArcSegment可以采用四个不同的弧线。 指定属性可将IsLargeArc可能的弧线数减少到两个:从起点到终点PointClockwise绘制的弧线的方向,从起点绘制到方向的终点的Counterclockwise弧线。
下图显示了两个椭圆弧,这些弧线与其设置不同 SweepDirection 。
具有不同 SweepDirection 设置的 ArcSegment 对象
Dependency 属性信息
| 物品 | 价值 |
|---|---|
| 标识符字段 | SweepDirectionProperty |
元数据属性设置为 true |
没有 |