Package | Description |
---|---|
com.sun.javafx.sg.prism | |
javafx.scene.canvas |
Provides the set of classes for canvas, an immediate mode style of rendering API.
|
Modifier and Type | Field and Description |
---|---|
(package private) GrowableDataBuffer |
NGCanvas.RenderInput.buf |
private GrowableDataBuffer |
NGCanvas.thebuf |
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.ref.WeakReference<GrowableDataBuffer> |
GrowableDataBuffer.WeakLink.bufref |
Modifier and Type | Method and Description |
---|---|
static GrowableDataBuffer |
GrowableDataBuffer.getBuffer(int minsize)
Retrieve a buffer with an initial byte-encoding capacity of at least
minsize bytes. |
static GrowableDataBuffer |
GrowableDataBuffer.getBuffer(int minvals,
int minobjs)
Retrieve a buffer with an initial byte-encoding capacity of at least
minvals bytes and an initial object buffer capacity of at
least minobjs Objects. |
Modifier and Type | Method and Description |
---|---|
void |
GrowableDataBuffer.append(GrowableDataBuffer gdb)
Appends the contents of both the byte and
Object buffers in
the indicated GrowableDataBuffer to this object. |
void |
NGCanvas.handleRenderOp(int token,
GrowableDataBuffer buf,
Graphics gr,
RectBounds bounds)
Calculate bounds and/or render one single rendering operation.
|
private void |
NGCanvas.renderStream(GrowableDataBuffer buf) |
static void |
GrowableDataBuffer.returnBuffer(GrowableDataBuffer retgdb)
Return the indicated
GrowableDataBuffer object to the pool
for reuse. |
boolean |
NGCanvas.updateRendering(GrowableDataBuffer buf) |
Constructor and Description |
---|
RenderInput(int token,
GrowableDataBuffer buf,
BaseTransform boundsTx,
RectBounds rb) |
Modifier and Type | Field and Description |
---|---|
private GrowableDataBuffer |
Canvas.current |
Modifier and Type | Method and Description |
---|---|
(package private) GrowableDataBuffer |
Canvas.getBuffer() |
private GrowableDataBuffer |
GraphicsContext.getBuffer() |
Modifier and Type | Method and Description |
---|---|
private void |
GraphicsContext.flushPolyBuf(GrowableDataBuffer buf,
float[] polybuf,
int n,
byte command) |
private void |
GraphicsContext.writeRectParams(GrowableDataBuffer buf,
double x,
double y,
double w,
double h,
byte command) |