sayoi7799/moon_rough/core does not have a README file
pub(all) struct Options {
max_randomness_offset : Double?
roughness : Double?
bowing : Double?
stroke : String?
stroke_width : Double?
curve_fitting : Double?
curve_tightness : Double?
curve_step_count : Double?
fill : String?
fill_style : FillStyle?
fill_weight : Double?
hachure_angle : Double?
hachure_gap : Double?
simplification : Double?
dash_offset : Double?
dash_gap : Double?
zigzag_offset : Double?
seed : Int?
stroke_line_dash : Array[Double]?
stroke_line_dash_offset : Double?
fill_line_dash : Array[Double]?
fill_line_dash_offset : Double?
disable_multi_stroke : Bool?
disable_multi_stroke_fill : Bool?
preserve_vertices : Bool?
fixed_decimal_place_digits : Int?
fill_shape_roughness_gain : Double?
}fn Options::new(max_randomness_offset? : Double, roughness? : Double, bowing? : Double, stroke? : String, stroke_width? : Double, curve_fitting? : Double, curve_tightness? : Double, curve_step_count? : Double, fill? : String, fill_style? : FillStyle, fill_weight? : Double, hachure_angle? : Double, hachure_gap? : Double, simplification? : Double, dash_offset? : Double, dash_gap? : Double, zigzag_offset? : Double, seed? : Int, stroke_line_dash? : Array[Double], stroke_line_dash_offset? : Double, fill_line_dash? : Array[Double], fill_line_dash_offset? : Double, disable_multi_stroke? : Bool, disable_multi_stroke_fill? : Bool, preserve_vertices? : Bool, fixed_decimal_place_digits? : Int, fill_shape_roughness_gain? : Double) -> Optionspub struct ResolvedOptions {
max_randomness_offset : Double
roughness : Double
bowing : Double
stroke : String
stroke_width : Double
curve_fitting : Double
curve_tightness : Double
curve_step_count : Double
fill : String?
fill_style : FillStyle
fill_weight : Double
hachure_angle : Double
hachure_gap : Double
simplification : Double?
dash_offset : Double
dash_gap : Double
zigzag_offset : Double
seed : Int
stroke_line_dash : Array[Double]?
stroke_line_dash_offset : Double?
fill_line_dash : Array[Double]?
fill_line_dash_offset : Double?
disable_multi_stroke : Bool
disable_multi_stroke_fill : Bool
preserve_vertices : Bool
fixed_decimal_place_digits : Int?
fill_shape_roughness_gain : Double
// private fields
}Install
Download zipA MoonBit port of rough.js 4.6.6: hand-drawn, sketchy shapes rendered to backend-agnostic op sets and SVG.