GeometryBox Enum

GeometryBox enumeration

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

public enum GeometryBox

Values

NameValueDescription
MarginBox0Uses the margin box as the reference box.
BorderBox1Uses the border box as the reference box.
PaddingBox2Uses the padding box as the reference box.
ContentBox3Uses the content box as the reference box.
FillBox4Uses the area of the element’s fill as the reference box.
StrokeBox5Uses the area of the element’s stroke as the reference box.
ViewBox6Uses the nearest SVG viewport as the reference box.

See Also