Add_ShapeArc
MethodAdd_ShapeArc (Method)
Adds a closed arc shape with a specific fill type and z order
Syntax:
Function Add_ShapeArc(x1 As Single, y1 As Single, x2 As Single, y2 As Single, xc As Single, yc As Single, vItemProperties As Object, Fill_iType As Byte, Fill_lHatchIndex As Integer, Fill_iInForeColor As Short, Fill_iInBackColor As Short, Fill_sPattern As String, Fill_zOrder As Integer, Fill_lFlags As Integer, nVert As Integer, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_ShapeArc method syntax consists of the following:
Parameter |
Data Type |
Description |
x1 |
Single |
Is x coordinate of the arc's start point |
y1 |
Single |
Is y coordinate of the arc's start point |
x2 |
Single |
Is x coordinate of the arc's end point |
y2 |
Single |
Is y coordinate of the arc's end point |
xc |
Single |
Is x coordinate of the arc's circle center |
yc |
Single |
Is y coordinate of the arc's circle center |
vItemProperties |
Object |
A string array of properties for the new object |
Fill_iType |
Byte |
A Byte expression that defines the AvaxFillType |
Fill_lHatchIndex |
Integer |
The fill hatch index |
Fill_iInForeColor |
Short |
The stroke color |
Fill_iInBackColor |
Short |
The fill color |
Fill_sPattern |
String |
A String expression that defines the fill pattern's data (see also function CreateACADHatchPattern or CreateExVectorHatchPattern) |
Fill_zOrder |
Integer |
The object's elevation in the whole drawing |
Fill_lFlags |
Integer |
A numeric expresion which defines some more parameters (see also function CreatePatternFlags) |
nVert |
Integer |
The number of the arc's points between start and end point |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |
iLayer |
Short |
The layer number |
Return value:
Integer - An Avax handle on success, zero on error.
Remarks:
Use the returned string as line type data for Avax line style definitions.