public java.lang.Object[] | getBaseValue()Returns the BaseValue as an array of objects. The dimensions of the
returned value depend on the number of components in the trait. There are
as many values as there are 'components' in the value. For example,
a stroke-dash array trait value has as many components as there are dask
lengths in the value. An SVGMatrix trait has six components.
A coordinate trait has a single component.
Then each object value can be a String or a float array. In the case of
float arrays, each float array has as many entries as there are
dimensions in the component value. For example, each stroke-dash array
component has only one entry, because there is only on dimension for each
dash or gap length. An RGB trait has 3 dimensions (one for r, one for g
and one for b).
The following table summarizes the trait types and their number of
components and dimensions:
| Trait Type |
# components |
# dimensions |
String |
1 |
NA |
Number |
1 |
1 |
Length/Coordinate |
1 |
1 |
List of XXX |
Number of entries in the list |
Same number of components as list entries. |
Angle |
1 |
1 |
Color |
1 |
3 |
transform list |
1 |
6 |
URI |
NA |
NA |
|