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
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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