monks/mask_clip
The mask-clip CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area.
Values
pub const border_box: #(String, String)
- : The painted content is clipped to the border box.
pub const content_box: #(String, String)
- : The painted content is clipped to the content box.
pub const fill_box: #(String, String)
- : The painted content is clipped to the object bounding box.
pub const padding_box: #(String, String)
- : The painted content is clipped to the padding box.
pub const revert_layer: #(String, String)
pub const stroke_box: #(String, String)
- : The painted content is clipped to the stroke bounding box.
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for mask-clip.
It will be wrapped in var() and have -- prepended.
pub const view_box: #(String, String)
- : Uses the nearest SVG viewport as reference box. If a
viewBoxattribute is specified for the element creating the SVG viewport, the reference box is positioned at the origin of the coordinate system established by theviewBoxattribute and the dimension of the reference box is set to the width and height values of theviewBoxattribute.