FillStyle: "solid" | "dotted" | "hashed" | "crosshatched" | {
dotSize?: number;
tileSize?: number;
type?: "dotted";
[k: string]: unknown;
} | {
hashDirection?: "vertical" | "horizontal" | "increasing" | "decreasing";
thickness?: number;
type?: "hashed";
[k: string]: unknown;
} | {
hatchingDirection?: "vertical" | "diagonal";
thickness?: number;
type?: "crosshatched";
[k: string]: unknown;
}
Type declaration
-
[k: string]: unknown
-
Optional
dotSize?: number
-
Optional
tileSize?: number
-
Optional
type?: "dotted"
Type declaration
-
[k: string]: unknown
-
Optional
hashDirection?: "vertical" | "horizontal" | "increasing" | "decreasing"
-
Optional
thickness?: number
-
Optional
type?: "hashed"
Type declaration
-
[k: string]: unknown
-
Optional
hatchingDirection?: "vertical" | "diagonal"
-
Optional
thickness?: number
-
Optional
type?: "crosshatched"
Fill pattern of a shape