Package pi.actor
Class LabeledEdge
java.lang.Object
pi.actor.Actor
pi.actor.Line
pi.actor.LabeledEdge
- All Implemented Interfaces:
FrameUpdateListenerRegistration,KeyStrokeListenerRegistration,MouseClickListenerRegistration,MouseScrollListenerRegistration
Eine beschriftete Kante
- Since:
- 0.36.0
- Author:
- Josef Friedrich
-
Nested Class Summary
Nested classes/interfaces inherited from class pi.actor.Line
Line.ArrowType, Line.LineEnd -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Fontstatic doubleDie Schriftgröße des Bezeichners in Punkten (z.B. 12pt).static doubleDer Abstand der Kantenbezeichnung zur Kantenlinie in Meter. -
Constructor Summary
ConstructorsConstructorDescriptionLabeledEdge(double fromX, double fromY, double toX, double toY) LabeledEdge(double fromX, double fromY, double toX, double toY, String label) LabeledEdge(Vector from, Vector to) LabeledEdge(Vector from, Vector to, String label) -
Method Summary
Methods inherited from class pi.actor.Line
dashed, offset, point1, point1, point2, point2, strokeWidthMethods inherited from class pi.actor.Actor
addCollisionListener, addCollisionListener, addCollisionListener, addMountListener, addUnmountListener, anchor, anchor, anchor, anchorformatted, angularDamping, angularDamping, angularVelocity, angularVelocity, animateOpacity, animateParticle, applyForce, applyForce, applyForce, applyImpulse, applyImpulse, applyImpulse, applyRotationImpulse, applyTorque, awake, bodyType, bodyType, center, center, center, centerRelative, collisions, color, color, color, complementaryColor, contains, createDistanceJoint, createPrismaticJoint, createRevoluteJoint, createRopeJoint, createWeldJoint, density, density, fixture, fixtures, fixtures, frameUpdateListeners, friction, friction, gravityScale, gravityScale, hide, isGrounded, isMounted, isRotationLocked, isVisible, keyStrokeListeners, layer, layerPosition, layerPosition, linearDamping, linearDamping, listenerBundle, lockRotation, makeDynamic, makeKinematic, makeParticle, makeSensor, makeStatic, mass, mouseClickListeners, mouseScrollListeners, moveBy, moveBy, opacity, opacity, overlaps, remove, removeMountListener, removeUnmountListener, resetMovement, restitution, restitution, rotateBy, rotation, rotation, rotationLocked, show, sleep, toggleVisible, velocity, velocity, visible, x, x, y, yMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pi.event.FrameUpdateListenerRegistration
addFrameUpdateListener, defer, delay, removeFrameUpdateListener, repeat, repeat, repeat, repeat, repeatMethods inherited from interface pi.event.KeyStrokeListenerRegistration
addKeyStrokeListener, removeKeyStrokeListenerMethods inherited from interface pi.event.MouseClickListenerRegistration
addMouseClickListener, removeMouseClickListenerMethods inherited from interface pi.event.MouseScrollListenerRegistration
addMouseScrollListener, removeMouseScrollListener
-
Field Details
-
LABEL_LINE_DISTANCE
public static double LABEL_LINE_DISTANCEDer Abstand der Kantenbezeichnung zur Kantenlinie in Meter. -
FONT_SIZE
public static double FONT_SIZEDie Schriftgröße des Bezeichners in Punkten (z.B. 12pt). -
FONT
-
-
Constructor Details
-
LabeledEdge
-
LabeledEdge
public LabeledEdge(double fromX, double fromY, double toX, double toY) -
LabeledEdge
-
LabeledEdge
-
-
Method Details
-
label
-