Initializes a new instance of the
ImGearARTPolyRuler class object.
Syntax
'Declaration
Public Function New( _
ByVal () As ImGearPoint, _
ByVal As IImGearRGBQuad, _
ByVal As ImGearARTPenStyle, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As String, _
ByVal As String, _
ByVal As Single, _
ByVal As ImGearARTFontStyles _
)
'Usage
Dim points() As ImGearPoint
Dim color As IImGearRGBQuad
Dim style As ImGearARTPenStyle
Dim width As Integer
Dim opacity As Integer
Dim aspectNumeratorX As Integer
Dim aspectDenominatorX As Integer
Dim aspectNumeratorY As Integer
Dim aspectDenominatorY As Integer
Dim startLineLength As Integer
Dim endLineLength As Integer
Dim precision As Integer
Dim label As String
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
Dim instance As New ImGearARTPolyRuler(points, color, style, width, opacity, aspectNumeratorX, aspectDenominatorX, aspectNumeratorY, aspectDenominatorY, startLineLength, endLineLength, precision, label, fontName, fontSize, fontStyle)
public ImGearARTPolyRuler(
ImGearPoint[] ,
IImGearRGBQuad ,
ImGearARTPenStyle ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
string ,
string ,
float ,
ImGearARTFontStyles
)
public: ImGearARTPolyRuler(
ImGearPoint[]* ,
IImGearRGBQuad* ,
ImGearARTPenStyle ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
string* ,
string* ,
float ,
ImGearARTFontStyles
)
public:
ImGearARTPolyRuler(
array<ImGearPoint>^ ,
IImGearRGBQuad^ ,
ImGearARTPenStyle ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
int ,
String^ ,
String^ ,
float ,
ImGearARTFontStyles
)
Parameters
- points
- The mark's points.
- color
- Mark color.
- style
- Mark's line style.
- width
- Mark's line width.
- opacity
- Opacity of the mark.
- aspectNumeratorX
- Mark's X aspect numerator value.
- aspectDenominatorX
- Mark's X aspect denominator value.
- aspectNumeratorY
- Mark's Y aspect numerator value.
- aspectDenominatorY
- Mark's Y aspect denominator value.
- startLineLength
- Length of the start line of the mark.
- endLineLength
- Length of the end line of the mark.
- precision
- The number of decimal digits displayed for the mark.
- label
- Mark's label.
- fontName
- The name of the font.
- fontSize
- The size of the font in points.
- fontStyle
- The style of the font.
See Also