Results 41 - 60 of 72

CanvasRenderingContext2D.lineWidth

The CanvasRenderingContext2D.lineWidth property of the Canvas 2D API sets the thickness of lines in space units. When getting, it returns the current value (1.0 by default). When setting, zero, negative, Infinity and NaN values are ignored; otherwise the current value is set to the new value.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.measureText()

The CanvasRenderingContext2D.measureText() method returns a TextMetrics object that contains information about the measured text (such as its width for example).
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.miterLimit

The CanvasRenderingContext2D.miterLimit property of the Canvas 2D API sets the miter limit ratio in space units. When getting, it returns the current value (10.0 by default). When setting, zero, negative, Infinity and NaN values are ignored; otherwise the current value is set to the new value.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.moveTo()

The CanvasRenderingContext2D.moveTo() method of the Canvas 2D API moves the starting point of a new sub-path to the (x, y) coordinates.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.putImageData()

The CanvasRenderingContext2D.putImageData() method of the Canvas 2D API paints data from the given ImageData object onto the bitmap. If a dirty rectangle is provided, only the pixels from that rectangle are painted.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.quadraticCurveTo()

The CanvasRenderingContext2D.quadraticCurveTo() method of the Canvas 2D API adds a quadratic Bézier curve to the path. It requires two points. The first point is a control point and the second one is the end point. The starting point is the last point in the current path, which can be changed using moveTo() before creating the quadratic Bézier curve.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.rect()

The CanvasRenderingContext2D.rect() method of the Canvas 2D API creates a path for a rectangle at position (x, y) with a size that is determined by width and height. Those four points are connected by straight lines and the sub-path is marked as closed, so that you can fill or stroke this rectangle.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.restore()

The CanvasRenderingContext2D.restore() method of the Canvas 2D API restores the most recently saved canvas state by popping the top entry in the drawing state stack. If there is no saved state, this method does nothing.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.rotate()

The CanvasRenderingContext2D.rotate() method of the Canvas 2D API adds a rotation to the transformation matrix. The angle argument represents a clockwise rotation angle and is expressed in radians.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.save()

The CanvasRenderingContext2D.save() method of the Canvas 2D API saves the entire state of the canvas by pushing the current state onto a stack.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.scale()

The CanvasRenderingContext2D.scale() method of the Canvas 2D API adds a scaling transformation to the canvas units by x horizontally and by y vertically.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.scrollPathIntoView()

The CanvasRenderingContext2D.scrollPathIntoView() method of the Canvas 2D API scrolls the current or given path into the view. It is similar to Element.scrollIntoView().
API Canvas CanvasRenderingContext2D Experimental Method Reference

CanvasRenderingContext2D.setLineDash()

The CanvasRenderingContext2D.setLineDash() method of the Canvas 2D API sets the line dash pattern.
API Canvas CanvasRenderingContext2D Method Reference

CanvasRenderingContext2D.setTransform()

The CanvasRenderingContext2D.setTransform() method of the Canvas 2D API resets (overrides) the current transformation to the identity matrix and then invokes a transformation described by the arguments of this method.
API Canvas CanvasRenderingContext2D Method Reference Référence

CanvasRenderingContext2D.shadowBlur

The CanvasRenderingContext2D.shadowBlur property of the Canvas 2D API specifies the level of the blurring effect; this value doesn't correspond to a number of pixels and is not affected by the current transformation matrix. The default value is 0.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.shadowColor

The CanvasRenderingContext2D.shadowColor property of the Canvas 2D API specifies the color of the shadow.
API Canvas CanvasRenderingContext2D Property Reference

CanvasRenderingContext2D.shadowOffsetX

The CanvasRenderingContext2D.shadowOffsetX property of the Canvas 2D API specifies the distance that the shadow will be offset in horizontal distance.
API Canvas CanvasRenderingContext2D Property Reference Référence

CanvasRenderingContext2D.shadowOffsetY

The CanvasRenderingContext2D.shadowOffsetY property of the Canvas 2D API specifies the distance that the shadow will be offset in vertical distance.
API Canvas CanvasRenderingContext2D Property Reference Référence

CanvasRenderingContext2D.stroke()

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

CanvasRenderingContext2D.strokeRect()

The CanvasRenderingContext2D.strokeRect() method of the Canvas 2D API paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style.
API Canvas CanvasRenderingContext2D Method Reference Référence