Interface CommonOpts
interface CommonOpts {
aside?: boolean;
cap?: "butt" | "round" | "square";
dashed?: boolean;
fill?: true | Val<string>;
join?: "round" | "miter" | "bevel";
opacity?: Val<number>;
origin?: Val<V>;
rotate?: Val<number>;
scale?: Val<V>;
stroke?: Val<string>;
strokeWidth?: Val<number>;
thin?: boolean;
translate?: Val<V>;
}
aside?: boolean;
cap?: "butt" | "round" | "square";
dashed?: boolean;
fill?: true | Val<string>;
join?: "round" | "miter" | "bevel";
opacity?: Val<number>;
origin?: Val<V>;
rotate?: Val<number>;
scale?: Val<V>;
stroke?: Val<string>;
strokeWidth?: Val<number>;
thin?: boolean;
translate?: Val<V>;
}
Hierarchy
Properties
Optionalaside
aside?: boolean
Optionalcap
cap?: "butt" | "round" | "square"
Optionaldashed
dashed?: boolean
Optionalfill
Optionaljoin
join?: "round" | "miter" | "bevel"
Optionalopacity
Optionalorigin
Optionalrotate
Optionalscale
Optionalstroke
OptionalstrokeWidth
Optionalthin
thin?: boolean
Stroked-shape opts.
fill: true→ stroke color; string → that color; omitted → no fill.