Class PxLine

java.lang.Object
org.gvsig.dxf.px.PxObj
org.gvsig.dxf.px.PxLine
All Implemented Interfaces:
Extent.Has, Colored, IPoint

public class PxLine extends PxObj implements IPoint, Colored
  • Constructor Details

    • PxLine

      public PxLine(IPoint p, IPoint p2, Color color)
    • PxLine

      public PxLine(int x, int y, int x2, int y2, Color color)
  • Method Details

    • x

      public int x()
      Specified by:
      x in interface IPoint
    • x

      public int x(int x)
      Specified by:
      x in interface IPoint
    • y

      public int y()
      Specified by:
      y in interface IPoint
    • y

      public int y(int y)
      Specified by:
      y in interface IPoint
    • x2

      public int x2()
    • x2

      public int x2(int x)
    • y2

      public int y2()
    • y2

      public int y2(int y)
    • c

      public Color c()
      Specified by:
      c in interface Colored
    • c

      public Color c(Color color)
      Specified by:
      c in interface Colored
    • setStroke

      public void setStroke(Stroke stroke)