Uses of Record Class
org.variantsync.diffdetective.show.engine.geom.Vec2
Package
Description
-
Uses of Vec2 in org.variantsync.diffdetective.show
-
Uses of Vec2 in org.variantsync.diffdetective.show.engine
Modifier and TypeMethodDescriptionCamera.getLocation()
Entity.getLocation()
Screen.screenToViewportCoord
(Vec2 pos) World.worldToViewportCoord
(Vec2 pos) Modifier and TypeMethodDescriptionScreen.screenToViewportCoord
(Vec2 pos) void
Camera.setLocation
(Vec2 location) void
Entity.setLocation
(Vec2 location) World.worldToViewportCoord
(Vec2 pos) void
Camera.zoomTowards
(int steps, Vec2 pos) The camera zooms the given steps. -
Uses of Vec2 in org.variantsync.diffdetective.show.engine.geom
Modifier and TypeFieldDescriptionprivate final Vec2
Box.lowerRight
The field for thelowerRight
record component.private final Vec2
Box.upperLeft
The field for theupperLeft
record component.Modifier and TypeMethodDescriptionVec2.add
(double x, double y) static Vec2
Vec2.all
(double val) Vec2.deltaTransform
(AffineTransform t) Vec2.flip()
static Vec2
static Vec2
Box.lowerRight()
Returns the value of thelowerRight
record component.Vec2.normalize()
Vec2.rotate90DegreesClockwise()
Vec2.scale
(double s) Vec2.transform
(AffineTransform t) Box.upperLeft()
Returns the value of theupperLeft
record component. -
Uses of Vec2 in org.variantsync.diffdetective.show.engine.hitbox
-
Uses of Vec2 in org.variantsync.diffdetective.show.engine.input
Modifier and TypeMethodDescriptionprotected void
protected abstract void
protected void
CameraDragAndDrop.dragUpdate
(Vec2 windowPos) protected abstract void
MouseDragListener.dragUpdate
(Vec2 windowPos) -
Uses of Vec2 in org.variantsync.diffdetective.show.variation
Modifier and TypeFieldDescriptionprivate Vec2
Dance.center
private Vec2
VariationDiffApp.resolution
Modifier and TypeMethodDescriptionVariationDiffApp.calculateLayout
(VariationDiff<L> d, GraphvizExporter.LayoutAlgorithm layout, Format<L> format) Modifier and TypeMethodDescriptionstatic <V> void
VariationDiffApp.alignInBox
(Vec2 resolution, Map<V, Vec2> locations) void
Modifier and TypeMethodDescriptionstatic <V> void
VariationDiffApp.alignInBox
(Vec2 resolution, Map<V, Vec2> locations) void
VariationDiffApp.locateVariationDiffNodesAt
(Map<DiffNode<?>, Vec2> locations) ModifierConstructorDescriptionVariationDiffApp
(String name, VariationDiff<L> variationDiff, Vec2 resolution, List<DiffNodeLabelFormat<L>> availableFormats) -
Uses of Vec2 in org.variantsync.diffdetective.show.variation.input
Modifier and TypeMethodDescriptionprotected void
protected void
NodeDragAndDrop.dragUpdate
(Vec2 windowPos) -
Uses of Vec2 in org.variantsync.diffdetective.variation.diff.serialize
Modifier and TypeMethodDescription<La extends L>
voidTikzExporter.exportVariationDiff
(VariationDiff<La> variationDiff, Function<DiffNode<La>, Vec2> nodeLayout, OutputStream destination, boolean escape)