Uses of Class
drawit.IntPoint

Packages that use IntPoint 
Package Description
drawit  
drawit.shapegroups1  
  • Uses of IntPoint in drawit

    Methods in drawit that return IntPoint 
    Modifier and Type Method Description
    static IntPoint[] PointArrays.copy​(IntPoint[] points)
    Returns a new array with the same contents as the given array.
    IntPoint[] RoundedPolygon.getVertices()  
    static IntPoint[] PointArrays.insert​(IntPoint[] points, int index, IntPoint point)
    Returns a new array whose elements are the elements of the given array with the given point inserted at the given index.
    IntPoint IntPoint.plus​(IntVector vector)
    Returns an IntPoint object representing the point obtained by displacing this point by the given vector.
    static IntPoint[] PointArrays.remove​(IntPoint[] points, int index)
    Returns a new array whose elements are the elements of the given array with the element at the given index removed.
    IntPoint DoublePoint.round()
    Returns an IntPoint object whose coordinates are obtained by rounding the coordinates of this point to the nearest integer.
    static IntPoint[] PointArrays.scale​(IntPoint[] points, IntPoint origin, double xFactor, double yFactor)
    Returns a new array whose elements are the elements of the given array, scaled by the given X and Y factors.
    static IntPoint[] PointArrays.translate​(IntPoint[] points, IntVector delta)
    Returns a new array whose elements are the elements of the given array, translated along the given vector.
    static IntPoint[] PointArrays.update​(IntPoint[] points, int index, IntPoint value)
    Returns a new array whose elements are the elements of the given array with the element at the given index replaced by the given point.
    Methods in drawit with parameters of type IntPoint 
    Modifier and Type Method Description
    static String PointArrays.checkDefinesProperPolygon​(IntPoint[] points)
    Returns null if the given array of points defines a proper polygon; otherwise, returns a string describing why it does not.
    boolean RoundedPolygon.contains​(IntPoint point)  
    static IntPoint[] PointArrays.copy​(IntPoint[] points)
    Returns a new array with the same contents as the given array.
    boolean IntPoint.equals​(IntPoint other)
    Returns true if this point has the same coordinates as the given point; returns false otherwise.
    static IntPoint[] PointArrays.insert​(IntPoint[] points, int index, IntPoint point)
    Returns a new array whose elements are the elements of the given array with the given point inserted at the given index.
    void RoundedPolygon.insert​(int index, IntPoint point)  
    boolean IntPoint.isOnLineSegment​(IntPoint b, IntPoint c)
    Returns true iff this point is on open line segment bc.
    static boolean IntPoint.lineSegmentsIntersect​(IntPoint a, IntPoint b, IntPoint c, IntPoint d)
    Returns true iff the open line segment ab intersects the open line segment cd.
    IntVector IntPoint.minus​(IntPoint other)
    Returns an IntVector object representing the displacement from other to this.
    static IntPoint[] PointArrays.remove​(IntPoint[] points, int index)
    Returns a new array whose elements are the elements of the given array with the element at the given index removed.
    static IntPoint[] PointArrays.scale​(IntPoint[] points, IntPoint origin, double xFactor, double yFactor)
    Returns a new array whose elements are the elements of the given array, scaled by the given X and Y factors.
    void RoundedPolygon.setVertices​(IntPoint[] newVertices)  
    static IntPoint[] PointArrays.translate​(IntPoint[] points, IntVector delta)
    Returns a new array whose elements are the elements of the given array, translated along the given vector.
    static IntPoint[] PointArrays.update​(IntPoint[] points, int index, IntPoint value)
    Returns a new array whose elements are the elements of the given array with the element at the given index replaced by the given point.
    void RoundedPolygon.update​(int index, IntPoint point)  
  • Uses of IntPoint in drawit.shapegroups1

    Methods in drawit.shapegroups1 that return IntPoint 
    Modifier and Type Method Description
    IntPoint Extent.getBottomRight()
    Returns the bottom-right corner of this extent.
    IntPoint Extent.getTopLeft()
    Returns the top-left corner of this extent.
    Methods in drawit.shapegroups1 with parameters of type IntPoint 
    Modifier and Type Method Description
    boolean Extent.contains​(IntPoint point)
    Returns whether this extent, considered as a closed set of points (i.e.
    ShapeGroup NonleafShapeGroup.getSubgroupAt​(IntPoint innerCoordinates)
    Return the first subgroup in the list of subgroups directly contained by this shape group whose bounding box contains the given point.
    void ShapeGroup.scale​(IntPoint origin, double xFactor, double yFactor)
    Scales the shapes contained directly or indirectly by this shape group by the given factors in the X and Y direction, respectively.