ArcSegment.SweepDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies whether the arc is drawn in the Clockwise or Counterclockwise direction.
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
Property Value
A value that specifies the direction in which the arc is drawn. The default value is Counterclockwise.
Remarks
For an ArcSegment with a given Size, RotationAngle, start point, and end Point, four different arcs are possible. Specifying the IsLargeArc property reduces the number of possible arcs to two: an arc drawn from the start point to the end Point in a Clockwise direction and an arc drawn from the start point to the end point in a Counterclockwise direction.
The following illustration shows two elliptical arcs that are identical except for their SweepDirection settings.
ArcSegment objects with different SweepDirection settings
Dependency Property Information
Identifier field | SweepDirectionProperty |
Metadata properties set to true |
None |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈