Methods
addToHidden(segment)
Add a segment to the hidden list.
Parameters:
Name | Type | Description |
---|---|---|
segment | MaskSegment | The segment to add. |
getAlphaFunc() → {alphaFn}
Get the alpha function to apply hidden colors.
Returns:
The corresponding alpha function.
- Type:
- alphaFn
isHidden(segmentNumber) → {boolean}
Check if a segment is in the hidden list.
Parameters:
Name | Type | Description |
---|---|---|
segmentNumber | number | The segment number. |
Returns:
True if the segment is in the list.
- Type:
- boolean
removeFromHidden(segmentNumber)
Remove a segment from the hidden list.
Parameters:
Name | Type | Description |
---|---|---|
segmentNumber | number | The segment number. |