Module style::values::specified::basic_shape
source · Expand description
CSS handling for the specified value of
basic-shape
s
Re-exports§
pub use crate::values::generics::basic_shape::FillRule;
Structs§
- The flags to represent which basic shapes we would like to support.
- Defines a rectangle via insets from the top and left edges of the reference box.
- The specified value of
xywh()
. Defines a rectangle via offsets from the top and left edge of the reference box, and a specified width and height.
Enums§
- The specified value of
. = <inset()> | <rect()> | <xywh()> - For filled shapes, we use fill-rule, and store it for path() and polygon(). For outline shapes, we should ignore fill-rule.
Functions§
- A helper for both clip-path and shape-outside parsing of shapes.
Type Aliases§
- A specified basic shape.
- A specified circle.
- A specified
clip-path
value. - A specified ellipse.
- The specified value of
inset()
. - The specified value of
PathOrShapeFunction
. - The specified value of
Polygon
. - The specified value of
ShapeCommand
. - A specified
shape-outside
value. - A specified value for
at <position>
in circle() and ellipse(). - The specified value of
ShapeRadius
.