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==
  
''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

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Misc
Fc9-type-11-icon.png Code
Code for drawing the primitive 
Fc9-conn-icon.png Fill
Fc9-type-2-icon.png Colour
Specifies the fill colour of the shape 
Fc9-type-2-icon.png Gradient
 
Fc9-type-12-icon.png Gradient Style
 
Fc9-conn-icon.png Outline
Fc9-type-12-icon.png Style
Outline line style 
Fc9-type-21-icon.png Outline size
The outline size in pixels 
Fc9-type-2-icon.png Colour
The outline colour of the shape 
Fc9-conn-icon.png Advanced
Fc9-type-10-icon.png Custom Attributes