|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rect2i | |
---|---|
net.ctdp.rfdynhud.render | |
net.ctdp.rfdynhud.widgets.base.widget | |
org.openmali.types.twodee |
Uses of Rect2i in net.ctdp.rfdynhud.render |
---|
Fields in net.ctdp.rfdynhud.render declared as Rect2i | |
---|---|
Rect2i |
DrawnString.clearRect
|
Methods in net.ctdp.rfdynhud.render with type parameters of type Rect2i | ||
---|---|---|
|
TextureImage2D.clampToClipRect(Rect2i_ rect)
Clamps the given rect to the current effective clip rect. |
|
|
Texture2DCanvas.getClip(Rect2i_ rect)
|
|
|
TextureImage2D.getClipRect(Rect2i_ rect)
Gets the currently used clip-rect. |
|
|
TextureImage2D.markDirty(int x,
int y,
int width,
int height,
Rect2i_ dirtyRect)
Marks a portion of the image component as dirty. |
|
|
TextureImage2D.markDirty(Rect2i r,
Rect2i_ dirtyRect)
Marks a portion of the image component as dirty. |
Methods in net.ctdp.rfdynhud.render that return Rect2i | |
---|---|
Rect2i |
Texture2DCanvas.getClipBounds(Rect2i rect)
|
Rect2i |
TransformableTexture.getClipRect(Rect2i r)
|
Rect2i |
Texture2DCanvas.getClipRect2i()
|
Rect2i |
TransformableTexture.getTransformedRectForEditor(java.awt.geom.AffineTransform at)
|
Methods in net.ctdp.rfdynhud.render with parameters of type Rect2i | ||
---|---|---|
void |
TextureImage2D.clear(boolean markDirty,
Rect2i dirtyRect)
Clears the whole (used part of the) texture with a black-transparent color. |
|
void |
TextureImage2D.clear(java.awt.Color color,
boolean markDirty,
Rect2i dirtyRect)
Clears the whole (used part of the) texture with the specified color. |
|
void |
TextureImage2D.clear(java.awt.Color color,
int offsetX,
int offsetY,
int width,
int height,
boolean markDirty,
Rect2i dirtyRect)
Clears the given rectangle with the specified color. |
|
void |
TextureImage2D.clear(int offsetX,
int offsetY,
int width,
int height,
boolean markDirty,
Rect2i dirtyRect)
Clears the given rectangle with a black-transparent color. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
int trgX,
int trgY,
int trgWidth,
int trgHeight,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int trgX,
int trgY,
int trgWidth,
int trgHeight,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clear(TextureImage2D srcTI,
Rect2i srcRect,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and simply overwrites anything. |
|
void |
TextureImage2D.clearOutline(java.awt.Color color,
int offsetX,
int offsetY,
int width,
int height,
int lineWidth,
boolean markDirty,
Rect2i dirtyRect)
Clears the given rectangle's outline with the specified color. |
|
void |
TextureImage2D.clearPixelLine(byte[] pixels,
int startX,
int startY,
int length,
boolean markDirty,
Rect2i dirtyRect)
Clears a horizontal line of pixels. |
|
void |
Texture2DCanvas.clearRect(Rect2i rect)
|
|
void |
Texture2DCanvas.clip(Rect2i rect)
|
|
void |
Texture2DCanvas.copyArea(Rect2i rect,
int dx,
int dy)
|
|
void |
TextureImage2D.copyImageDataFrom(java.awt.image.BufferedImage srcImage,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int trgX,
int trgY,
int trgWidth,
int trgHeight,
boolean overwrite,
boolean markDirty,
Rect2i dirtyRect)
|
|
void |
TextureImage2D.drawImage(TextureImage2D srcTI,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and honors the alpha channels (if any). |
|
void |
TextureImage2D.drawImage(TextureImage2D srcTI,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and honors the alpha channels (if any). |
|
void |
TextureImage2D.drawImage(TextureImage2D srcTI,
int srcX,
int srcY,
int srcWidth,
int srcHeight,
int trgX,
int trgY,
int trgWidth,
int trgHeight,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and honors the alpha channels (if any). |
|
void |
TextureImage2D.drawImage(TextureImage2D srcTI,
Rect2i srcRect,
int trgX,
int trgY,
boolean markDirty,
Rect2i dirtyRect)
Draws the given TextureImage2D onto this one and honors the alpha channels (if any). |
|
void |
TransformableTexture.drawInEditor(java.awt.Graphics2D texCanvas,
java.awt.geom.AffineTransform at,
Rect2i transformedRect)
|
|
void |
TextureImage2D.drawPixelLine(byte[] pixels,
int startX,
int startY,
int length,
boolean markDirty,
Rect2i dirtyRect)
Draws a horizontal line of pixels and combines alpha channels if necessary. |
|
void |
Texture2DCanvas.drawRect(Rect2i rect)
|
|
void |
Texture2DCanvas.drawRoundRect(Rect2i rect,
int arcWidth,
int arcHeight)
|
|
void |
Texture2DCanvas.drawString(java.lang.String s,
int x,
int y,
int baselineOffset,
int boundsWidth,
int boundsHeight,
boolean markDirty,
Rect2i dirtyRect)
|
|
void |
Texture2DCanvas.drawString(java.lang.String s,
int x,
int y,
java.awt.geom.Rectangle2D bounds,
boolean markDirty,
Rect2i dirtyRect)
|
|
void |
TextureImage2D.drawString(java.lang.String s,
int x,
int y,
java.awt.geom.Rectangle2D bounds,
java.awt.Font font,
boolean antiAliased,
java.awt.Color color,
boolean markDirty,
Rect2i dirtyRect)
Draws a String at the specified location. |
|
void |
Texture2DCanvas.drawString(java.lang.String s,
int x,
int y,
java.awt.geom.Rectangle2D bounds,
java.awt.Font font,
boolean antiAliased,
java.awt.Color color,
boolean markDirty,
Rect2i dirtyRect)
|
|
void |
TextureImage2D.drawString(java.lang.String s,
int x,
int y,
java.awt.geom.Rectangle2D bounds,
java.awt.Font font,
boolean antiAliased,
java.awt.Color color,
TextureImage2D.TextDirection direction,
boolean markDirty,
Rect2i dirtyRect)
Draws a String at the specified location. |
|
void |
TextureImage2D.fillFullRectangle(java.awt.Color color,
boolean markDirty,
Rect2i dirtyRect)
Fills the complete (used part of the) texture with the specified color and combines alpha channels if necessary. |
|
void |
Texture2DCanvas.fillRect(Rect2i rect)
|
|
void |
TextureImage2D.fillRectangle(java.awt.Color color,
int offsetX,
int offsetY,
int width,
int height,
boolean markDirty,
Rect2i dirtyRect)
Fills the given rectangle with the specified color and combines alpha channels if necessary. |
|
void |
Texture2DCanvas.fillRoundRect(Rect2i rect,
int arcWidth,
int arcHeight)
|
|
Rect2i |
Texture2DCanvas.getClipBounds(Rect2i rect)
|
|
Rect2i |
TransformableTexture.getClipRect(Rect2i r)
|
|
protected void |
TextureImage2D.markDirty(int x,
int y,
int width,
int height,
boolean clampClip,
boolean validate,
Rect2i dirtyRect)
|
|
|
TextureImage2D.markDirty(Rect2i r,
Rect2i_ dirtyRect)
Marks a portion of the image component as dirty. |
|
void |
Texture2DCanvas.pushClip(Rect2i rect)
|
|
void |
Texture2DCanvas.pushClip(Rect2i rect,
boolean intersectWithCurrent)
|
|
void |
Texture2DCanvas.setClip(Rect2i rect)
|
|
void |
TextureImage2D.setClipRect(Rect2i clipRect)
Sets the clip-rect, that will be clipping the drawn pixels. |
|
void |
TextureImage2D.setPixel(int x,
int y,
byte[] data,
boolean markDirty,
Rect2i dirtyRect)
Sets one pixel. |
|
void |
TextureImage2D.setPixelLine(int x,
int y,
int length,
byte[] data,
int srcOffset,
boolean markDirty,
Rect2i dirtyRect)
Sets one (part of a) pixel line. |
Uses of Rect2i in net.ctdp.rfdynhud.widgets.base.widget |
---|
Methods in net.ctdp.rfdynhud.widgets.base.widget with parameters of type Rect2i | |
---|---|
boolean |
Widget.clearBackgroundRegion(TextureImage2D texture,
int offsetX,
int offsetY,
int localX,
int localY,
int width,
int height,
boolean markDirty,
Rect2i dirtyRect)
Clears the given part of the Widget area with the current background. |
Uses of Rect2i in org.openmali.types.twodee |
---|
Methods in org.openmali.types.twodee that return Rect2i | |
---|---|
Rect2i |
Rect2i.clamp(int left,
int top,
int width,
int height)
Clamps this rectangle by the given one and writes the result into this instance. |
Rect2i |
Rect2i.clamp(Rect2i rect)
Clamps this rectangle by the given one and writes the result into this instance. |
Rect2i |
Rect2i.combine(int left,
int top,
int width,
int height)
Combines this Rectangle with the given one and writes the result into this instance. |
Rect2i |
Rect2i.combine(Rect2i rect)
Combines this Rectangle with the given one and writes the result into this instance. |
static Rect2i |
Rect2i.fromPool()
|
static Rect2i |
Rect2i.fromPool(int left,
int top,
int width,
int height)
|
Rect2i |
Rect2i.set(int left,
int top,
int width,
int height)
Sets this rectangle's coordinates to the given rectangle's ones. |
Rect2i |
Rect2i.set(Positioned2iRO pos,
Sized2iRO size)
Sets this rectangle's coordinates to the given rectangle's ones. |
Rect2i |
Rect2i.set(Rect2i rect)
Sets this rectangle's coordinates to the given rectangle's ones. |
Rect2i |
Rect2i.setLocation(int left,
int top)
Sets the upper-left corner's coordinates. |
Rect2i |
Rect2i.setSize(int width,
int height)
Sets the size. |
Rect2i |
Rect2i.setSize(Sized2iRO size)
Sets the size. |
Methods in org.openmali.types.twodee with parameters of type Rect2i | |
---|---|
Rect2i |
Rect2i.clamp(Rect2i rect)
Clamps this rectangle by the given one and writes the result into this instance. |
Rect2i |
Rect2i.combine(Rect2i rect)
Combines this Rectangle with the given one and writes the result into this instance. |
boolean |
Rect2i.covers(Rect2i rect)
Checks, whether this rectangle completely covers the given one. |
boolean |
Rect2i.equals(Rect2i rect)
|
int |
Rect2i.getMatchFactor(Rect2i rect)
|
boolean |
Rect2i.intersects(Rect2i rect)
Checks, if the given rectangle intersects this rectangle. |
boolean |
Rect2i.isCoveredBy(Rect2i rect)
Checks, whether this rectangle is completely covered by the given one. |
Rect2i |
Rect2i.set(Rect2i rect)
Sets this rectangle's coordinates to the given rectangle's ones. |
static void |
Rect2i.toPool(Rect2i rect)
|
Constructors in org.openmali.types.twodee with parameters of type Rect2i | |
---|---|
Rect2i(Rect2i template)
Creates a new 2-dimensional rectangle and copies the template's coordinates. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |