new shape()
shape is a default implementation of a CIQ.Drawing.BaseTwoPoint drawing which places a "shape" on the canvas. It can be rotated and/or stretched. It is meant to be overridden with specific shape designs, such as arrows....
- Since:
-
- 2015-11-1
- 9.7.0 Deprecated
- Deprecated:
-
- Yes
Members
-
setRotationOnInitialDraw :boolean
-
If true, enables rotation when the drawing is initially drawn.
Type:
- boolean
- Since:
-
- 7.4.0
- 9.7.0 Deprecated
- Deprecated:
-
- Yes
Methods
-
adjust()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
click()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
intersected()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
littleCircleRadius()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
measure()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
reconstruct(stx [, obj])
-
Reconstruct a shape.
Parameters:
Name Type Argument Description stxCIQ.ChartEngine The chart object.
objobject <optional>
A drawing descriptor.
Properties
Name Type Argument Description colstring <optional>
The border color.
fcstring <optional>
The fill color.
pnlstring <optional>
The panel name.
ptrnstring <optional>
Pattern for line "solid", "dotted", or "dashed". Defaults to solid.
lwnumber <optional>
Line width. Defaults to 1.
v0number <optional>
Value (price) for the center point.
d0number <optional>
Date (string form) for the center point
tzo0number <optional>
Offset of UTC from d0 in minutes.
anumber <optional>
Angle of the rotation in degrees.
sxnumber <optional>
Horizontal scale factor.
synumber <optional>
Vertical scale factor.
fldstring <optional>
Field to which drawing is associated.
vernumber <optional>
Version number of the shape.
prmnumber <optional>
Whether the drawing is permanent
hdnnumber <optional>
Whether the drawing is hidden
- Since:
-
- 8.4.0 Added
fldproperty toobjparameter. - 9.0.0 Added
prmandhdnproperty toobjparameter. - 9.7.0 Deprecated
- 8.4.0 Added
- Deprecated:
-
- Yes
-
render()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
reposition()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
-
serialize()
-
- Since:
-
9.7.0 Deprecated
- Deprecated:
-
- Yes
