Editar

Compartir a través de


SKPaintStyle Enum

Definition

Indications on how to draw geometry.

public enum SKPaintStyle
Inheritance
SKPaintStyle

Fields

Name Value Description
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