Interface CanvasPathDrawingStyles
interface CanvasPathDrawingStyles {
lineCap: CanvasLineCap;
lineDashOffset: number;
lineJoin: CanvasLineJoin;
lineWidth: number;
miterLimit: number;
getLineDash(): number[];
setLineDash(segments: number[]): void;
setLineDash(segments: Iterable<number, any, any>): void;
}
lineCap: CanvasLineCap;
lineDashOffset: number;
lineJoin: CanvasLineJoin;
lineWidth: number;
miterLimit: number;
getLineDash(): number[];
setLineDash(segments: number[]): void;
setLineDash(segments: Iterable<number, any, any>): void;
}
Hierarchy
- CanvasPathDrawingStyles (view full)
Index
Properties
Methods
Properties
lineCap
lineDashOffset
lineDashOffset : number
lineJoin
lineWidth
lineWidth : number
miterLimit
miterLimit : number
Methods
getLineDash
setLineDash
- set
Line (segments): voidDash Parameters
- segments: number[]
Returns void
- set
Line (segments): voidDash Parameters
- segments: Iterable<number, any, any>
Returns void
MDN Reference