@Equality public interface MultiPointScribe
Note that this is not a FunctionalInterface
,
since instances need in general to implement
Equality
.
Modifier and Type | Method and Description |
---|---|
Glyph |
createGlyph(int[] xoffs,
int[] yoffs)
Returns a glyph representing the this object's rendering of
a given offset array.
|
Glyph createGlyph(int[] xoffs, int[] yoffs)
A common usage is for error bars; in this case there are typically (2*N) offsets, representing errors in N dimensions. Error bars come in consecutive pairs which describe error bars along the same axis in different directions. Missing error bars are represented as (0,0). The values must come in axis order where that makes sense, but note in some contexts (e.g. 3D) these may be data axes rather than graphics plane axes.
This method is quite likely to get called from time to time with ridiculously large offset arrays. Implementations should try to ensure that they don't attempt graphics operations which may cause the graphics system undue grief, such as filling an ellipse the size of a village.
xoffs
- X coordinates of point offsetsyoffs
- Y coordinates of point offsetsCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.