mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
add-lineDashOffset-type
This commit is contained in:
Vendored
+17
@@ -9,6 +9,7 @@
|
||||
// Yair Tawil <https://github.com/yairtawil>
|
||||
// Pierre Marchand <https://github.com/pierremarc>
|
||||
// Hauke Stieler <https://github.com/hauke96>
|
||||
// Jan Suleiman <https://github.com/jansule>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// Definitions partially generated using tsd-jsdoc (https://github.com/englercj/tsd-jsdoc)
|
||||
|
||||
@@ -10135,6 +10136,13 @@ export namespace style {
|
||||
*/
|
||||
getLineDash(): number[];
|
||||
|
||||
/**
|
||||
* Get the line dash offset style for the stroke.
|
||||
* @return Line dash offset
|
||||
* @api
|
||||
*/
|
||||
getLineDashOffset(): number;
|
||||
|
||||
/**
|
||||
* Get the line join type for the stroke.
|
||||
* @return Line join.
|
||||
@@ -10186,6 +10194,14 @@ export namespace style {
|
||||
*/
|
||||
setLineDash(lineDash: number[]): void;
|
||||
|
||||
/**
|
||||
* Set the line dash offset.
|
||||
*
|
||||
* @param lineDashOffset Line dash offset.
|
||||
* @api
|
||||
*/
|
||||
setLineDashOffset(lineDashOffset: number): void;
|
||||
|
||||
/**
|
||||
* Set the line join.
|
||||
*
|
||||
@@ -12347,6 +12363,7 @@ export namespace olx {
|
||||
lineCap?: string;
|
||||
lineJoin?: string;
|
||||
lineDash?: number[];
|
||||
lineDashOffset?: number;
|
||||
miterLimit?: number;
|
||||
width?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user