Package org.djutils.draw
The draw package contains the generic classes for device-independent drawing.
Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Interface Summary Interface Description Directed<D extends Directed<D>> Directed is the interface to specify a Direction (a vector pointing in a direction without a length).Drawable<P extends Point<P,S>,S extends Space> Drawable is an interface to indicate zero or more points can be retrieved to draw the object.Drawable2d Drawable2d is the interface that all drawable objects that use 2d coordinates must implement.Drawable3d Drawable3d is the Interface that all drawable objects that use 3d coordinates must implement.Oriented<O extends Oriented<O>> Oriented is an interface to indicate an object has a direction.Oriented2d<O extends Oriented<O>> Oriented2d is an interface to indicate an object has a direction in two dimensions.Oriented3d<O extends Oriented<O>> Oriented3d is an interface to indicate an object has a direction in three dimensions.Space Dimension interface to show the number of dimensions for the drawable objects. -
Class Summary Class Description Space2d Space2d interface to show that the number of dimensions for the drawable objects is 2.Space3d Space3d interface to show that the number of dimensions for the drawable objects is 3.Transform2d Transform2d contains a MUTABLE transformation object that can transform points (x,y) based on e.g, rotation and translation.Transform3d Transform3d contains a MUTABLE transformation object that can transform points (x,y,z) based on e.g, rotation and translation. -
Exception Summary Exception Description DrawException DrawException is the root exception for drawing exceptions.DrawRuntimeException DrawException is the root exception for drawing exceptions that do not have to be specified.