Index
All Classes and Interfaces|All Packages|Serialized Form
D
- D - Enum constant in enum class bagel.Keys
- DELETE - Enum constant in enum class bagel.Keys
- directionToMouse(Point) - Method in class bagel.Input
-
Returns a unit vector pointing towards the mouse from the provided point.
- distanceTo(Point) - Method in class bagel.util.Point
- div(double) - Method in class bagel.util.Vector2
-
Returns the result of dividing this vector by scalar.
- dot(Vector2) - Method in class bagel.util.Vector2
-
Returns the dot (scalar) product of this vector and rhs.
- down - Static variable in class bagel.util.Vector2
-
A unit vector pointing downwards.
- DOWN - Enum constant in enum class bagel.Keys
- draw(double, double) - Method in class bagel.Image
-
Draw the image with its centre at (x, y).
- draw(double, double, double, double, double, double) - Method in class bagel.map.TiledMap
-
Draws the rectangular region of the map with top left at (mapX, mapY) and bottom right at (mapX + width, mapY + height).
- draw(double, double, DrawOptions) - Method in class bagel.Image
-
Draw the image with advanced options as described by an
DrawOptionsobject. - drawCircle(double, double, double, Colour) - Static method in class bagel.Drawing
-
Draw a circle of the given radius and colour, centred at the point (x, y).
- drawCircle(Point, double, Colour) - Static method in class bagel.Drawing
-
Draw a circle of the given radius and colour, centred at the provided point.
- drawFromTopLeft(double, double) - Method in class bagel.Image
-
Draw the image with its top-left at (x, y).
- drawFromTopLeft(double, double, DrawOptions) - Method in class bagel.Image
-
Draw the image with its top-left at (x, y) with extra options.
- Drawing - Class in bagel
-
Contains utility methods for drawing various shapes.
- Drawing() - Constructor for class bagel.Drawing
- drawLine(Point, Point, double, Colour) - Static method in class bagel.Drawing
-
Draw a line of the given thickness and colour from point a to point b.
- DrawOptions - Class in bagel
-
Allows you to specify detailed options for drawing images.
- DrawOptions() - Constructor for class bagel.DrawOptions
- drawRectangle(double, double, double, double, Colour) - Static method in class bagel.Drawing
-
Draw a rectangle with its top-left at (x, y) with the provided width, height, and colour.
- drawRectangle(Point, double, double, Colour) - Static method in class bagel.Drawing
-
Draw a rectangle using a Point to specify the top-left.
- drawString(String, double, double) - Method in class bagel.Font
-
Draw the provided string with its bottom-left at the given (x, y) location.
- drawString(String, double, double, DrawOptions) - Method in class bagel.Font
-
Draw the provided string with its bottom-left at the given (x, y) location with additional options.
All Classes and Interfaces|All Packages|Serialized Form