Package org.hexworks.zircon.api.shape

Types

EllipseFactory
Link copied to clipboard
common
object EllipseFactory : ShapeFactory<EllipseParameters>
EllipseParameters
Link copied to clipboard
common
data class EllipseParameters(center: Position, size: Size) : ShapeParameters
FilledRectangleFactory
Link copied to clipboard
common
object FilledRectangleFactory : ShapeFactory<RectangleParameters>
FilledTriangleFactory
Link copied to clipboard
common
object FilledTriangleFactory : ShapeFactory<TriangleParameters>
LineFactory
Link copied to clipboard
common
object LineFactory : ShapeFactory<LineParameters>
LineParameters
Link copied to clipboard
common
data class LineParameters(fromPoint: Position, toPoint: Position) : ShapeParameters
RectangleFactory
Link copied to clipboard
common
object RectangleFactory : ShapeFactory<RectangleParameters>
RectangleParameters
Link copied to clipboard
common
data class RectangleParameters(topLeft: Position, size: Size) : ShapeParameters
Shape
Link copied to clipboard
common
interface Shape : Collection<Position>
A Shape is a set of org.hexworks.zircon.api.data.Positions representing a geometric formation (line, triangle, rectangle, box, etc).
ShapeFactory
Link copied to clipboard
common
interface ShapeFactory<in T : ShapeParameters>
A ShapeFactory is responsible for creating a single kind of shape (like a rectangle or a triangle) using a specialized version of ShapeParameters.
ShapeParameters
Link copied to clipboard
common
sealed class ShapeParameters
TriangleFactory
Link copied to clipboard
common
object TriangleFactory : ShapeFactory<TriangleParameters>
TriangleParameters
Link copied to clipboard
common
data class TriangleParameters(p1: Position, p2: Position, p3: Position) : ShapeParameters