IContext class
(undocumented) interface used for both the SVGContext and the CanvasSurfaceContext, which are undocumented classes.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
IContext({Object? fillStyle, String? font, num? globalAlpha, String? lineCap, num? lineDashOffset, String? lineJoin, num? lineWidth, num? miterLimit, num? shadowBlur, String? shadowColor, num? shadowOffsetX, num? shadowOffsetY, Object? strokeStyle, String? textAlign, bool? imageSmoothingEnabled, bool? clipInsteadOfFill, bool? currentlyShadowed, bool? isTemporary, String? filter, dynamic cachedTransform, void commitTransform()?, void setImageSmoothingEnabled(bool)?, void arc(num, num, num, num, num, bool, [num?, num?])?, void beginPath()?, void endPath([num?])?, void bezierCurveTo(num, num, num, num, num, num)?, void clearRect(num, num, num, num)?, void clip()?, void closePath()?, UnionCommon4 createLinearGradient(num, num, num, num)?, Object createPattern(HTMLElement, String)?, UnionCommon5 createRadialGradient(num, num, num, num, num, num)?, void drawImage(HTMLElement, num, num, [num?, num?, num?, num?, num?, num?])?, void fill([bool?])?, void fillRect(num, num, num, num)?, void fillBackground(num, num, num, num)?, void fillText(String, num, num)?, ImageData getImageData(num, num, num, num)?, void lineTo(num, num)?, TextMetrics measureText(String)?, void moveTo(num, num)?, void quadraticCurveTo(num, num, num, num)?, void rect(num, num, num, num)?, void restore()?, void rotate(num)?, void save()?, void setTransform(num, num, num, num, num, num)?, void scale(num, num)?, void stroke()?, void transform(num, num, num, num, num, num)?, void translate(num, num)?, void fillContext(dynamic, [bool?])?, void strokeContext()?, void shadowsSet(num, num, num)?, void shadowsOff()?, void shadowsOn()?, void enableDash(Array<
num> , num)?, void disableDash()?, void clearContextCache(bool)?, void removePartFromView(GraphObject)?}) -
factory
Properties
- arc ↔ void Function(num, num, num, num, num, bool, [num?, num?])
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - beginPath ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - bezierCurveTo ↔ void Function(num, num, num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - cachedTransform ↔ dynamic
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - clearContextCache ↔ void Function(bool)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - clearRect ↔ void Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - clip ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - clipInsteadOfFill ↔ bool
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - closePath ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - commitTransform ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - createLinearGradient ↔ UnionCommon4 Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - createPattern ↔ Object Function(HTMLElement, String)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - createRadialGradient ↔ UnionCommon5 Function(num, num, num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - currentlyShadowed ↔ bool
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - disableDash ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - drawImage ↔ void Function(HTMLElement, num, num, [num?, num?, num?, num?, num?, num?])
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair -
enableDash
↔ void Function(Array<
num> , num) -
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - endPath ↔ void Function([num?])
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fill ↔ void Function([bool?])
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fillBackground ↔ void Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fillContext ↔ void Function(dynamic, [bool?])
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fillRect ↔ void Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fillStyle ↔ Object
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - fillText ↔ void Function(String, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - filter ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - font ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - getImageData ↔ ImageData Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - globalAlpha ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- imageSmoothingEnabled ↔ bool
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - isTemporary ↔ bool
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - lineCap ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - lineDashOffset ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - lineJoin ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - lineTo ↔ void Function(num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - lineWidth ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - measureText ↔ TextMetrics Function(String)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - miterLimit ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - moveTo ↔ void Function(num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - quadraticCurveTo ↔ void Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - rect ↔ void Function(num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - removePartFromView ↔ void Function(GraphObject)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - restore ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - rotate ↔ void Function(num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- save ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - scale ↔ void Function(num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - setImageSmoothingEnabled ↔ void Function(bool)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - setTransform ↔ void Function(num, num, num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowBlur ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowColor ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowOffsetX ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowOffsetY ↔ num
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowsOff ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowsOn ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - shadowsSet ↔ void Function(num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - stroke ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - strokeContext ↔ void Function()
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - strokeStyle ↔ Object
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - textAlign ↔ String
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - transform ↔ void Function(num, num, num, num, num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair - translate ↔ void Function(num, num)
-
Available on IContext, provided by the IContext$Typings extension
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited