CSSの優先度を示す値を取得または設定します。 デフォルト値はtrueです。指定されたcssクラスは、塗りつぶしやストロークなどの現在のエンジンのプロパティよりも優先されます。
beginRender(): void
ビューポートをクリアしてレンダリングサイクルを開始します。
drawDonutSegment(cx: number, cy: number, radius: number, innerRadius: number, startAngle: number, sweepAngle: number, className?: string, style?: any, clipPath?: string): void
ドーナツ円グラフセグメントを描画します。
X coordinate of the segment center.
Y coordinate of the segment center.
Outer radius of the segment.
Inner radius of the segment.
Start angle of the segment, in degrees.
Sweep angle of the segment, in degrees clockwise.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawEllipse(cx: number, cy: number, rx: number, ry: number, className?: string, style?: any): void
楕円を描画します。
X coordinate of the ellipse's center.
Y coordinate of the ellipse's center.
X radius (half of the ellipse's width).
Y radius (half of the ellipse's height).
Class name to be applied to the element.
Style object to be applied to the element.
drawImage(href: string, x: number, y: number, w: number, h: number): void
画像を描画します。
Url of the image to draw.
Left coordinate of the image's bounding rectangle.
Bottom coordinate of the image's bounding rectangle.
Image width.
Image height.
drawLine(x1: number, y1: number, x2: number, y2: number, className?: string, style?: any): void
線を描画します。
X coordinate of the first point.
Y coordinate of the first point.
X coordinate of the second point.
Y coordinate of the second point.
Class name to be applied to the element.
Style object to be applied to the element.
drawLines(xs: number[], ys: number[], className?: string, style?: any, clipPath?: string, num?: number): void
一連の線分を描画します。
Array of X coordinates.
Array of Y coordinates.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawPieSegment(cx: number, cy: number, radius: number, startAngle: number, sweepAngle: number, className?: string, style?: any, clipPath?: string): void
円グラフセグメントを描画します。
X coordinate of the segment center.
Y coordinate of the segment center.
Radius of the segment.
Start angle of the segment, in degrees.
Sweep angle of the segment, in degrees clockwise.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawPolygon(xs: number[], ys: number[], className?: string, style?: any, clipPath?: string): void
多角形を描画します。
Array of X coordinates.
Array of Y coordinates.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawRect(x: number, y: number, w: number, h: number, className?: string, style?: any, clipPath?: string): void
四角形を描画します。
Left of the rectangle.
Bottom of the rectangle.
Width of the rectangle.
Height of the rectangle.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawSplines(xs: number[], ys: number[], className?: string, style?: any, clipPath?: string, num?: number): void
一連のスプライン分(滑らかなパス)を描画します。
Array of X coordinates.
Array of Y coordinates.
Class name to be applied to the element.
Style object to be applied to the element.
Id of the path to use as a clipping path.
drawString(s: string, pt: Point, className?: string, style?: any): void
文字列を描画します。
String to be drawn.
Reference point for the string.
Class name to be applied to the element.
Style object to be applied to the element.
drawStringRotated(s: string, pt: Point, center: Point, angle: number, className?: string, style?: any): void
回転した文字列を描画します。
String to be drawn.
Reference point for rendering the string.
Reference point for rotating the string.
Rotation angle, in degrees, clockwise.
Class name to be applied to the element.
Style object to be applied to the element.
endGroup(): void
グループを終了します。
endRender(): void
レンダリングサイクルを完了します。
measureString(s: string, className?: string, groupName?: string, style?: any): Size
文字列を測定します。
String to be measured.
Class name to use when measuring the string.
Name of the group to use when measuring the string.
Style object to use when measuring the string.
startGroup(className?: string, clipPath?: string, createTransform?: boolean): void
グループを開始します。
Class name to apply to the new group.
Id of the path to use as a clipping path.
Whether to create a new transform for the group.
基本描画ルーチンを実行するレンダリングエンジンを表します。