Enum Paint

Enum Paint

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

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

[ComVisible(true)]
public enum Paint

Fields

ContextFill = 1

Uses the current context fill color for painting.

The ‘context-fill’ value allows the element to use the current context’s fill color. This is useful for ensuring consistency in color theming across different elements within the same SVG context.

ContextStroke = 2

Uses the current context stroke color for painting.

The ‘context-stroke’ value enables the element to use the current context’s stroke color. This is beneficial for maintaining a uniform stroke appearance across various elements within the same SVG context.

None = 0

Indicates no paint should be applied.

The ’none’ value is used to specify that no fill or stroke should be applied to the element. This is useful for creating transparent or empty areas within SVG graphics.

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.

 English