monks/paint_order

The paint-order CSS property lets you control the order in which the fill and stroke (and painting markers) of text content and shapes are drawn.

Values

pub const fill: #(String, String)

fill value of paint-order

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const markers: #(String, String)

markers value of paint-order

pub const normal: #(String, String)
  • : Paint the different items in normal paint order.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for paint-order

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const stroke: #(String, String)

fill, markers - : Specify some or all of these values in the order you want them to be painted in.

pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for paint-order. It will be wrapped in var() and have -- prepended.

Search Document