Jump to content

Component: Complex Shape ( Web Primitives): Difference between revisions

From Flowcode Help
No edit summary
Line 23: Line 23:
==Detailed description==
==Detailed description==


''No detailed description exists yet for this component''
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


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


Macro reference

Property reference

Properties
Misc
Code
Code for drawing the primitive 
Fill
Colour
Specifies the fill colour of the shape 
Gradient
 
Gradient Style
 
Outline
Style
Outline line style 
Outline size
The outline size in pixels 
Colour
The outline colour of the shape 
Advanced
Custom Attributes