Module layout_2013::display_list::gradient
source ยท Structsยง
- StopRun ๐A helper data structure for gradients.
Functionsยง
- circle_size_keyword ๐Determines the radius of a circle if it was not explicitly provided. https://drafts.csswg.org/css-images-3/#typedef-size
- distance_to_corner ๐Returns the the distance to the nearest or farthest corner depending on the comperator.
- distance_to_sides ๐Returns the distance to the nearest or farthest sides depending on the comparator.
- ellipse_radius ๐Returns the radius for an ellipse with the same ratio as if it was matched to the sides.
- ellipse_size_keyword ๐Determines the radius of an ellipse if it was not explicitly provided. https://drafts.csswg.org/css-images-3/#typedef-size
- extend_mode ๐
- position_to_offset ๐