See Also: tWebDrawingResizetData, tWebPoint, tWebSize, Declaring Variables, Struct, Float, Integer, String
tWebDrawingEventData is a structured type that is used to represent information about an event in the cWebDrawing class.
Struct tWebDrawingEventData
Integer eMouseButtons
tWebPoint tMousePosition
tWebPoint tPosition
Float fRotation
tWebSize tScaling
String sStrokeColor
Float fStrokeWidth
Integer iStrokeCap
Integer iStrokeJoin
Float fDashOffset
String sFillColor
String sShadowColor
Float fShadowBlur
tWebPoint tShadowOffset
String sTextContent
String sFontFamily
Float fFontSize
Integer eJustification
String sFontWeightt
End_Struct
eMouseButtons
The mouse buttons being clicked
tMousePosition
The mouse position
tPosition
The item position
fRotation
The item rotation
tScaling
The item scaling
sStrokeColor
The stroke color
fStrokeWidth
The stroke width
iStrokeCap
The stroke cap type
iStrokeJoin
The stroke join type
fDashOffset
The dash offset
sFillColor
The shape fill color
sShadowColor
The shadow color
fShadowBlur
The shadow blur
fShadowOffset
The shadow offset
sTextContent
The text content
sFontFamily
The font family
fFontSize
The font size
eJustification
The text justification
sFontWeight
The font weight
Use cWebDrawing.pkg
:
tWebDrawingEventData {variableName}
To declare tWebDrawingEventData variables, use the name of the type (tWebDrawingEventData) followed by the variable name.
tWebDrawingEventData MyEvent
See struct variables for more details of instantiating struct types.