EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

getLineDash method

Gets the current dash list sequence.

HTML Canvas 2D Context level 2IE11

Syntax

CanvasRenderingContext2D.getLineDash();

Parameters

dashList [out]

Type: sequence

Array that represents the pattern of lines and spaces for dash list.

Return value

This method does not return a value.

Standards information

Remarks

This method returns the current pattern of lines and spaces in a dash list array. The array will always have an even number of members, or be empty if there is no dash list.

See also

CanvasRenderingContext2D
setLineDash
lineDashOffset
Dashed line demo

 

 

표시:
© 2014 Microsoft