Difference between revisions of "Component: Complex Shape ( Web Primitives)"
From Flowcode Help
Jump to navigationJump to search| Line 23: | Line 23: | ||
| ==Detailed description== | ==Detailed description== | ||
| − | + | Each line could be one of 7 commands with the following parameters: | |
| + | |||
| + |   AP: AddPointsLine,  x0, y0, x1, y1, ... | ||
| + |   AC: AddPointsCurve, x0, y0, x1, y1, ... | ||
| + |   AL: AddLine,        x0, y0 | ||
| + |   AB: AddBezier,      x0, y0, x1, y1, x2, y2 | ||
| + |   AA: AddArc,         x0, y0, dx, dy | ||
| + |   SS: SetStart,       x0, y0 | ||
| + |   SP: StartPart | ||
| ==Examples== | ==Examples== | ||
Revision as of 15:09, 5 December 2023
| Author | MatrixTSL | 
| Version | 0.1 | 
| Category | Web Primitives | 
Contents
Complex Shape component
Creates a Javascript compatible complex shape object.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_ComplexShape.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_ComplexShape.fcsx
Detailed description
Each line could be one of 7 commands with the following parameters:
AP: AddPointsLine, x0, y0, x1, y1, ... AC: AddPointsCurve, x0, y0, x1, y1, ... AL: AddLine, x0, y0 AB: AddBezier, x0, y0, x1, y1, x2, y2 AA: AddArc, x0, y0, dx, dy SS: SetStart, x0, y0 SP: StartPart
Examples
No additional examples







