Results 21 - 40 of 72

CanvasRenderingContext2D.drawFocusIfNeeded()

The CanvasRenderingContext2D.drawFocusIfNeeded() method of the Canvas 2D API draws a focus ring around the current path or given path, If a given element is focused.
Accessibility API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.drawImage()

The CanvasRenderingContext2D.drawImage() method of the Canvas 2D API provides different ways to draw an image onto the canvas.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.drawWidgetAsOnScreen()

The non-standard and internal only CanvasRenderingContext2D.drawWidgetAsOnScreen() method of the Canvas 2D API renders the root widget of a window into the canvas. Unlike drawWindow(), this API uses the operating system to snapshot the widget on-screen, rather than reading from Gecko's own compositor.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.drawWindow()

The non-standard and internal only CanvasRenderingContext2D.drawWindow() method of the Canvas 2D API renders a region of a window into the canvas. The contents of the window's viewport are rendered, ignoring viewport clipping and scrolling.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.ellipse()

The CanvasRenderingContext2D.ellipse() method of the Canvas 2D API adds an ellipse to the path which is centered at (x, y) position with the radii radiusX and radiusY starting at startAngle and ending at endAngle going in the given direction by anticlockwise (defaulting to clockwise).
API Canvas CanvasRenderingContext2D Experimental Method

CanvasRenderingContext2D.fill()

The CanvasRenderingContext2D.fill() method of the Canvas 2D API fills the current or given path with the current fill style using the non-zero or even-odd winding rule.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.fillRect()

The CanvasRenderingContext2D.fillRect() method of the Canvas 2D API draws a filled rectangle at (x, y) position whose size is determined by width and height and whose style is determined by the fillStyle attribute.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.fillStyle

The CanvasRenderingContext2D.fillStyle property of the Canvas 2D API specifies the color or style to use inside shapes. The default is #000 (black).
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.fillText()

The CanvasRenderingContext2D.fillText() method of the Canvas 2D API fills a given text at the given (x, y) position. If the optional fourth parameter for a maximum width is provided, the text will be scaled to fit that width.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.filter

The CanvasRenderingContext2D.filter property of the Canvas 2D API provides filter effects like blurring or gray-scaling. It is similar to the CSS filter property and accepts the same functions.
API Canvas CanvasRenderingContext2D Experimental Property

CanvasRenderingContext2D.font

The CanvasRenderingContext2D.font property of the Canvas 2D API specifies the current text style being used when drawing text. This string uses the same syntax as the CSS font specifier. The default font is 10px sans-serif.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.getImageData()

The CanvasRenderingContext2D.getImageData() method of the Canvas 2D API returns an ImageData object representing the underlying pixel data for the area of the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh height.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.getLineDash()

The CanvasRenderingContext2D.getLineDash() method of the Canvas 2D API gets the current line dash pattern.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.globalAlpha

The CanvasRenderingContext2D.globalAlpha property of the Canvas 2D API specifies the alpha value that is applied to shapes and images before they are drawn onto the canvas. The value is in the range from 0.0 (fully transparent) to 1.0 (fully opaque).
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.isPointInPath()

The CanvasRenderingContext2D.isPointInPath() method of the Canvas 2D API reports whether or not the specified point is contained in the current path.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.isPointInStroke()

The CanvasRenderingContext2D.isPointInStroke() method of the Canvas 2D API reports whether or not the specified point is inside the area contained by the stroking of a path.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.lineCap

The CanvasRenderingContext2D.lineCap property of the Canvas 2D API determines how the end points of every line are drawn. There are three possible values for this property and those are: butt, round and square. By default this property is set to butt.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.lineDashOffset

The CanvasRenderingContext2D.lineDashOffset property of the Canvas 2D API sets the line dash pattern offset or "phase" to achieve a "marching ants" effect, for example.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.lineJoin

The CanvasRenderingContext2D.lineJoin property of the Canvas 2D API determines how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified endpoints and control points are exactly at the same position, are skipped).
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.lineTo()

The CanvasRenderingContext2D.lineTo() method of the Canvas 2D API connects the last point in the sub-path to the x, y coordinates with a straight line (but does not actually draw it).
API Canvas CanvasRenderingContext2D Method Reference Référence