|
| |
HTML Graphic Commands
The CollinsPDF.js accepts a set of
graphic commands to build images within the PDF file.
HTML Graphic Commands are included
in the HTML file using the <GRAPHIC>...</GRAPHIC> tags, each command begins with
the Name of the Graphic (i.e. "ARC") followed by a blank and a list of
comma separated value terminated by a simi-collon ";". A graphic command
can span any number of lines.
Graphic Commands::
ARC, ARCDIMENSION, CIRCLE, CONE, DIMENSION, GRID, GRAPH, LINE, GRID, NUMBERLINE, POLYGON,
RECTANGLE, PIE, PROTRACTOR, SYMBOL, TEXT, TEXTBOX
ARC (example ARC Red,3,,,10,10,100,0,45;)
|
Property |
Description |
|
Line Color |
Line Color, Name or
#HexColor |
| Line
Weight |
1 to 100 |
| Line
Style |
Solid, Dot, Dash, or pdf pattern |
| Fill
Color |
Blank for no fill, 0.001 to 0.999
for gray scale, Color Name or #HexColor |
| Center
X |
Arc Center X |
| Center
Y |
Arc Center Y |
| Radius |
Arc Radius |
| Start
|
Arc Start Angle 0 to 360 degrees |
| Sweep |
Arc Sweep Angle -360 to 360 degrees |
Circle
|
Property |
Description |
|
Line Color |
Line Color, Name or
#HexColor |
| Line
Weight |
1 to 100 |
| Line
Style |
Solid, Dot, Dash, or pdf pattern |
| Fill
Color |
Blank for no fill, 0.001 to 0.999
for gray scale, Color Name or #HexColor |
| Center
X |
Circle Center X |
| Center
Y |
Circle Center Y |
| Radius |
Circle Radius |
CONE
(example CONE Black,3,solid,tan,10,10,100,0,45;)
|
Property |
Description |
|
Line Color |
Line Color, Name or
#HexColor |
| Line
Weight |
1 to 100 |
| Line
Style |
Solid, Dot, Dash, or pdf pattern |
| Fill
Color |
Blank for no fill, 0.001 to 0.999
for gray scale, Color Name or #HexColor |
| Center
X |
Arc Center X |
| Center
Y |
Arc Center Y |
| Radius |
Arc Radius |
| Start
|
Arc Start Angle 0 to 360 degrees |
| Sweep |
Arc Sweep Angle -360 to 360 degrees |
Line or Polygon
|
Property |
Description |
|
Line Color |
Line Color, Name or
#HexColor |
| Line
Weight |
1 to 100 |
| Line
Style |
Solid, Dot, Dash, or pdf pattern |
| Fill
Color |
Blank for no fill, 0.001 to 0.999
for gray scale, Color Name or #HexColor |
| X1:Y1 |
First Point |
| X2:Y2 |
Second Point |
| ... |
|
| Xn:Yn |
Last point of Line |
GRAPH
|
Property |
Description |
|
Line Color |
Line Color, Name or
#HexColor |
| Line
Weight |
1 to 100 |
| Line
Style |
Solid, Dot, Dash, or pdf pattern |
| Fill
Color |
Blank for no fill, 0.001 to 0.999
for gray scale, Color Name or #HexColor |
| Left |
Left Coordinate |
| Bottom |
Bottom |
| Height |
Height of Gtraph |
| Width |
Width |
| Font
Color |
Font Color of Labels |
| Font
Size |
Font Size of Labels |
| Font
Name |
Font Name |
| X
Minimum |
Minimum Label Value of the X Axis |
| X
Maximum |
Maximum Label Value of the X Axis |
| X
Division |
Number of X Axis Major Divisions |
| Tic
Marks |
Number of Tic Marks Between
Divisions |
| Line
Color |
Line Color of of X Axis |
| Line
Weight |
Line Weight of X Axis |
| Line
Style |
Line Style of X Axis |
| Label
Precision |
Number of Decimal Points of the X
Axis Labels |
| Label
X |
Label X Axis (true or False |
| Y
Minimum |
Minimum Label Value of the Y Axis |
| Y
Maximum |
Maximum Label Value of the Y Axis |
| Y
Division |
Number of Y Axis Major Divisions |
| Tic
Marks |
Number of Tic Marks Between
Divisions |
| Line
Color |
Line Color of of Y Axis |
| Line
Weight |
Line Weight of Y Axis |
| Line
Style |
Line Style of Y Axis |
| Label
Precision |
Number of Decimal Points of the Y
Axis Labels |
| Label
Y |
Label Y Axis (true or False |
|