documentationfor yFiles for HTML 3.0.0.3

Usages of IPoint

Properties

dynamicLocationin MutableRectangleGets the position of this rectangle.
dynamicAnchorin OrientedRectangleGets or sets the anchor of this oriented rectangle.
anchorLocationin AnchoredFreeLabelModelParameterGets the dynamic location to place the label anchor at.
locationin IBendGets the location of the bend in the world coordinate system.
dynamicLocationin IPortGets a live view of the location of the port in world coordinates.
locationin SimpleBendGets or sets the location of this bend.
locationin ConstrainedDragHandlerGets the wrappedHandler's location property.
dragPointin CreateEdgeInputModeGets the dynamically updated dragging point for the edge creation.
pointerPositionin DropInputModeGets the current pointer position during drag operations.
locationin GroupingNodePositionHandlerGets a view of the location of the item.
locationin IDragHandlerGets a view of the location of the item.
locationin LabelPositionHandler
currentLocationin MovementInfoGets the current location as a live point.
locationin PortLocationModelParameterHandle
locationin PortRelocationHandleGets a view of the location of the item.
locationin RectangleHandleGets a view of the center of the handle.
locationin ReparentStripePositionHandler
locationin ReshapeHandlerHandleGets a view of the center of the handle.
anchorin TextEditorInputModeGets or sets the anchor of the text box.
locationin TextEditorInputModeGets or sets the location of the text box in world coordinates.
upVectorin TextEditorInputModeGets or sets the point that describes the "up"-vector that will be used to determine the orientation of the text box in the world coordinate system.
snapOffsetsin AlignmentStageDataGets or sets the mapping from nodes to the points relative to the center that are aligned.
nodeLocationsin GivenCoordinatesLayoutDataGets or sets the mapping from nodes to their initial location.
intermediateRoutingPointsin EdgeRouterEdgeDescriptorGets or sets the list of intermediate IPoints that need to lie on the edge route.

Fields

SNAP_OFFSET_DATA_KEYin AlignmentStageA data key for specifying the points of the nodes that are aligned.
NODE_LOCATION_DATA_KEYin GivenCoordinatesLayoutA data key for specifying the initial location of nodes.

Method Return Values

getPathPoints (IEdge)in IEdgeGets a snapshot of the points describing the path of an edge.

Method Parameters

areaContains (IPoint, number?)in GeneralPathChecks whether the point lies inside the area that is described by this path instance.
areaOrPathContains (IPoint, number)in GeneralPathChecks whether the point lies inside the area described by this path instance.
cubicTo (IPoint, IPoint, IPoint)in GeneralPathAppends a cubic Bézier curve to the path elements.
findLineIntersection (IPoint, IPoint, number?)in GeneralPathFinds an intersection point between a line and this GeneralPath.
findRayIntersection (IPoint, IPoint, number?)in GeneralPathFinds the first intersection of a ray with this GeneralPath using a given epsilon for flattening Bézier curves contained in the path.
getProjection (IPoint, number)in GeneralPathGets the projection of point onto the segment segmentIndex.
lineTo (IPoint)in GeneralPathAppends a LINE_TO operation to the path elements.
moveTo (IPoint)in GeneralPathAppends a MOVE_TO operation to the path elements.
pathContains (IPoint, number)in GeneralPathTests whether the line of the path is hit at the given point using an epsilon for fuzzy hit testing.
quadTo (IPoint, IPoint)in GeneralPathAppends a quadratic Bézier curve to the path elements.
setLocation (IPoint)in IMutablePointSets the x and y values of this instance to the given values.
add (IPoint)in IMutableRectangleAdds a point to a rectangle, possibly enlarging the rectangle.
setLocation (IPoint)in IMutableRectangleApplies a new position to a given mutable rectangle.
setShape (IPoint, ISize)in IMutableRectangleApplies a new position and size to a given mutable rectangle.
contains (IPoint, number)in IOrientedRectangleDetermines whether the given oriented rectangle contains the provided point, using an epsilon value.
distanceTo (IPoint)in IPointCalculates the Euclidean distance between two points.
contains (IPoint, number?)in IRectangleDetermines whether the given rectangle contains the provided point.
MutablePoint (IPoint)in MutablePointCreates an instance using the given coordinate pair.
setCenter (IPoint)in OrientedRectangleSets the anchor of this oriented rectangle so that the center of the rectangle coincides with the given point.
setUpVector (IPoint)in OrientedRectangleSets the up vector to the given value.
distance (IPoint, IPoint)in PointReturns the Euclidean distance between two points.
hitsPolyline (IEnumerable<IPoint>, number)in PointDetermines whether a polygonal line is hit by this point given an epsilon.
fromCenter (IPoint, ISize)in RectCreates a new instance given the center of the rectangle and its size.
intersectsPolyline (IEnumerable<IPoint>)in RectDetermines whether this rectangle intersects the polygonal line defined by the given points.
createAnchored (IPoint, number?)in FreeLabelModelCreates a new label at the given dynamic location using the provided angle.
SimpleBend (IEdge?, IPoint?, )in SimpleBendInitializes a new instance of the SimpleBend class using the given owner and location.
startEdgeCreation (INode, IPoint?)in CreateEdgeInputModeSynthetically starts the interactive edge creation process using the provided INode as the start node.
startEdgeCreation (IPort, IPoint?)in CreateEdgeInputModeSynthetically starts the interactive edge creation process using the provided IPort as the start port.
startEdgeCreation (IPortCandidate, IPoint?)in CreateEdgeInputModeSynthetically starts the interactive edge creation process using the provided IPortCandidate as the start port.
create ()in IDragHandler
create ()in IHandle
fromPoint (IPoint)in ILassoTestableCreates an implementation of the ILassoTestable interface that tests if the point is contained in the lasso path.
create ()in IPositionHandler
determineGesture (IInputModeContext, IPoint, IStripe, StripeSubregion, Rect)in ReparentStripePositionHandlerDetermine the reparent gesture that would result from the given parameters.
TextEditorInputMode (HTMLDivElement?, )in TextEditorInputModeCreates a new instance using a default text box or the provided editor.
AlignmentStageData ()in AlignmentStageData
GivenCoordinatesLayoutData ()in GivenCoordinatesLayoutDataCreates a new instance of GivenCoordinatesLayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> which helps to configure GivenCoordinatesLayout.
moveAreaOutline (IPoint)in ClearAreaLayoutMoves the areaOutline by the given delta.
EdgeRouterEdgeDescriptor ()in EdgeRouterEdgeDescriptorCreates a new instance of an EdgeRouterEdgeDescriptor with the default settings.
createEdgeSegmentAnimation (IGraph, IEdge, IPoint, Point, Point, TimeSpan)in IAnimationCreates a new IAnimation that animates the given edge's bends from its current shape linearly to the shape given by the endBends and final port locations.

Implementing Types

IMutablePointInterface for a mutable point in 2D coordinate space with double precision coordinates.
PointRepresents a point in two-dimensional Cartesian coordinates.