GeometryBox enumeration

GeometryBox enumeration

Specifies the reference box for mask and clip-path elements in SVG.

The GeometryBox type exposes the following members:

Fields

FieldDescription
MARGIN_BOXUses the margin box as the reference box.
BORDER_BOXUses the border box as the reference box.
PADDING_BOXUses the padding box as the reference box.
CONTENT_BOXUses the content box as the reference box.
FILL_BOXUses the area of the element’s fill as the reference box.
STROKE_BOXUses the area of the element’s stroke as the reference box.
VIEW_BOXUses the nearest SVG viewport as the reference box.

See Also