public class DirectionalLine extends com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<DirectionalLine>
com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape.AbstractDirectionalMultiPointShapeFactory<T extends com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<T>>
com.ait.lienzo.client.core.shape.AbstractOffsetMultiPointShape.AbstractOffsetMultiPointShapeFactory<T extends com.ait.lienzo.client.core.shape.AbstractOffsetMultiPointShape<T>>
com.ait.lienzo.client.core.shape.AbstractMultiPointShape.ControlXorYChanged, com.ait.lienzo.client.core.shape.AbstractMultiPointShape.DefaultMultiPointShapeHandleFactory, com.ait.lienzo.client.core.shape.AbstractMultiPointShape.ShapeXorYChanged
Constructor and Description |
---|
DirectionalLine(double x1,
double y1,
double x2,
double y2) |
DirectionalLine(com.ait.lienzo.client.core.types.Point2DArray points) |
DirectionalLine(com.ait.lienzo.client.core.types.Point2D start,
com.ait.lienzo.client.core.types.Point2D end) |
Modifier and Type | Method and Description |
---|---|
com.ait.lienzo.client.core.types.Point2D |
adjustPoint(double x,
double y,
double deltaX,
double deltaY) |
protected boolean |
fill(com.ait.lienzo.client.core.Context2D context,
com.ait.lienzo.client.core.shape.Attributes attr,
double alpha) |
com.ait.lienzo.client.core.types.BoundingBox |
getBoundingBox() |
List<com.ait.lienzo.client.core.Attribute> |
getBoundingBoxAttributes() |
com.ait.lienzo.client.core.types.Point2DArray |
getControlPoints() |
com.ait.lienzo.client.core.types.Point2D |
getHeadOffsetPoint() |
com.ait.lienzo.client.core.types.Point2DArray |
getPoint2DArray() |
com.ait.lienzo.client.core.types.Point2D |
getTailOffsetPoint() |
boolean |
isControlPointShape() |
boolean |
parse(com.ait.lienzo.client.core.shape.Attributes attr) |
DirectionalLine |
refresh() |
DirectionalLine |
setControlPoints(com.ait.lienzo.client.core.types.Point2DArray points) |
DirectionalLine |
setPoint2DArray(com.ait.lienzo.client.core.types.Point2DArray points) |
asDirectionalMultiPointShape, getBoundingBoxAttributesComposed, getCorrectionOffset, getHeadDirection, getTailDirection, setCorrectionOffset, setHeadDirection, setTailDirection
asOffsetMultiPointShape, getBoundingBoxAttributesComposed, getHeadOffset, getTailOffset, isPathPartListPrepared, prepare, setHeadOffset, setTailOffset
asMultiPointShape, getControlHandleFactory, getPathPartList
asPrimitive, asShape, attachToLayerColorMap, batch, copy, detachFromLayerColorMap, doApplyShadow, dofillBoundsForSelection, doStrokeExtraProperties, draw, drawWithoutTransforms, fill, getAlpha, getColorKey, getControlHandles, getControlHandles, getDashArray, getDashOffset, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFactory, getFillAlpha, getFillColor, getFillGradient, getLineCap, getLineJoin, getLocation, getMiterLimit, getOffset, getRotation, getRotationDegrees, getScale, getSelectionBoundsOffset, getSelectionStrokeOffset, getShadow, getShapeType, getShear, getStrokeAlpha, getStrokeColor, getStrokeWidth, getTransformingAttributes, getX, getY, isAppliedShadow, isDraggable, isDragging, isEditable, isFillBoundsForSelection, isFillShapeForSelection, moveDown, moveToBottom, moveToTop, moveUp, removeFromParent, setAlpha, setAppliedShadow, setColorKey, setControlHandleFactory, setDashArray, setDashArray, setDashOffset, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setFillBoundsForSelection, setFillColor, setFillColor, setFillGradient, setFillGradient, setFillGradient, setFillShapeForSelection, setLineCap, setLineJoin, setLocation, setMiterLimit, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setSelectionBoundsOffset, setSelectionStrokeOffset, setShadow, setShapeType, setShear, setShear, setStrokeAlpha, setStrokeColor, setStrokeColor, setStrokeParams, setStrokeWidth, setX, setY, stroke, stroke, toJSONObject
addAttributesChangedHandler, addEnsureHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, addParentsLocations, animate, animate, asAttributes, asAttributes, asContainer, asContainerNode, asGroup, asGroupOf, asGuide, asLayer, asList, asNode, asScene, asViewport, cancelAttributesChangedBatcher, cast, copyUnchecked, doAnimating, drawWithTransforms, drawWithTransforms, equals, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getLayer, getMetaData, getName, getNodeType, getOverLayer, getParent, getPossibleNodeTransform, getRequiredAttributes, getScene, getScratchPad, getUserData, getViewport, hashCode, hasMetaData, isAnimating, isEventHandled, isEventHandledGlobally, isListening, isVisible, onWire, setAttributesChangedBatcher, setID, setListening, setName, setNodeType, setParent, setUserData, setVisible, toJSONString, toString, unAnimating, uuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isPathPartListPrepared
getHeadOffset, getTailOffset, setHeadOffset, setTailOffset
asOffsetMultiPointShape
attachToLayerColorMap, detachFromLayerColorMap, getAlpha, getControlHandleFactory, getDragBounds, getDragConstraint, getDragConstraints, getDragMode, getEventPropagationMode, getFillAlpha, getLocation, getOffset, getRotation, getRotationDegrees, getScale, getShear, getStrokeAlpha, getX, getY, isDraggable, isDragging, isEditable, setAlpha, setControlHandleFactory, setDragBounds, setDragConstraint, setDragConstraints, setDraggable, setDragging, setDragMode, setEditable, setEventPropagationMode, setFillAlpha, setLocation, setOffset, setOffset, setOffset, setRotation, setRotationDegrees, setScale, setScale, setScale, setShear, setShear, setStrokeAlpha, setX, setY
addAttributesChangedHandler, addNodeDragEndHandler, addNodeDragMoveHandler, addNodeDragStartHandler, addNodeGestureChangeHandler, addNodeGestureEndHandler, addNodeGestureStartHandler, addNodeMouseClickHandler, addNodeMouseDoubleClickHandler, addNodeMouseDownHandler, addNodeMouseEnterHandler, addNodeMouseExitHandler, addNodeMouseMoveHandler, addNodeMouseOutHandler, addNodeMouseOverHandler, addNodeMouseUpHandler, addNodeMouseWheelHandler, addNodeTouchCancelHandler, addNodeTouchEndHandler, addNodeTouchMoveHandler, addNodeTouchStartHandler, animate, animate, asContainer, asContainerNode, asGroup, asGroupOf, asGuide, asLayer, asMultiPointShape, asNode, asPrimitive, asScene, asShape, asViewport, batch, cancelAttributesChangedBatcher, copy, draw, drawWithTransforms, fireEvent, getAbsoluteLocation, getAbsoluteTransform, getAttributes, getAttributeSheet, getBoundingPoints, getComputedBoundingPoints, getComputedLocation, getID, getLayer, getMetaData, getName, getNodeType, getOverLayer, getParent, getRequiredAttributes, getScene, getScratchPad, getTransformingAttributes, getUserData, getViewport, hasMetaData, isEventHandled, isListening, isVisible, moveDown, moveToBottom, moveToTop, moveUp, removeFromParent, setAttributesChangedBatcher, setID, setListening, setName, setUserData, setVisible, uuid
public DirectionalLine(double x1, double y1, double x2, double y2)
public DirectionalLine(com.ait.lienzo.client.core.types.Point2D start, com.ait.lienzo.client.core.types.Point2D end)
public DirectionalLine(com.ait.lienzo.client.core.types.Point2DArray points)
public DirectionalLine setControlPoints(com.ait.lienzo.client.core.types.Point2DArray points)
public com.ait.lienzo.client.core.types.Point2DArray getControlPoints()
public DirectionalLine refresh()
refresh
in interface com.ait.lienzo.client.core.shape.IDrawable<DirectionalLine>
refresh
in class com.ait.lienzo.client.core.shape.AbstractMultiPointShape<DirectionalLine>
public com.ait.lienzo.client.core.types.Point2D adjustPoint(double x, double y, double deltaX, double deltaY)
adjustPoint
in interface com.ait.lienzo.client.core.shape.IDirectionalMultiPointShape<DirectionalLine>
adjustPoint
in class com.ait.lienzo.client.core.shape.AbstractDirectionalMultiPointShape<DirectionalLine>
public boolean isControlPointShape()
isControlPointShape
in interface com.ait.lienzo.client.core.shape.IMultiPointShape<DirectionalLine>
isControlPointShape
in class com.ait.lienzo.client.core.shape.AbstractMultiPointShape<DirectionalLine>
protected boolean fill(com.ait.lienzo.client.core.Context2D context, com.ait.lienzo.client.core.shape.Attributes attr, double alpha)
fill
in class com.ait.lienzo.client.core.shape.Shape<DirectionalLine>
public boolean parse(com.ait.lienzo.client.core.shape.Attributes attr)
parse
in class com.ait.lienzo.client.core.shape.AbstractOffsetMultiPointShape<DirectionalLine>
public com.ait.lienzo.client.core.types.Point2D getTailOffsetPoint()
public com.ait.lienzo.client.core.types.Point2D getHeadOffsetPoint()
public DirectionalLine setPoint2DArray(com.ait.lienzo.client.core.types.Point2DArray points)
public com.ait.lienzo.client.core.types.Point2DArray getPoint2DArray()
public List<com.ait.lienzo.client.core.Attribute> getBoundingBoxAttributes()
public com.ait.lienzo.client.core.types.BoundingBox getBoundingBox()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.