API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.AreaFill EGFBAccessors.AreaFill Class Methods Name Description constructor(): EGFBAccessors.AreaFill __init(i: number, bb: ByteBuffer): EGFBAccessors.AreaFill angle(): number backgroundFill(): number color(): number colors(index: number): | number colorsArray(): | Uint32Array colorsLength(): number fill(): EGFBAccessors.FillDisplay flags(): number mode(): EGFBAccessors.GradientMode shift(): number thematicSettings(obj?: EGFBAccessors.ThematicSettings): | EGFBAccessors.ThematicSettings tint(): number transparency(): number useColor(): number values(index: number): | number valuesArray(): | Float64Array valuesLength(): number addAngle(builder: Builder, angle: number): void Static addBackgroundFill(builder: Builder, backgroundFill: number): void Static addColor(builder: Builder, color: number): void Static addColors(builder: Builder, colorsOffset: number): void Static addFill(builder: Builder, fill: EGFBAccessors.FillDisplay): void Static addFlags(builder: Builder, flags: number): void Static addMode(builder: Builder, mode: EGFBAccessors.GradientMode): void Static addShift(builder: Builder, shift: number): void Static addThematicSettings(builder: Builder, thematicSettingsOffset: number): void Static addTint(builder: Builder, tint: number): void Static addTransparency(builder: Builder, transparency: number): void Static addUseColor(builder: Builder, useColor: number): void Static addValues(builder: Builder, valuesOffset: number): void Static createAreaFill(builder: Builder, fill: EGFBAccessors.FillDisplay, color: number, useColor: number, backgroundFill: number, transparency: number, mode: EGFBAccessors.GradientMode, flags: number, angle: number, tint: number, shift: number, colorsOffset: number, valuesOffset: number, thematicSettingsOffset: number): number Static createColorsVector(builder: Builder, data: number[] | Uint8Array): number Static createValuesVector(builder: Builder, data: number[] | Uint8Array): number Static endAreaFill(builder: Builder): number Static getRootAsAreaFill(bb: ByteBuffer, obj?: EGFBAccessors.AreaFill): EGFBAccessors.AreaFill Static getSizePrefixedRootAsAreaFill(bb: ByteBuffer, obj?: EGFBAccessors.AreaFill): EGFBAccessors.AreaFill Static startAreaFill(builder: Builder): void Static startColorsVector(builder: Builder, numElems: number): void Static startValuesVector(builder: Builder, numElems: number): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 2651 Last Updated: 12 June, 2024