Uses of Class
org.newdawn.slick.geom.Shape

Packages that use Shape
org.newdawn.slick   
org.newdawn.slick.fills Fill effects used to colour and mogrify shapes during rendering 
org.newdawn.slick.geom Simple geometric wrappers that can be used for rendering and collision. 
org.newdawn.slick.gui Some extremely simple GUI elements which should be used where a game does not require a full GUI 
org.newdawn.slick.svg Demo/Test SVG area. 
org.newdawn.slick.tests Tests for the facilities provided by the library. 
 

Uses of Shape in org.newdawn.slick
 

Methods in org.newdawn.slick with parameters of type Shape
 Color ShapeFill.colorAt(Shape shape, float x, float y)
          Get the colour that should be applied at the specified location
 void Graphics.draw(Shape shape)
          Draw the outline of the given shape.
 void Graphics.draw(Shape shape, ShapeFill fill)
          Draw the outline of the given shape.
 void Graphics.fill(Shape shape)
          Draw the the given shape filled in.
 void Graphics.fill(Shape shape, ShapeFill fill)
          Draw the the given shape filled in.
 Vector2f ShapeFill.getOffsetAt(Shape shape, float x, float y)
          Get the offset for a vertex at a given location based on it's shape
 void Graphics.texture(Shape shape, Image image)
          Draw the the given shape filled in with a texture
 void Graphics.texture(Shape shape, Image image, boolean fit)
          Draw the the given shape filled in with a texture
 void Graphics.texture(Shape shape, Image image, float scaleX, float scaleY)
          Draw the the given shape filled in with a texture
 void Graphics.texture(Shape shape, Image image, float scaleX, float scaleY, boolean fit)
          Draw the the given shape filled in with a texture
 void Graphics.texture(Shape shape, Image image, float scaleX, float scaleY, ShapeFill fill)
          Draw the the given shape filled in with a texture
 void Graphics.texture(Shape shape, Image image, ShapeFill fill)
          Draw the the given shape filled in with a texture
 

Uses of Shape in org.newdawn.slick.fills
 

Methods in org.newdawn.slick.fills with parameters of type Shape
 Color GradientFill.colorAt(Shape shape, float x, float y)
          Get the colour that should be applied at the specified location
 Vector2f GradientFill.getOffsetAt(Shape shape, float x, float y)
           
 

Uses of Shape in org.newdawn.slick.geom
 

Subclasses of Shape in org.newdawn.slick.geom
 class Circle
          A simple Circle geometry
 class Curve
          A beizer curve implementation.
 class Ellipse
          An ellipse meeting the Shape contract.
 class Line
          Implemenation of a bunch of maths functions to do with lines.
 class MorphShape
          A shape that morphs between a set of other shapes
 class Path
          A shape built from lines and curves.
 class Point
          A single point shape
 class Polygon
          A polygon implementation meeting the Shape contract.
 class Rectangle
          An axis oriented used for shape bounds
 class RoundedRectangle
          Class to create rounded rectangles with.
 

Methods in org.newdawn.slick.geom that return Shape
 Shape Shape.prune()
          Prune any required points in this shape
 Shape[] Shape.subtract(Shape other)
          Subtract the given shape from this one.
 Shape[] GeomUtil.subtract(Shape target, Shape missing)
          Subtract one shape from another - note this is experimental and doesn't currently handle islands
abstract  Shape Shape.transform(Transform transform)
          Apply a transformation and return a new shape.
 Shape RoundedRectangle.transform(Transform transform)
          Apply a transformation and return a new shape.
 Shape Rectangle.transform(Transform transform)
          Apply a transformation and return a new shape.
 Shape Polygon.transform(Transform transform)
          Apply a transformation and return a new shape.
 Shape Point.transform(Transform transform)
           
 Shape Path.transform(Transform transform)
           
 Shape MorphShape.transform(Transform transform)
           
 Shape Line.transform(Transform transform)
           
 Shape Ellipse.transform(Transform transform)
           
 Shape Curve.transform(Transform transform)
           
 Shape[] Shape.union(Shape other)
          Join this shape with another.
 Shape[] GeomUtil.union(Shape target, Shape other)
          Join to shapes together.
 

Methods in org.newdawn.slick.geom with parameters of type Shape
 void MorphShape.addShape(Shape shape)
          Add a subsequent shape that we should morph too in order
 boolean Shape.contains(Shape other)
          Check if the shape passed is entirely contained within this shape.
static void ShapeRenderer.draw(Shape shape)
          Draw the outline of the given shape.
static void ShapeRenderer.draw(Shape shape, ShapeFill fill)
          Draw the outline of the given shape.
static void ShapeRenderer.fill(Shape shape)
          Draw the the given shape filled in.
static void ShapeRenderer.fill(Shape shape, ShapeFill fill)
          Draw the the given shape filled in.
 Line GeomUtil.getLine(Shape shape, float sx, float sy, int e)
          Get a line between two points in a shape
 Line GeomUtil.getLine(Shape shape, int s, int e)
          Get a line between two points in a shape
 GeomUtil.HitResult GeomUtil.intersect(Shape shape, Line line)
          Intersect a line with a shape
 boolean Shape.intersects(Shape shape)
          Check if this shape intersects with the shape provided.
 boolean Rectangle.intersects(Shape shape)
          Check if this box touches another
 boolean Line.intersects(Shape shape)
           
 boolean Circle.intersects(Shape shape)
          Check if this circle touches another
static int GeomUtil.rationalPoint(Shape shape, int p)
          Rationalise a point in terms of a given shape
 void MorphShape.setExternalFrame(Shape current)
          Set the current frame
 Shape[] Shape.subtract(Shape other)
          Subtract the given shape from this one.
 Shape[] GeomUtil.subtract(Shape target, Shape missing)
          Subtract one shape from another - note this is experimental and doesn't currently handle islands
static void ShapeRenderer.texture(Shape shape, Image image)
          Draw the the given shape filled in with a texture.
static void ShapeRenderer.texture(Shape shape, Image image, float scaleX, float scaleY)
          Draw the the given shape filled in with a texture.
static void ShapeRenderer.texture(Shape shape, Image image, float scaleX, float scaleY, ShapeFill fill)
          Draw the the given shape filled in with a texture.
static void ShapeRenderer.texture(Shape shape, Image image, TexCoordGenerator gen)
          Draw the the given shape filled in with a texture.
static void ShapeRenderer.textureFit(Shape shape, Image image)
          Draw the the given shape filled in with a texture.
static void ShapeRenderer.textureFit(Shape shape, Image image, float scaleX, float scaleY)
          Draw the the given shape filled in with a texture.
 Shape[] Shape.union(Shape other)
          Join this shape with another.
 Shape[] GeomUtil.union(Shape target, Shape other)
          Join to shapes together.
static boolean ShapeRenderer.validFill(Shape shape)
          Check there are enough points to fill
 

Constructors in org.newdawn.slick.geom with parameters of type Shape
MorphShape(Shape base)
          Create a new mighty morphin shape
 

Uses of Shape in org.newdawn.slick.gui
 

Constructors in org.newdawn.slick.gui with parameters of type Shape
MouseOverArea(GUIContext container, Image image, Shape shape)
          Create a new mouse over area
 

Uses of Shape in org.newdawn.slick.svg
 

Methods in org.newdawn.slick.svg that return Shape
 Shape Figure.getShape()
          Get the shape of this figure
 

Constructors in org.newdawn.slick.svg with parameters of type Shape
Figure(int type, Shape shape, NonGeometricData data, Transform transform)
          Create a new figure
LinearGradientFill(Shape shape, Transform trans, Gradient gradient)
          Create a new fill for gradients
RadialGradientFill(Shape shape, Transform trans, Gradient gradient)
          Create a new fill for a radial gradient
 

Uses of Shape in org.newdawn.slick.tests
 

Methods in org.newdawn.slick.tests with parameters of type Shape
 boolean GeomUtilTileTest.collides(Shape shape1, Shape shape2)
          Check if two shapes collide
 



Copyright © 2006 New Dawn Software. All Rights Reserved.