AreaPattern.Params Class
Defines a hatch, cross hatch, or area pattern.
Methods
Name | Description | |
---|---|---|
constructor(): AreaPattern.Params | ||
applyTransform(transform: Transform): boolean | ||
clone(): AreaPattern.Params | ||
equals(other: AreaPattern.Params): boolean | ||
toJSON(): AreaPattern.ParamsProps | ||
fromJSON(json?: AreaPattern.ParamsProps): AreaPattern.Params Static | create an AreaPattern.Params from a json object. | |
getTransformPatternScale(transform: Transform): number Static | ||
transformPatternSpace(transform: Transform, oldSpace: number, patRot: Matrix3d, angle?: Angle): number Static |
Properties
Name | Type | Description | |
---|---|---|---|
angle1 | Angle | undefined | ||
angle2 | Angle | undefined | ||
color | ColorDef | undefined | ||
defLines | AreaPattern.HatchDefLine[] | undefined | ||
invisibleBoundary | boolean | undefined | ||
origin | Point3d | undefined | ||
rotation | YawPitchRollAngles | undefined | ||
scale | number | undefined | ||
snappable | boolean | undefined | ||
space1 | number | undefined | ||
space2 | number | undefined | ||
symbolId | string | undefined | ||
weight | number | undefined |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.