Paint enumeration

Paint enumeration

Specifies the paint options for the fill and stroke attributes in SVG elements.

The Paint type exposes the following members:

Fields

FieldDescription
NONEIndicates no paint should be applied.
CONTEXT_FILLUses the current context fill color for painting.
CONTEXT_STROKEUses the current context stroke color for painting.

Remarks

This enumeration defines the types of paint that can be applied to the fill and stroke properties of SVG elements. It allows for standard color, context-based fills, and strokes, or no paint at all.

See Also