Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
fabric
IColor
Interface IColor
Index
Methods
getAlpha
getSource
overlayWith
setAlpha
setSource
toBlackWhite
toGrayscale
toHex
toRgb
toRgba
Methods
public
getAlpha
(
)
:
number
Returns
number
public
getSource
(
)
:
Array<any>
Returns
Array<any>
public
overlayWith
(
otherColor
:
string
)
:
IColor
Parameters
otherColor:
string
Returns
IColor
public
overlayWith
(
otherColor
:
IColor
)
:
IColor
Parameters
otherColor:
IColor
Returns
IColor
public
setAlpha
(
alpha
:
number
)
:
IColor
Parameters
alpha:
number
Returns
IColor
public
setSource
(
source
:
Array<any>
)
:
any
Parameters
source:
Array<any>
Returns
any
public
toBlackWhite
(
threshold
:
any
)
:
IColor
Parameters
threshold:
any
Returns
IColor
public
toGrayscale
(
)
:
IColor
Returns
IColor
public
toHex
(
)
:
string
Returns
string
public
toRgb
(
)
:
string
Returns
string
public
toRgba
(
)
:
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
getAlpha
getSource
overlayWith
setAlpha
setSource
toBlackWhite
toGrayscale
toHex
toRgb
toRgba
IConvoluteFilter
IElement
IEllipse
IEventList
IFilter
IGradient
IGradientTransparencyFilter
IGrayscaleFilter
IGroup
IImage
IIntersection
IInvertFilter
ILine
INoiseFilter
IObject
IObjectOptions
IObservable
IPath
IPathGroup
IPixelateFilter
IPoint
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