WebglPolar
Hierarchy
↳ WebglPolar
Index
Constructors
Properties
- color
- coord
- intenisty
- intensity
- loop
- numPoints
- offsetTheta
- offsetX
- offsetY
- scaleX
- scaleY
- visible
- webglNumPoints
- xy
Methods
Constructors
constructor
+ new WebglPolar(c
: ColorRGBA, numPoints
: number): WebglPolar
Overrides WebglBaseLine.constructor
Defined in src/WbglPolar.ts:11
Parameters:
Name | Type |
---|---|
c | ColorRGBA |
numPoints | number |
Returns: WebglPolar
Properties
color
• color: ColorRGBA
Overrides WebglBaseLine.color
Defined in src/WbglPolar.ts:7
coord
• coord: number
Defined in src/WbglPolar.ts:10
intenisty
• intenisty: number
Defined in src/WbglPolar.ts:8
intensity
• intensity: number
Inherited from WebglBaseLine.intensity
Defined in src/WebglBaseLine.ts:7
loop
• loop: boolean
Inherited from WebglBaseLine.loop
Defined in src/WebglBaseLine.ts:54
if this is a close loop line or not
default
= false
numPoints
• numPoints: number
Overrides WebglBaseLine.numPoints
Defined in src/WbglPolar.ts:5
offsetTheta
• offsetTheta: number
Defined in src/WbglPolar.ts:11
offsetX
• offsetX: number
Inherited from WebglBaseLine.offsetX
Defined in src/WebglBaseLine.ts:42
The horixontal offset of the line
default
= 0
offsetY
• offsetY: number
Inherited from WebglBaseLine.offsetY
Defined in src/WebglBaseLine.ts:48
the vertical offset of the line
default
= 0
scaleX
• scaleX: number
Inherited from WebglBaseLine.scaleX
Defined in src/WebglBaseLine.ts:30
The horizontal scale of the line
default
= 1
scaleY
• scaleY: number
Inherited from WebglBaseLine.scaleY
Defined in src/WebglBaseLine.ts:36
The vertical sclae of the line
default
= 1
visible
• visible: boolean
Overrides WebglBaseLine.visible
Defined in src/WbglPolar.ts:9
webglNumPoints
• webglNumPoints: number
Inherited from WebglBaseLine.webglNumPoints
Defined in src/WebglBaseLine.ts:60
total webgl number of points
internal
xy
• xy: Float32Array
Overrides WebglBaseLine.xy
Defined in src/WbglPolar.ts:6
Methods
getR
â–¸ getR(index
: number): number
Defined in src/WbglPolar.ts:47
Parameters:
Name | Type |
---|---|
index | number |
Returns: number
getTheta
â–¸ getTheta(index
: number): number
Defined in src/WbglPolar.ts:42
Parameters:
Name | Type |
---|---|
index | number |
Returns: number
getX
â–¸ getX(index
: number): number
Defined in src/WbglPolar.ts:60
Parameters:
Name | Type |
---|---|
index | number |
Returns: number
getY
â–¸ getY(index
: number): number
Defined in src/WbglPolar.ts:64
Parameters:
Name | Type |
---|---|
index | number |
Returns: number
setRtheta
â–¸ setRtheta(index
: number, theta
: number, r
: number): void
Defined in src/WbglPolar.ts:32
Parameters:
Name | Type | Description |
---|---|---|
index | number | - |
theta | number | : angle in deg |
r | number | : radius |
Returns: void