Class BaseRenderingContext2D
java.lang.Object
elemental2.dom.BaseRenderingContext2D
- All Implemented Interfaces:
CanvasDrawingStyles
,CanvasPathMethods
- Direct Known Subclasses:
CanvasRenderingContext2D
,OffscreenCanvasRenderingContext2D
@JsType(isNative=true,
namespace="<global>")
public class BaseRenderingContext2D
extends Object
implements CanvasDrawingStyles, CanvasPathMethods
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
static interface
Nested classes/interfaces inherited from interface elemental2.dom.CanvasPathMethods
CanvasPathMethods.RoundRectRadiiArrayUnionType, CanvasPathMethods.RoundRectRadiiUnionType
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble
boolean
double
double
double
double
double
double
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
arc
(double x, double y, double radius, double startAngle, double endAngle) void
arc
(double x, double y, double radius, double startAngle, double endAngle, boolean anticlockwise) void
arcTo
(double x1, double y1, double x2, double y2, double radius) void
void
bezierCurveTo
(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) void
clearRect
(double x, double y, double w, double h) void
clip()
void
clip
(BaseRenderingContext2D.ClipOptFillRuleOrPathUnionType optFillRuleOrPath) void
clip
(BaseRenderingContext2D.ClipOptFillRuleOrPathUnionType optFillRuleOrPath, String optFillRule) final void
final void
final void
final void
void
createImageData
(int sw, int sh) createLinearGradient
(double x0, double y0, double x1, double y1) createPattern
(BaseRenderingContext2D.CreatePatternImageUnionType image, String repetition) final CanvasPattern
createPattern
(HTMLCanvasElement image, String repetition) final CanvasPattern
createPattern
(HTMLImageElement image, String repetition) final CanvasPattern
createPattern
(HTMLVideoElement image, String repetition) final CanvasPattern
createPattern
(ImageBitmap image, String repetition) final CanvasPattern
createPattern
(OffscreenCanvas image, String repetition) createRadialGradient
(double x0, double y0, double r0, double x1, double y1, double r1) void
drawFocusIfNeeded
(Element element) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) void
drawImage
(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) final void
drawImage
(HTMLCanvasElement image, double dx, double dy) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw, double dh) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) final void
drawImage
(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) final void
drawImage
(HTMLImageElement image, double dx, double dy) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw, double dh) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) final void
drawImage
(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) final void
drawImage
(HTMLVideoElement image, double dx, double dy) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw, double dh) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) final void
drawImage
(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) final void
drawImage
(ImageBitmap image, double dx, double dy) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw, double dh) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw, double dh, double sx) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) final void
drawImage
(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) final void
drawImage
(OffscreenCanvas image, double dx, double dy) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw, double dh) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) final void
drawImage
(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) void
ellipse
(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle) void
ellipse
(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, boolean anticlockwise) void
fill()
void
fill
(BaseRenderingContext2D.FillOptFillRuleOrPathUnionType optFillRuleOrPath) void
fill
(BaseRenderingContext2D.FillOptFillRuleOrPathUnionType optFillRuleOrPath, String optFillRule) final void
final void
final void
final void
void
fillRect
(double x, double y, double w, double h) void
void
getFont()
getImageData
(int sx, int sy, int sw, int sh) elemental2.core.JsArray
<Double> double
double
final boolean
isPointInPath
(double pathOrX, double xOrY) final boolean
isPointInPath
(double pathOrX, double xOrY, double yOrFillRule) final boolean
isPointInPath
(double pathOrX, double xOrY, double yOrFillRule, String fillRule) final boolean
isPointInPath
(double pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) final boolean
isPointInPath
(double pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) final boolean
isPointInPath
(double pathOrX, double xOrY, String yOrFillRule) final boolean
isPointInPath
(double pathOrX, double xOrY, String yOrFillRule, String fillRule) boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY) final boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, double yOrFillRule) final boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, double yOrFillRule, String fillRule) boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) final boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, String yOrFillRule) final boolean
isPointInPath
(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, String yOrFillRule, String fillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, double yOrFillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, double yOrFillRule, String fillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, String yOrFillRule) final boolean
isPointInPath
(Path2D pathOrX, double xOrY, String yOrFillRule, String fillRule) boolean
isPointInStroke
(double x, double y) void
lineTo
(double x, double y) measureText
(String text) void
moveTo
(double x, double y) void
putImageData
(ImageData imagedata, int dx, int dy) void
putImageData
(ImageData imagedata, int dx, int dy, int dirtyX) void
putImageData
(ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY) void
putImageData
(ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth) void
putImageData
(ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight) void
quadraticCurveTo
(double cpx, double cpy, double x, double y) void
rect
(double x, double y, double w, double h) void
void
restore()
void
rotate
(double angle) void
roundRect
(double x, double y, double w, double h) void
roundRect
(double x, double y, double w, double h, CanvasPathMethods.RoundRectRadiiUnionType radii) void
save()
void
scale
(double x, double y) void
Deprecated.final void
setFillColor
(double a) Deprecated.final void
setFillColor
(double a, double b) Deprecated.final void
setFillColor
(double a, double b, double c) Deprecated.final void
setFillColor
(double a, double b, double c, double d) Deprecated.final void
setFillColor
(double a, double b, double c, double d, double e) Deprecated.void
Deprecated.void
Deprecated.void
setFillColor
(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c) Deprecated.void
setFillColor
(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c, double d) Deprecated.void
setFillColor
(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c, double d, double e) Deprecated.final void
Deprecated.final void
setFillColor
(String a, double b) Deprecated.final void
setFillColor
(String a, double b, double c) Deprecated.final void
setFillColor
(String a, double b, double c, double d) Deprecated.final void
setFillColor
(String a, double b, double c, double d, double e) Deprecated.void
void
setLetterSpacing
(String letterSpacing) void
setLineCap
(String lineCap) void
setLineDash
(elemental2.core.JsArray<Double> segments) void
setLineJoin
(String lineJoin) void
setLineWidth
(double lineWidth) void
setMiterLimit
(double miterLimit) void
Deprecated.final void
setStrokeColor
(double a) Deprecated.final void
setStrokeColor
(double a, double b) Deprecated.final void
setStrokeColor
(double a, double b, double c) Deprecated.final void
setStrokeColor
(double a, double b, double c, double d) Deprecated.final void
setStrokeColor
(double a, double b, double c, double d, double e) Deprecated.void
Deprecated.void
Deprecated.void
setStrokeColor
(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c) Deprecated.void
setStrokeColor
(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c, double d) Deprecated.void
setStrokeColor
(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c, double d, double e) Deprecated.final void
Deprecated.final void
setStrokeColor
(String a, double b) Deprecated.final void
setStrokeColor
(String a, double b, double c) Deprecated.final void
setStrokeColor
(String a, double b, double c, double d) Deprecated.final void
setStrokeColor
(String a, double b, double c, double d, double e) Deprecated.void
setTextAlign
(String textAlign) void
setTextBaseline
(String textBaseline) final void
setTransform
(double m11OrMatrix) final void
setTransform
(double m11OrMatrix, double m12) final void
setTransform
(double m11OrMatrix, double m12, double m21) final void
setTransform
(double m11OrMatrix, double m12, double m21, double m22) final void
setTransform
(double m11OrMatrix, double m12, double m21, double m22, double dx) final void
setTransform
(double m11OrMatrix, double m12, double m21, double m22, double dx, double dy) void
void
setTransform
(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12) void
setTransform
(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21) void
setTransform
(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22) void
setTransform
(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22, double dx) void
setTransform
(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22, double dx, double dy) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix, double m12) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix, double m12, double m21) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22, double dx) final void
setTransform
(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22, double dx, double dy) void
stroke()
void
void
strokeRect
(double x, double y, double w, double h) void
strokeText
(String text, double x, double y) void
strokeText
(String text, double x, double y, double maxWidth) void
transform
(double m11, double m12, double m21, double m22, double dx, double dy) void
translate
(double x, double y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface elemental2.dom.CanvasDrawingStyles
setLineDash
Methods inherited from interface elemental2.dom.CanvasPathMethods
roundRect, roundRect, roundRect, roundRect
-
Field Details
-
canvas
-
direction
-
fillColor
-
fillStyle
-
filter
-
font
-
globalAlpha
public double globalAlpha -
globalCompositeOperation
-
imageSmoothingEnabled
public boolean imageSmoothingEnabled -
imageSmoothingQuality
-
letterSpacing
-
lineCap
-
lineDashOffset
public double lineDashOffset -
lineJoin
-
lineWidth
public double lineWidth -
miterLimit
public double miterLimit -
shadowBlur
public double shadowBlur -
shadowColor
-
shadowOffsetX
public double shadowOffsetX -
shadowOffsetY
public double shadowOffsetY -
strokeColor
-
strokeStyle
-
textAlign
-
textBaseline
-
-
Constructor Details
-
BaseRenderingContext2D
public BaseRenderingContext2D()
-
-
Method Details
-
arc
public void arc(double x, double y, double radius, double startAngle, double endAngle, boolean anticlockwise) - Specified by:
arc
in interfaceCanvasPathMethods
-
arc
public void arc(double x, double y, double radius, double startAngle, double endAngle) - Specified by:
arc
in interfaceCanvasPathMethods
-
arcTo
public void arcTo(double x1, double y1, double x2, double y2, double radius) - Specified by:
arcTo
in interfaceCanvasPathMethods
-
beginPath
public void beginPath() -
bezierCurveTo
public void bezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) - Specified by:
bezierCurveTo
in interfaceCanvasPathMethods
-
clearRect
public void clearRect(double x, double y, double w, double h) -
clip
public void clip() -
clip
public void clip(BaseRenderingContext2D.ClipOptFillRuleOrPathUnionType optFillRuleOrPath, String optFillRule) -
clip
-
clip
-
clip
-
clip
-
clip
-
closePath
public void closePath()- Specified by:
closePath
in interfaceCanvasPathMethods
-
createImageData
-
createLinearGradient
-
createPattern
public CanvasPattern createPattern(BaseRenderingContext2D.CreatePatternImageUnionType image, String repetition) -
createPattern
-
createPattern
-
createPattern
-
createPattern
-
createPattern
-
createRadialGradient
public CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1) -
drawFocusIfNeeded
-
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh, double sx) -
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw, double dh) -
drawImage
public void drawImage(BaseRenderingContext2D.DrawImageImageUnionType image, double dx, double dy, double dw) -
drawImage
-
drawImage
@JsOverlay public final void drawImage(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
@JsOverlay public final void drawImage(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
@JsOverlay public final void drawImage(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
@JsOverlay public final void drawImage(HTMLCanvasElement image, double dx, double dy, double dw, double dh, double sx) -
drawImage
@JsOverlay public final void drawImage(HTMLCanvasElement image, double dx, double dy, double dw, double dh) -
drawImage
-
drawImage
-
drawImage
@JsOverlay public final void drawImage(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
@JsOverlay public final void drawImage(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
@JsOverlay public final void drawImage(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
@JsOverlay public final void drawImage(HTMLImageElement image, double dx, double dy, double dw, double dh, double sx) -
drawImage
@JsOverlay public final void drawImage(HTMLImageElement image, double dx, double dy, double dw, double dh) -
drawImage
-
drawImage
-
drawImage
@JsOverlay public final void drawImage(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
@JsOverlay public final void drawImage(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
@JsOverlay public final void drawImage(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
@JsOverlay public final void drawImage(HTMLVideoElement image, double dx, double dy, double dw, double dh, double sx) -
drawImage
@JsOverlay public final void drawImage(HTMLVideoElement image, double dx, double dy, double dw, double dh) -
drawImage
-
drawImage
-
drawImage
@JsOverlay public final void drawImage(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
@JsOverlay public final void drawImage(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
@JsOverlay public final void drawImage(ImageBitmap image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
@JsOverlay public final void drawImage(ImageBitmap image, double dx, double dy, double dw, double dh, double sx) -
drawImage
@JsOverlay public final void drawImage(ImageBitmap image, double dx, double dy, double dw, double dh) -
drawImage
-
drawImage
-
drawImage
@JsOverlay public final void drawImage(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy, double sw, double sh) -
drawImage
@JsOverlay public final void drawImage(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy, double sw) -
drawImage
@JsOverlay public final void drawImage(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx, double sy) -
drawImage
@JsOverlay public final void drawImage(OffscreenCanvas image, double dx, double dy, double dw, double dh, double sx) -
drawImage
@JsOverlay public final void drawImage(OffscreenCanvas image, double dx, double dy, double dw, double dh) -
drawImage
-
drawImage
-
ellipse
public void ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, boolean anticlockwise) -
ellipse
public void ellipse(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle) -
fill
public void fill() -
fill
public void fill(BaseRenderingContext2D.FillOptFillRuleOrPathUnionType optFillRuleOrPath, String optFillRule) -
fill
-
fill
-
fill
-
fill
-
fill
-
fillRect
public void fillRect(double x, double y, double w, double h) -
fillText
-
fillText
-
getContextAttributes
-
getFont
- Specified by:
getFont
in interfaceCanvasDrawingStyles
-
getImageData
-
getLetterSpacing
- Specified by:
getLetterSpacing
in interfaceCanvasDrawingStyles
-
getLineCap
- Specified by:
getLineCap
in interfaceCanvasDrawingStyles
-
getLineDash
- Specified by:
getLineDash
in interfaceCanvasDrawingStyles
-
getLineJoin
- Specified by:
getLineJoin
in interfaceCanvasDrawingStyles
-
getLineWidth
@JsProperty public double getLineWidth()- Specified by:
getLineWidth
in interfaceCanvasDrawingStyles
-
getMiterLimit
@JsProperty public double getMiterLimit()- Specified by:
getMiterLimit
in interfaceCanvasDrawingStyles
-
getTextAlign
- Specified by:
getTextAlign
in interfaceCanvasDrawingStyles
-
getTextBaseline
- Specified by:
getTextBaseline
in interfaceCanvasDrawingStyles
-
getTransform
-
isPointInPath
public boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) -
isPointInPath
public boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, String yOrFillRule, String fillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, String yOrFillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, double yOrFillRule, String fillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY, double yOrFillRule) -
isPointInPath
public boolean isPointInPath(BaseRenderingContext2D.IsPointInPathPathOrXUnionType pathOrX, double xOrY) -
isPointInPath
@JsOverlay public final boolean isPointInPath(Path2D pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(Path2D pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) -
isPointInPath
-
isPointInPath
-
isPointInPath
-
isPointInPath
-
isPointInPath
-
isPointInPath
@JsOverlay public final boolean isPointInPath(double pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule, String fillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(double pathOrX, double xOrY, BaseRenderingContext2D.IsPointInPathYOrFillRuleUnionType yOrFillRule) -
isPointInPath
-
isPointInPath
-
isPointInPath
@JsOverlay public final boolean isPointInPath(double pathOrX, double xOrY, double yOrFillRule, String fillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(double pathOrX, double xOrY, double yOrFillRule) -
isPointInPath
@JsOverlay public final boolean isPointInPath(double pathOrX, double xOrY) -
isPointInStroke
public boolean isPointInStroke(double x, double y) -
lineTo
public void lineTo(double x, double y) - Specified by:
lineTo
in interfaceCanvasPathMethods
-
measureText
-
moveTo
public void moveTo(double x, double y) - Specified by:
moveTo
in interfaceCanvasPathMethods
-
putImageData
public void putImageData(ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight) -
putImageData
public void putImageData(ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth) -
putImageData
-
putImageData
-
putImageData
-
quadraticCurveTo
public void quadraticCurveTo(double cpx, double cpy, double x, double y) - Specified by:
quadraticCurveTo
in interfaceCanvasPathMethods
-
rect
public void rect(double x, double y, double w, double h) - Specified by:
rect
in interfaceCanvasPathMethods
-
resetTransform
public void resetTransform() -
restore
public void restore() -
rotate
public void rotate(double angle) -
roundRect
public void roundRect(double x, double y, double w, double h, CanvasPathMethods.RoundRectRadiiUnionType radii) - Specified by:
roundRect
in interfaceCanvasPathMethods
-
roundRect
public void roundRect(double x, double y, double w, double h) - Specified by:
roundRect
in interfaceCanvasPathMethods
-
save
public void save() -
scale
public void scale(double x, double y) -
setFillColor
Deprecated. -
setFillColor
@Deprecated public void setFillColor(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c, double d, double e) Deprecated. -
setFillColor
@Deprecated public void setFillColor(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c, double d) Deprecated. -
setFillColor
@Deprecated public void setFillColor(BaseRenderingContext2D.SetFillColorAUnionType a, double b, double c) Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
@JsOverlay @Deprecated public final void setFillColor(String a, double b, double c, double d, double e) Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
@JsOverlay @Deprecated public final void setFillColor(double a, double b, double c, double d, double e) Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFillColor
Deprecated. -
setFont
- Specified by:
setFont
in interfaceCanvasDrawingStyles
-
setLetterSpacing
- Specified by:
setLetterSpacing
in interfaceCanvasDrawingStyles
-
setLineCap
- Specified by:
setLineCap
in interfaceCanvasDrawingStyles
-
setLineDash
- Specified by:
setLineDash
in interfaceCanvasDrawingStyles
-
setLineJoin
- Specified by:
setLineJoin
in interfaceCanvasDrawingStyles
-
setLineWidth
@JsProperty public void setLineWidth(double lineWidth) - Specified by:
setLineWidth
in interfaceCanvasDrawingStyles
-
setMiterLimit
@JsProperty public void setMiterLimit(double miterLimit) - Specified by:
setMiterLimit
in interfaceCanvasDrawingStyles
-
setStrokeColor
Deprecated. -
setStrokeColor
@Deprecated public void setStrokeColor(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c, double d, double e) Deprecated. -
setStrokeColor
@Deprecated public void setStrokeColor(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c, double d) Deprecated. -
setStrokeColor
@Deprecated public void setStrokeColor(BaseRenderingContext2D.SetStrokeColorAUnionType a, double b, double c) Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
@JsOverlay @Deprecated public final void setStrokeColor(String a, double b, double c, double d, double e) Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
@JsOverlay @Deprecated public final void setStrokeColor(double a, double b, double c, double d, double e) Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setStrokeColor
Deprecated. -
setTextAlign
- Specified by:
setTextAlign
in interfaceCanvasDrawingStyles
-
setTextBaseline
- Specified by:
setTextBaseline
in interfaceCanvasDrawingStyles
-
setTransform
@JsOverlay public final void setTransform(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22, double dx, double dy) -
setTransform
@JsOverlay public final void setTransform(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22, double dx) -
setTransform
@JsOverlay public final void setTransform(DOMMatrixReadOnly m11OrMatrix, double m12, double m21, double m22) -
setTransform
-
setTransform
-
setTransform
-
setTransform
public void setTransform(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22, double dx, double dy) -
setTransform
public void setTransform(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22, double dx) -
setTransform
public void setTransform(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21, double m22) -
setTransform
public void setTransform(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12, double m21) -
setTransform
public void setTransform(BaseRenderingContext2D.SetTransformM11OrMatrixUnionType m11OrMatrix, double m12) -
setTransform
-
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix, double m12, double m21, double m22, double dx, double dy) -
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix, double m12, double m21, double m22, double dx) -
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix, double m12, double m21, double m22) -
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix, double m12, double m21) -
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix, double m12) -
setTransform
@JsOverlay public final void setTransform(double m11OrMatrix) -
stroke
public void stroke() -
stroke
-
strokeRect
public void strokeRect(double x, double y, double w, double h) -
strokeText
-
strokeText
-
transform
public void transform(double m11, double m12, double m21, double m22, double dx, double dy) -
translate
public void translate(double x, double y)
-