CanvasPropertyDashPhase

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
the dash phase of <mCanvas>
Associationscom.livecode.canvas
Summary

The current dash phase of a canvas.

Parameters
NameTypeDescription
mCanvas

An expression which evaluates to a canvas.

Example
// Draw a rectangle with short, widely spaced dashes, offset to begin from the middle of the dash pattern
set the dashes of this canvas to [10, 40]
set the dash phase of this canvas to 25
stroke rectangle path of rectangle [50, 50, 200, 200] on this canvas
Description

The offset into the dashes at which to begin applying the dash pattern.

Tagscanvas