Expand description
CSS handling for the specified value of
basic-shapes
Re-exports§
pub use crate::values::generics::basic_shape::FillRule;
Structs§
- Allowed
Basic Shapes - The flags to represent which basic shapes we would like to support.
- Shape
Rect Function - Defines a rectangle via insets from the top and left edges of the reference box.
- Xywh
- 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§
- Basic
Shape Rect - The specified value of
. = <inset()> | <rect()> | <xywh()> - Shape
Type - For filled shapes, we use fill-rule, and store it for path() and polygon(). For outline shapes, we should ignore fill-rule.
Type Aliases§
- Basic
Shape - A specified basic shape.
- Circle
- A specified circle.
- Clip
Path - A specified
clip-pathvalue. - Ellipse
- A specified ellipse.
- Inset
Rect - The specified value of
inset(). - Path
OrShape Function - The specified value of
PathOrShapeFunction. - Polygon
- The specified value of
Polygon. - Shape
Command - The specified value of
ShapeCommand. - Shape
Outside - A specified
shape-outsidevalue. - Shape
Position - A specified value for
at <position>in circle() and ellipse(). - Shape
Radius - The specified value of
ShapeRadius.