text stringlengths 0 8.81k |
|---|
Returns: |
A new canvas with the given text drawn into it. The dimensions object |
from measureText will also be added to the returned canvas. If text is |
blank, returns undefined. |
Type Definitions |
binarySearchComparator(a, b) → number |
engine/Source/Core/binarySearch.js 52 |
A function used to compare two items while performing a binary search. |
Name |
Type |
Description |
a |
* |
An item in the array. |
b |
* |
The item being searched for. |
Returns: |
Returns a negative value if a is less than b, |
a positive value if a is greater than b, or |
0 if a is equal to b. |
Example: |
function compareNumbers(a, b) { |
return a - b; |
} |
ContextOptions |
engine/Source/Renderer/Context.js 389 |
Options to control the setting up of a WebGL Context. |
allowTextureFilterAnisotropic defaults to true, which enables |
anisotropic texture filtering when the WebGL extension is supported. |
Setting this to false will improve performance, but hurt visual quality, |
especially for horizon views. |
Properties: |
Name |
Type |
Attributes |
Default |
Description |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.