An NDoc Documented Class Library |
|
MakeXML.addShape Method (ArrayList, ArrayList, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String)
Add a shape element to the XML document
public
void addShape(
ArrayList args,
ArrayList aliases,
string id,
string name,
string time,
string type,
string author,
string color,
string height,
string width,
string area,
string laysInk,
string orientation,
string penTip,
string raster,
string substrokeOf,
string p1,
string p2,
string x,
string y,
string text,
string leftx,
string topy,
string control1,
string control2,
string start,
string end,
string source);
Parameters
-
args
- the components of the shape (e.g., Points that are in the Stroke)
-
aliases
- the aliases of the shape (names for the components that are used in the language)
-
id
- UUID. shape UUID
-
name
- string. name of the shape.
-
time
- positive integer. time shape was created in milliseconds since 1/1/1970 UTC
-
type
- string. The type of the shape (e.g., "Stroke")
-
author
- UUID. UUID of the author of the stroke.
-
color
- decimal. RGBA representation of the color
-
height
- decimal. used for the height of a stroke
-
width
- decimal. used for the width of a stroke
-
area
- decimal. (??)
-
laysInk
- boolean. If true render the stroke, if false, don't.
-
orientation
- decimal. The angle in degrees that the shape was drawn in relative to its description in the language file.
-
penTip
- "Rectangle" or "Ball". The pen tip type.
-
raster
- "MaskPen" or "CopyPen". How to render the ink.
-
substrokeOf
- UUID. UUID for the parent stroke.
-
p1
- (??)
-
p2
- (??)
-
x
- (??)
-
y
- (??)
-
text
- (??)
-
leftx
- (??)
-
topy
- (??)
-
control1
- (??)
-
control2
- (??)
-
start
- (??)
-
end
- (??)
-
source
- (??)
See Also
MakeXML Class | Converter Namespace | MakeXML.addShape Overload List