mizchi/crater-painter/paint/model does not have a README file
pub(all) struct PaintNode {
id : String
tag : String
x : Double
y : Double
width : Double
height : Double
overflow_x : Overflow
overflow_y : Overflow
scroll_width : Double
scroll_height : Double
clip : ClipRect
paint : PaintProperties
stacking_order : Int
text : String?
src : String?
visual_polygon : Array[(Double, Double)]
children : Array[PaintNode]
}fn PaintNode::new(id : String, tag : String, x : Double, y : Double, width : Double, height : Double, paint : PaintProperties, children : Array[PaintNode], text? : String?, src? : String?, overflow_x? : Overflow, overflow_y? : Overflow, scroll_width? : Double, scroll_height? : Double, clip? : ClipRect, visual_polygon? : Array[(Double, Double)]) -> PaintNodepub(all) struct PaintProperties {
z_index : ZIndex
visibility : Visibility
pointer_events : PointerEvents
opacity : Double
color : Color
background_color : Color
background_image : BackgroundImage
box_shadows : Array[BoxShadow]
font_size : Double
line_height : Double
letter_spacing : Double
word_spacing : Double
font_weight : Double
is_bold : Bool
font_family : String
clip_path : ClipPath
border_top_left_radius : Double
border_top_right_radius : Double
border_bottom_right_radius : Double
border_bottom_left_radius : Double
overflow_x : Overflow
overflow_y : Overflow
text_decoration_underline : Bool
text_decoration_line_through : Bool
text_decoration_overline : Bool
border_top_width : Double
border_right_width : Double
border_bottom_width : Double
border_left_width : Double
border_top_color : Color
border_right_color : Color
border_bottom_color : Color
border_left_color : Color
}impl Show for PaintPropertiesPaint tree, image output, and SVG packages for crater
Dependencies