SKPaintStyle Enum
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.
Indications on how to draw geometry.
public enum SKPaintStyle
- Inheritance
-
SKPaintStyle
Fields
Fill | 0 | Fill the geometry. |
Stroke | 1 | Stroke the geometry. |
StrokeAndFill | 2 | Fill and stroke the geometry. |
Remarks
Styles apply to rectangle, oval, path, and text. Bitmaps are always drawn in Fill, and lines are always drawn in Stroke.
StrokeAndFill implicitly draws the result with Winding so if the original path is even-odd, the results may not appear the same as if it was drawn twice, filled and then stroked.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈