PathMake

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
path <mInstructions>
Associationscom.livecode.canvas
Summary

Creates a new path.

Parameters
NameTypeDescription
mInstructions

An expression which evaluates to a string.

Example
// Create a closed path with a line and some curves
variable tPath as Path
put path "M10,10 L50,100 Q100,100 100,50 C75,50 50,25 50,10z" into tPath
Values
NameTypeDescription
return

A new path created from the instructions provided. The format of the path instructions is the same as that used for SVG path data as defined here - http://www.w3.org/TR/SVG/paths.html#PathData

Description

Creates a new path.

Tagscanvas