# クラス: ArcElement

# 階層

# コンストラクタ

# コンストラクタ

new ArcElement(cfg)

# パラメータ

名前
cfg any

# オーバーライド

Element<ArcProps, ArcOptions&gt;.constructor

# 定義元

elements/element.arc.ts:298 (新しいウィンドウで開く)

# プロパティ

# $animations

$animations: Record<keyof ArcProps, Animation>

# 継承元

Element.$animations

# 定義元

core/core.element.ts:15 (新しいウィンドウで開く)


# active

active: boolean = false

# 継承元

Element.active

# 定義元

core/core.element.ts:13 (新しいウィンドウで開く)


# circumference

circumference: number

# 定義元

elements/element.arc.ts:290 (新しいウィンドウで開く)


# endAngle

endAngle: number

# 定義元

elements/element.arc.ts:291 (新しいウィンドウで開く)


# fullCircles

fullCircles: number

# 定義元

elements/element.arc.ts:292 (新しいウィンドウで開く)


# innerRadius

innerRadius: number

# 定義元

elements/element.arc.ts:293 (新しいウィンドウで開く)


# options

options: ArcOptions

# 継承元

Element.options

# 定義元

core/core.element.ts:14 (新しいウィンドウで開く)


# outerRadius

outerRadius: number

# 定義元

elements/element.arc.ts:294 (新しいウィンドウで開く)


# pixelMargin

pixelMargin: number

# 定義元

elements/element.arc.ts:295 (新しいウィンドウで開く)


# startAngle

startAngle: number

# 定義元

elements/element.arc.ts:296 (新しいウィンドウで開く)


# x

x: number

# 継承元

Element.x

# 定義元

core/core.element.ts:11 (新しいウィンドウで開く)


# y

y: number

# 継承元

Element.y

# 定義元

core/core.element.ts:12 (新しいウィンドウで開く)


# defaultRoutes

Static defaultRoutes: Object

# 型定義

名前
backgroundColor string

# オーバーライド

Element.defaultRoutes

# 定義場所

elements/element.arc.ts:281 (新しいウィンドウで開きます)


# デフォルト値

Static defaults: Object

# 型定義

名前
angle any
borderAlign string
borderColor string
borderDash any[]
borderDashOffset number
borderJoinStyle any
borderRadius number
borderWidth number
circular boolean
offset number
spacing number

# オーバーライド

Element.defaults

# 定義場所

elements/element.arc.ts:267 (新しいウィンドウで開きます)


# ディスクリプタ

Static descriptors: Object

# 型定義

名前
_indexable (name: any) => boolean
_scriptable boolean

# 定義場所

elements/element.arc.ts:285 (新しいウィンドウで開きます)


# id

Static id: string = 'arc'

# 定義場所

elements/element.arc.ts:265 (新しいウィンドウで開きます)

# メソッド

# draw

draw(ctx): void

# パラメータ

名前
ctx CanvasRenderingContext2D

# 戻り値

void

# 定義場所

elements/element.arc.ts:355 (新しいウィンドウで開きます)


# getCenterPoint

getCenterPoint(useFinalPosition): Object

# パラメータ

名前
useFinalPosition boolean

# 戻り値

Object

名前
x number
y number

# 定義場所

elements/element.arc.ts:333 (新しいウィンドウで開きます)


# getProps

getProps<P>(props, final?): Pick<ArcProps, P[number]>

各プロパティの現在値または最終値を取得します。(オブジェクト全体として)追加のプロパティを返すことができます。

# 型パラメータ

名前
P extends keyof ArcProps[]

# パラメータ

名前 説明
props P 取得するプロパティ
final? boolean 最終値(アニメーションのターゲット)を取得します。

# 戻り値

Pick<ArcProps, P[number]>

# 継承元

Element.getProps

# 定義場所

core/core.element.ts:31 (新しいウィンドウで開きます)

getProps<P>(props, final?): Partial<Record<P, unknown>>

# 型パラメータ

名前
P extends string

# パラメータ

名前
props P[]
final? boolean

# 戻り値

Partial<Record<P, unknown>>

# 継承元

Element.getProps

# 定義場所

core/core.element.ts:32 (新しいウィンドウで開きます)


# hasValue

hasValue(): boolean

# 戻り値

boolean

# 継承元

Element.hasValue

# 定義場所

core/core.element.ts:22 (新しいウィンドウで開きます)


# inRange

inRange(chartX, chartY, useFinalPosition): boolean

# パラメータ

名前
chartX number
chartY number
useFinalPosition boolean

# 戻り値

boolean

boolean

# 定義場所


# tooltipPosition

tooltipPosition(useFinalPosition): Object

# パラメータ

名前
useFinalPosition boolean

# 戻り値

Object

名前
x number
y number

Object

# オーバーライド

Element.tooltipPosition

elements/element.arc.ts:351 (新しいウィンドウで開きます)