Class: Point
Constructors​
constructor​
• new Point(x
, y
)
Parameters​
Name | Type |
---|---|
x | number |
y | number |
Defined in​
Properties​
x​
• x: number
Defined in​
y​
• y: number
Defined in​
Methods​
parse​
â–¸ Static
parse(point
, defaultValue?
): Point
Parameters​
Name | Type | Default value |
---|---|---|
point | string | undefined |
defaultValue | number | 0 |
Returns​
Defined in​
parseScale​
â–¸ Static
parseScale(scale
, defaultValue?
): Point
Parameters​
Name | Type | Default value |
---|---|---|
scale | string | undefined |
defaultValue | number | 1 |
Returns​
Defined in​
parsePath​
â–¸ Static
parsePath(path
): Point
[]
Parameters​
Name | Type |
---|---|
path | string |
Returns​
Point
[]
Defined in​
angleTo​
â–¸ angleTo(point
): number
Parameters​
Name | Type |
---|---|
point | Point |
Returns​
number
Defined in​
applyTransform​
â–¸ applyTransform(transform
): void
Parameters​
Name | Type |
---|---|
transform | MatrixValue |
Returns​
void