Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
fabric
IPoint
Interface IPoint
Index
Methods
add
addEquals
distanceFrom
divide
divideEquals
eq
gt
gte
init
lerp
lt
lte
max
min
multiply
multiplyEquals
scalarAdd
scalarAddEquals
scalarSubtract
scalarSubtractEquals
setFromPoint
setXY
subtract
subtractEquals
swap
tostring
Methods
public
add
(
that
:
IPoint
)
:
IPoint
Parameters
that:
IPoint
Returns
IPoint
public
addEquals
(
that
:
IPoint
)
:
IPoint
Parameters
that:
IPoint
Returns
IPoint
public
distanceFrom
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
divide
(
scalar
:
number
)
:
any
Parameters
scalar:
number
Returns
any
public
divideEquals
(
scalar
:
number
)
:
any
Parameters
scalar:
number
Returns
any
public
eq
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
gt
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
gte
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
init
(
x
:
any
, y
:
any
)
:
any
Parameters
x:
any
y:
any
Returns
any
public
lerp
(
that
:
IPoint
, t
:
any
)
:
any
Parameters
that:
IPoint
t:
any
Returns
any
public
lt
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
lte
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
max
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
min
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
multiply
(
scalar
:
any
)
:
any
Parameters
scalar:
any
Returns
any
public
multiplyEquals
(
scalar
:
any
)
:
any
Parameters
scalar:
any
Returns
any
public
scalarAdd
(
scalar
:
any
)
:
IPoint
Parameters
scalar:
any
Returns
IPoint
public
scalarAddEquals
(
scalar
:
number
, thisArg
:
IPoint
)
:
any
Parameters
scalar:
number
thisArg:
IPoint
Returns
any
public
scalarSubtract
(
scalar
:
number
)
:
any
Parameters
scalar:
number
Returns
any
public
scalarSubtractEquals
(
scalar
:
any
)
:
any
Parameters
scalar:
any
Returns
any
public
setFromPoint
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
setXY
(
x
:
any
, y
:
any
)
:
any
Parameters
x:
any
y:
any
Returns
any
public
subtract
(
that
:
IPoint
)
:
IPoint
Parameters
that:
IPoint
Returns
IPoint
public
subtractEquals
(
that
:
IPoint
)
:
IPoint
Parameters
that:
IPoint
Returns
IPoint
public
swap
(
that
:
IPoint
)
:
any
Parameters
that:
IPoint
Returns
any
public
tostring
(
)
:
string
Returns
string
Globals
fabric
Canvas
Circle
Group
Image
Intersection
Line
Object
Path
PathGroup
Point
Polygon
Polyline
Rect
StaticCanvas
Text
Triangle
isLikelyNode
isTouchSupported
util
IBrightnessFilter
ICanvas
ICanvasOptions
ICircle
ICircleOptions
IColor
IConvoluteFilter
IElement
IEllipse
IEventList
IFilter
IGradient
IGradientTransparencyFilter
IGrayscaleFilter
IGroup
IImage
IIntersection
IInvertFilter
ILine
INoiseFilter
IObject
IObjectOptions
IObservable
IPath
IPathGroup
IPixelateFilter
IPoint
add
addEquals
distanceFrom
divide
divideEquals
eq
gt
gte
init
lerp
lt
lte
max
min
multiply
multiplyEquals
scalarAdd
scalarAddEquals
scalarSubtract
scalarSubtractEquals
setFromPoint
setXY
subtract
subtractEquals
swap
tostring
IPolygon
IPolyline
IRect
IRectOptions
IRemoveWhiteFilter
ISepia2Filter
ISepiaFilter
IStaticCanvas
IText
ITextOptions
ITriangle
ITriangleOptions
createCanvasForNode
getCSSRules
getGradientDefs
loadSVGFromString
loadSVGFromURL
log
parseAttributes
parseElements
parsePointsAttribute
parseSVGDocument
parseStyleAttribute
parseTransformAttribute
warn