Results 61 - 80 of 129

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

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