| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | clearQuad(float x1, float y1, float x2, float y2)
Clears the region represented by the given quad with transparent pixels. |
| public void | |
| public default void | drawColorGlyph(GlyphList gl, FontStrike strike, float x, float y, Color selectColor, int selectStart, int selectEnd)
|
| public void | |
| public void | |
| public void | drawMappedTextureRaw(Texture tex, float dx1, float dy1, float dx2, float dy2, float tx11, float ty11, float tx21, float ty21, float tx12, float ty12, float tx22, float ty22)
|
| public void | |
| public void | |
| public void | drawString(GlyphList gl, FontStrike strike, float x, float y, Color selectColor, int selectStart, int selectEnd)
|
| public void | |
| public void | drawTexture(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2)
|
| public void | drawTexture3SliceH(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dh1, float dh2, float sh1, float sh2)
|
| public void | drawTexture3SliceV(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dv1, float dv2, float sv1, float sv2)
|
| public void | drawTexture9Slice(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dh1, float dv1, float dh2, float dv2, float sh1, float sv1, float sh2, float sv2)
|
| public void | drawTextureRaw(Texture tex, float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2)
|
| public void | drawTextureVO(Texture tex, float topopacity, float botopacity, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2)
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Screen | |
| public NGCamera | |
| public Rectangle | |
| public int | |
| public Rectangle | |
| public CompositeMode | |
| public float | |
| public RectBounds | |
| public NGLightBase[] | |
| public Paint | |
| public float | |
| public float | |
| public NodePath | |
| public RenderTarget | |
| public ResourceFactory | |
| public BasicStroke | |
| public BaseTransform | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setNodeBounds(RectBounds
should not include node transform bounds)Set the node bounds for any node that would like to render objects of a different size to self. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setTransform3D(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt)
|
| public void | |
| public void | sync()
Synchronize, or flush, any outstanding rendering operations to the destination in preparation for some caller potentially reusing or disposing a resource that has been used as the source of a recently invoked rendering operation. |
| public void | |
| public void | |
| public void |
| blit | back to summary |
|---|---|
| public void blit(RTTexture srcTex, RTTexture dstTex, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1) | |
| clear | back to summary |
|---|---|
| public void clear() Clears the current
This is equivalent to calling:
| |
| clear | back to summary |
|---|---|
| public void clear(Color color) Clears the current | |
| clearQuad | back to summary |
|---|---|
| public void clearQuad(float x1, float y1, float x2, float y2) Clears the region represented by the given quad with transparent pixels.
Note that this operation is affected by the current clip rectangle,
if set, as well as the current transform (the quad is specified in
user space). Also note that unlike the | |
| draw | back to summary |
|---|---|
| public void draw(Shape shape) | |
| drawColorGlyph | back to summary |
|---|---|
| public default void drawColorGlyph(GlyphList gl, FontStrike strike, float x, float y, Color selectColor, int selectStart, int selectEnd) | |
| drawEllipse | back to summary |
|---|---|
| public void drawEllipse(float x, float y, float width, float height) | |
| drawLine | back to summary |
|---|---|
| public void drawLine(float x1, float y1, float x2, float y2) | |
| drawMappedTextureRaw | back to summary |
|---|---|
| public void drawMappedTextureRaw(Texture tex, float dx1, float dy1, float dx2, float dy2, float tx11, float ty11, float tx21, float ty21, float tx12, float ty12, float tx22, float ty22) | |
| drawRect | back to summary |
|---|---|
| public void drawRect(float x, float y, float width, float height) | |
| drawRoundRect | back to summary |
|---|---|
| public void drawRoundRect(float x, float y, float width, float height, float arcw, float arch) | |
| drawString | back to summary |
|---|---|
| public void drawString(GlyphList gl, FontStrike strike, float x, float y, Color selectColor, int selectStart, int selectEnd) | |
| drawTexture | back to summary |
|---|---|
| public void drawTexture(Texture tex, float x, float y, float w, float h) | |
| drawTexture | back to summary |
|---|---|
| public void drawTexture(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2) | |
| drawTexture3SliceH | back to summary |
|---|---|
| public void drawTexture3SliceH(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dh1, float dh2, float sh1, float sh2) | |
| drawTexture3SliceV | back to summary |
|---|---|
| public void drawTexture3SliceV(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dv1, float dv2, float sv1, float sv2) | |
| drawTexture9Slice | back to summary |
|---|---|
| public void drawTexture9Slice(Texture tex, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2, float dh1, float dv1, float dh2, float dv2, float sh1, float sv1, float sh2, float sv2) | |
| drawTextureRaw | back to summary |
|---|---|
| public void drawTextureRaw(Texture tex, float dx1, float dy1, float dx2, float dy2, float tx1, float ty1, float tx2, float ty2) | |
| drawTextureVO | back to summary |
|---|---|
| public void drawTextureVO(Texture tex, float topopacity, float botopacity, float dx1, float dy1, float dx2, float dy2, float sx1, float sy1, float sx2, float sy2) | |
| fill | back to summary |
|---|---|
| public void fill(Shape shape) | |
| fillEllipse | back to summary |
|---|---|
| public void fillEllipse(float x, float y, float width, float height) | |
| fillQuad | back to summary |
|---|---|
| public void fillQuad(float x1, float y1, float x2, float y2) | |
| fillRect | back to summary |
|---|---|
| public void fillRect(float x, float y, float width, float height) | |
| fillRoundRect | back to summary |
|---|---|
| public void fillRoundRect(float x, float y, float width, float height, float arcw, float arch) | |
| getAssociatedScreen | back to summary |
|---|---|
| public Screen getAssociatedScreen() | |
| getCameraNoClone | back to summary |
|---|---|
| public NGCamera getCameraNoClone() | |
| getClipRect | back to summary |
|---|---|
| public Rectangle getClipRect() | |
| getClipRectIndex | back to summary |
|---|---|
| public int getClipRectIndex() | |
| getClipRectNoClone | back to summary |
|---|---|
| public Rectangle getClipRectNoClone() | |
| getCompositeMode | back to summary |
|---|---|
| public CompositeMode getCompositeMode() | |
| getExtraAlpha | back to summary |
|---|---|
| public float getExtraAlpha() | |
| getFinalClipNoClone | back to summary |
|---|---|
| public RectBounds getFinalClipNoClone() | |
| getLights | back to summary |
|---|---|
| public NGLightBase[] getLights() | |
| getPaint | back to summary |
|---|---|
| public Paint getPaint() | |
| getPixelScaleFactorX | back to summary |
|---|---|
| public float getPixelScaleFactorX() | |
| getPixelScaleFactorY | back to summary |
|---|---|
| public float getPixelScaleFactorY() | |
| getRenderRoot | back to summary |
|---|---|
| public NodePath getRenderRoot() | |
| getRenderTarget | back to summary |
|---|---|
| public RenderTarget getRenderTarget() | |
| getResourceFactory | back to summary |
|---|---|
| public ResourceFactory getResourceFactory() | |
| getStroke | back to summary |
|---|---|
| public BasicStroke getStroke() | |
| getTransformNoClone | back to summary |
|---|---|
| public BaseTransform getTransformNoClone() | |
| hasPreCullingBits | back to summary |
|---|---|
| public boolean hasPreCullingBits() | |
| isAlphaTestShader | back to summary |
|---|---|
| public boolean isAlphaTestShader() | |
| isAntialiasedShape | back to summary |
|---|---|
| public boolean isAntialiasedShape() | |
| isDepthBuffer | back to summary |
|---|---|
| public boolean isDepthBuffer() | |
| isDepthTest | back to summary |
|---|---|
| public boolean isDepthTest() | |
| isState3D | back to summary |
|---|---|
| public boolean isState3D() | |
| scale | back to summary |
|---|---|
| public void scale(float sx, float sy) | |
| scale | back to summary |
|---|---|
| public void scale(float sx, float sy, float sz) | |
| setAntialiasedShape | back to summary |
|---|---|
| public void setAntialiasedShape(boolean aa) | |
| setCamera | back to summary |
|---|---|
| public void setCamera(NGCamera camera) | |
| setClipRect | back to summary |
|---|---|
| public void setClipRect(Rectangle clipRect) | |
| setClipRectIndex | back to summary |
|---|---|
| public void setClipRectIndex(int index) | |
| setCompositeMode | back to summary |
|---|---|
| public void setCompositeMode(CompositeMode mode) | |
| setDepthBuffer | back to summary |
|---|---|
| public void setDepthBuffer(boolean depthBuffer) | |
| setDepthTest | back to summary |
|---|---|
| public void setDepthTest(boolean depthTest) | |
| setExtraAlpha | back to summary |
|---|---|
| public void setExtraAlpha(float extraAlpha) | |
| setHasPreCullingBits | back to summary |
|---|---|
| public void setHasPreCullingBits(boolean hasBits) | |
| setLights | back to summary |
|---|---|
| public void setLights(NGLightBase[] lights) | |
| setNodeBounds | back to summary |
|---|---|
| public void setNodeBounds(RectBounds bounds) Set the node bounds for any node that would like to render objects of a different size to self. This is useful for proportional paints, where by definition proportional paint should be stretched across node bounds to which it has been applied. In most cases nodes/shapes are rendered in a single draw call, and if needed bounds can be determined by inspecting object to be drawn. However not all nodes are so simple, NGText for example can have hundreds of Graphics.drawString(...), draw(...), and fill(...) calls per a single NGText.renderContent(). Use: Before making several draw calls from a single node, setNodeBounds(bounds), when complete invalidate nodeBounds by setNodeBounds(null).
| |
| setPaint | back to summary |
|---|---|
| public void setPaint(Paint paint) | |
| setPerspectiveTransform | back to summary |
|---|---|
| public void setPerspectiveTransform(GeneralTransform3D perspectiveTransform) | |
| setPixelScaleFactors | back to summary |
|---|---|
| public void setPixelScaleFactors(float pixelScaleX, float pixelScaleY) | |
| setRenderRoot | back to summary |
|---|---|
| public void setRenderRoot(NodePath root) | |
| setState3D | back to summary |
|---|---|
| public void setState3D(boolean flag) | |
| setStroke | back to summary |
|---|---|
| public void setStroke(BasicStroke stroke) | |
| setTransform | back to summary |
|---|---|
| public void setTransform(BaseTransform xform) | |
| setTransform | back to summary |
|---|---|
| public void setTransform(double m00, double m10, double m01, double m11, double m02, double m12) | |
| setTransform3D | back to summary |
|---|---|
| public void setTransform3D(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt) | |
| setup3DRendering | back to summary |
|---|---|
| public void setup3DRendering() | |
| sync | back to summary |
|---|---|
| public void sync() Synchronize, or flush, any outstanding rendering operations to the
destination in preparation for some caller potentially reusing or
disposing a resource that has been used as the source of a recently
invoked rendering operation.
This method does not (yet?) guarantee that the actual pixels in the
destination will be updated - it simply guarantees that no currently
buffered rendering will depend on any texture data included by
reference. The typical usage is before a | |
| transform | back to summary |
|---|---|
| public void transform(BaseTransform xform) | |
| translate | back to summary |
|---|---|
| public void translate(float tx, float ty) | |
| translate | back to summary |
|---|---|
| public void translate(float tx, float ty, float tz) | |