API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.AreaPattern EGFBAccessors.AreaPattern Class Methods Name Description constructor(): EGFBAccessors.AreaPattern __init(i: number, bb: ByteBuffer): EGFBAccessors.AreaPattern angle1(): number angle2(): number color(): number defLine(index: number, obj?: EGFBAccessors.DwgHatchDefLine): | EGFBAccessors.DwgHatchDefLine defLineLength(): number invisibleBoundary(): number origin(obj?: EGFBAccessors.DPoint3d): | EGFBAccessors.DPoint3d rotation(obj?: EGFBAccessors.RotMatrix): | EGFBAccessors.RotMatrix scale(): number snappable(): number space1(): number space2(): number symbolId(): Long useColor(): number useWeight(): number weight(): number addAngle1(builder: Builder, angle1: number): void Static addAngle2(builder: Builder, angle2: number): void Static addColor(builder: Builder, color: number): void Static addDefLine(builder: Builder, defLineOffset: number): void Static addInvisibleBoundary(builder: Builder, invisibleBoundary: number): void Static addOrigin(builder: Builder, originOffset: number): void Static addRotation(builder: Builder, rotationOffset: number): void Static addScale(builder: Builder, scale: number): void Static addSnappable(builder: Builder, snappable: number): void Static addSpace1(builder: Builder, space1: number): void Static addSpace2(builder: Builder, space2: number): void Static addSymbolId(builder: Builder, symbolId: Long): void Static addUseColor(builder: Builder, useColor: number): void Static addUseWeight(builder: Builder, useWeight: number): void Static addWeight(builder: Builder, weight: number): void Static createAreaPattern(builder: Builder, originOffset: number, rotationOffset: number, space1: number, space2: number, angle1: number, angle2: number, scale: number, color: number, weight: number, useColor: number, useWeight: number, invisibleBoundary: number, snappable: number, symbolId: Long, defLineOffset: number): number Static createDefLineVector(builder: Builder, data: number[]): number Static endAreaPattern(builder: Builder): number Static getRootAsAreaPattern(bb: ByteBuffer, obj?: EGFBAccessors.AreaPattern): EGFBAccessors.AreaPattern Static getSizePrefixedRootAsAreaPattern(bb: ByteBuffer, obj?: EGFBAccessors.AreaPattern): EGFBAccessors.AreaPattern Static startAreaPattern(builder: Builder): void Static startDefLineVector(builder: Builder, numElems: number): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 3175 Last Updated: 11 June, 2024