Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- alpha() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets this color's alpha channel.
- AQUA - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 255, 255)or#00FFFF.
B
- barycentrics() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Returns a reference to the triangle barycentrics in this barycentricser object.
- Barycentrics - Class in io.github.shimeoki.jfx.rasterization.triangle
-
A class that represents barycentric coordinates using floats.
- Barycentrics(float, float, float) - Constructor for class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Creates a new
Barycentricsinstance with initial values. - Barycentricser - Class in io.github.shimeoki.jfx.rasterization.triangle
-
A class for memory and time efficient
Barycentricsgeneration from aTriangle. - Barycentricser() - Constructor for class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Creates a new
Barycentricserinstance. - BLACK - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 0, 0)or#000000. - blue() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets this color's blue channel.
- BLUE - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 0, 255)or#0000FF.
C
- calculate(float, float) - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Calculates the barycentrics in this barycenctricser based on the current coordinates.
- color(Barycentrics, Point2i) - Method in interface io.github.shimeoki.jfx.rasterization.triangle.Filler
-
Gets the color for the point on specified barycentrics and/or pixel coordinates.
- color(Barycentrics, Point2i) - Method in class io.github.shimeoki.jfx.rasterization.triangle.GradientFiller
- color(Barycentrics, Point2i) - Method in class io.github.shimeoki.jfx.rasterization.triangle.SolidFiller
- Colorf - Class in io.github.shimeoki.jfx.rasterization
-
Simple color class with float values.
- Colorf(float, float, float, float) - Constructor for class io.github.shimeoki.jfx.rasterization.Colorf
-
Creates a new
Colorfinstance. - compare(double, double) - Static method in class io.github.shimeoki.jfx.rasterization.Doubles
-
Gets an integer, that indicates the result of the comparison.
- compare(float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Gets an integer, that indicates the result of the comparison.
- confined(double, double, double) - Static method in class io.github.shimeoki.jfx.rasterization.Doubles
-
Returns a double that is the confined value of
xfor two bounds. - confined(float, float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Returns a float that is the confined value of
xfor two bounds. - confined(int, int, int) - Static method in class io.github.shimeoki.jfx.rasterization.Ints
-
Returns an integer that is the confined value of
xfor two bounds. - CYAN - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 255, 255)or#00FFFF.
D
- DDATriangler - Class in io.github.shimeoki.jfx.rasterization
-
A
Trianglerimplementation using the digital differential analyzer algorithm for drawing slopes and drawing pixels one by one. - DDATriangler(GraphicsContext) - Constructor for class io.github.shimeoki.jfx.rasterization.DDATriangler
-
Creates a new
DDATrianglerinstance. - Doubles - Class in io.github.shimeoki.jfx.rasterization
-
Class for some operations on doubles using a fixed epsilon value.
- draw(Triangle) - Method in class io.github.shimeoki.jfx.rasterization.DDATriangler
- draw(Triangle) - Method in class io.github.shimeoki.jfx.rasterization.IntBresenhamTriangler
- draw(Triangle) - Method in interface io.github.shimeoki.jfx.rasterization.Triangler
-
Draws the
Trianglewith the currently used filler.
E
- EPSILON - Static variable in class io.github.shimeoki.jfx.rasterization.Doubles
-
Epsilon that is used for comparison operations in this class.
- EPSILON - Static variable in class io.github.shimeoki.jfx.rasterization.Floats
-
Epsilon that is used for comparison operations in this class.
- equals(double, double) - Static method in class io.github.shimeoki.jfx.rasterization.Doubles
-
Returns
true, if the values are equal. - equals(float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Returns
true, if the values are equal.
F
- filler() - Method in class io.github.shimeoki.jfx.rasterization.DDATriangler
- filler() - Method in class io.github.shimeoki.jfx.rasterization.IntBresenhamTriangler
- filler() - Method in interface io.github.shimeoki.jfx.rasterization.Triangler
-
Gets a
Fillercurrently used by this triangler. - Filler - Interface in io.github.shimeoki.jfx.rasterization.triangle
-
An interface that represents a function to get the colors to fill the triangle.
- Floats - Class in io.github.shimeoki.jfx.rasterization
-
Class for some operations on floats using a fixed epsilon value.
- FUCHSIA - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 0, 255)or#FF00FF.
G
- GradientFiller - Class in io.github.shimeoki.jfx.rasterization.triangle
-
One of the standard implementations of
Fillerto fill the triangles with a gradient from three colors. - GradientFiller(Colorf, Colorf, Colorf) - Constructor for class io.github.shimeoki.jfx.rasterization.triangle.GradientFiller
-
Creates a new
GradientFillerinstance. - green() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets this color's green channel.
- GREEN - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 128, 0)or#008000.
H
- HTMLColorf - Class in io.github.shimeoki.jfx.rasterization
-
Non-instantiable class with some
colorsfrom the HTML specification as constants.
I
- inside() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Gets the boolean value of the statement "are these barycentrics inside of a triangle?".
- IntBresenhamTriangler - Class in io.github.shimeoki.jfx.rasterization
-
A
Trianglerimplementation using the Bresenham algorithm (on integers) for drawing slopes and drawing pixels one by one. - IntBresenhamTriangler(GraphicsContext) - Constructor for class io.github.shimeoki.jfx.rasterization.IntBresenhamTriangler
-
Creates a new
IntBresenhamTrianglerinstance. - Ints - Class in io.github.shimeoki.jfx.rasterization
-
Class for some operations on integers that are not in the standard Math class.
- io.github.shimeoki.jfx.rasterization - module io.github.shimeoki.jfx.rasterization
-
A JavaFX shape rasterization library.
- io.github.shimeoki.jfx.rasterization - package io.github.shimeoki.jfx.rasterization
-
Main package with other subpackages and ungrouped types.
- io.github.shimeoki.jfx.rasterization.triangle - package io.github.shimeoki.jfx.rasterization.triangle
-
Package for the triangle rasterization types.
J
- jfxColor() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets a
Colorrepresenting this color.
L
- lambda1() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Gets the first barycentric coordinate.
- lambda2() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Gets the second barycentric coordinate.
- lambda3() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Gets the third barycentric coordinate.
- lessThan(double, double) - Static method in class io.github.shimeoki.jfx.rasterization.Doubles
-
Returns
true, is left comparand is less or equal to right comparand. - lessThan(float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Returns
true, is left comparand is less or equal to right comparand. - LIME - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 255, 0)or#00FF00.
M
- MAROON - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(128, 0, 0)or#800000. - max3(float, float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Gets a maximum float out of three values.
- max3(int, int, int) - Static method in class io.github.shimeoki.jfx.rasterization.Ints
-
Gets a maximum integer out of three values.
- min3(float, float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Gets a minumum float out of three values.
- min3(int, int, int) - Static method in class io.github.shimeoki.jfx.rasterization.Ints
-
Gets a minumum integer out of three values.
- moreThan(double, double) - Static method in class io.github.shimeoki.jfx.rasterization.Doubles
-
Returns
true, is left comparand is more or equal to right comparand. - moreThan(float, float) - Static method in class io.github.shimeoki.jfx.rasterization.Floats
-
Returns
true, is left comparand is more or equal to right comparand.
N
- normalized() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Gets the boolean value of the statement "are these barycentrics normalized?".
O
- ORANGE - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 165, 0)or#FFA500.
P
- Point2f - Interface in io.github.shimeoki.jfx.rasterization
-
An interface that represents a point in 2D space using floats.
- Point2i - Interface in io.github.shimeoki.jfx.rasterization
-
An interface that represents a point in 2D space using integers.
- Polygon3 - Class in io.github.shimeoki.jfx.rasterization
-
A default
Triangleimplementation. - Polygon3(Point2f, Point2f, Point2f) - Constructor for class io.github.shimeoki.jfx.rasterization.Polygon3
-
Creates a new
Polygon3instance. - PURPLE - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(128, 0, 128)or#800080.
R
- red() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets this color's red channel.
- RED - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 0, 0)or#FF0000.
S
- setFiller(Filler) - Method in class io.github.shimeoki.jfx.rasterization.DDATriangler
- setFiller(Filler) - Method in class io.github.shimeoki.jfx.rasterization.IntBresenhamTriangler
- setFiller(Filler) - Method in interface io.github.shimeoki.jfx.rasterization.Triangler
-
Sets the
Fillerto use for the rasterization. - setLambda1(float) - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Sets the value of the first barycentric coordinate.
- setLambda2(float) - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Sets the value of the second barycentric coordinate.
- setLambda3(float) - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentrics
-
Sets the value of the third barycentric coordinate.
- setTriangle(Triangle) - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Sets the new triangle to calculate the barycentrics for.
- setX(float) - Method in interface io.github.shimeoki.jfx.rasterization.Point2f
-
Sets the value of the first coordinate.
- setX(float) - Method in class io.github.shimeoki.jfx.rasterization.Vector2f
- setX(int) - Method in interface io.github.shimeoki.jfx.rasterization.Point2i
-
Sets the value of the first coordinate.
- setX(int) - Method in class io.github.shimeoki.jfx.rasterization.Vector2i
- setY(float) - Method in interface io.github.shimeoki.jfx.rasterization.Point2f
-
Sets the value of the second coordinate.
- setY(float) - Method in class io.github.shimeoki.jfx.rasterization.Vector2f
- setY(int) - Method in interface io.github.shimeoki.jfx.rasterization.Point2i
-
Sets the value of the second coordinate.
- setY(int) - Method in class io.github.shimeoki.jfx.rasterization.Vector2i
- SolidFiller - Class in io.github.shimeoki.jfx.rasterization.triangle
-
One of the standard implementations of
Fillerto fill the triangles with one color. - SolidFiller(Colorf) - Constructor for class io.github.shimeoki.jfx.rasterization.triangle.SolidFiller
-
Creates a new
SolidFillerinstance.
T
- transparency() - Method in class io.github.shimeoki.jfx.rasterization.Colorf
-
Gets this color's transparency channel.
- TRANSPARENT_BLACK - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(0, 0, 0 / 0)or#00000000. - TRANSPARENT_WHITE - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 255, 255 / 0)or#FFFFFF00. - triangle() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Returns a reference to the current used triangle in this barycentricser object.
- Triangle - Interface in io.github.shimeoki.jfx.rasterization
-
An interface that represents a triangle with floats for the coordinates.
- Triangler - Interface in io.github.shimeoki.jfx.rasterization
-
An interface for triangle rasterizers.
U
- update() - Method in class io.github.shimeoki.jfx.rasterization.triangle.Barycentricser
-
Updates cached points to the current state of the used triangle.
V
- v1() - Method in class io.github.shimeoki.jfx.rasterization.Polygon3
- v1() - Method in interface io.github.shimeoki.jfx.rasterization.Triangle
-
Gets the first vertex of this triangle.
- v2() - Method in class io.github.shimeoki.jfx.rasterization.Polygon3
- v2() - Method in interface io.github.shimeoki.jfx.rasterization.Triangle
-
Gets the second vertex of this triangle.
- v3() - Method in class io.github.shimeoki.jfx.rasterization.Polygon3
- v3() - Method in interface io.github.shimeoki.jfx.rasterization.Triangle
-
Gets the third vertex of this triangle.
- Vector2f - Class in io.github.shimeoki.jfx.rasterization
-
Standard implementation of the
Point2f. - Vector2f(float, float) - Constructor for class io.github.shimeoki.jfx.rasterization.Vector2f
-
Creates a new instance of
Vector2f. - Vector2i - Class in io.github.shimeoki.jfx.rasterization
-
Standard implementation of the
Point2i. - Vector2i(int, int) - Constructor for class io.github.shimeoki.jfx.rasterization.Vector2i
-
Creates a new instance of
Vector2i.
W
- WHITE - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 255, 255)or#FFFFFF.
X
- x() - Method in interface io.github.shimeoki.jfx.rasterization.Point2f
-
Gets the first coordinate of the position.
- x() - Method in interface io.github.shimeoki.jfx.rasterization.Point2i
-
Gets the first coordinate of the position.
- x() - Method in class io.github.shimeoki.jfx.rasterization.Vector2f
- x() - Method in class io.github.shimeoki.jfx.rasterization.Vector2i
Y
- y() - Method in interface io.github.shimeoki.jfx.rasterization.Point2f
-
Gets the second coordinate of the position.
- y() - Method in interface io.github.shimeoki.jfx.rasterization.Point2i
-
Gets the second coordinate of the position.
- y() - Method in class io.github.shimeoki.jfx.rasterization.Vector2f
- y() - Method in class io.github.shimeoki.jfx.rasterization.Vector2i
- YELLOW - Static variable in class io.github.shimeoki.jfx.rasterization.HTMLColorf
-
Equivalent to
rgb(255, 255, 0)or#FFFF00.
All Classes and Interfaces|All Packages|Constant Field Values