com.supermap.ar.areffect.preset

Class StripeLine



  • public class StripeLine
    extends Shape
    Stripe line
    • Constructor Detail

      • StripeLine

        public StripeLine(BaseShape.MatType matType)
        Construction method
        Parameters:
        matType - texture type (transparent/opaque)
    • Method Detail

      • drawStripeLine

        public void drawStripeLine(Point3D pointA,
                                   Point3D pointB,
                                   float width)
        Draws stripe lines
        Parameters:
        pointA -
        pointB -
        width -
      • drawStripeLine

        public void drawStripeLine(java.util.List<Point3D> pointList,
                                   float lineWidth)
        Draws stripe lines
        Parameters:
        pointList - vertex set
        lineWidth - the width of the line
      • getStripeLinePoints

        public java.util.List<Point3D> getStripeLinePoints()
        Gets the vertex set of lines
        Returns:
      • getStripeLineRadius

        public float getStripeLineRadius()
        Gets the radius of the rounded angle of stripe lines
        Returns:
      • setStripeLineRadius

        public void setStripeLineRadius(float radius)
        Sets the radius of the rounded angle of stripe lines (equal to or bigger than the line width)
        Parameters:
        radius -
      • isExtension

        public boolean isExtension()
      • setExtension

        public void setExtension(boolean extension)
      • setParentNode

        public void setParentNode(AREffectElement element)
        Setting the parent node
        Parameters:
        element -
      • setParentNode

        public void setParentNode(EffectView arView)
        Setting the parent node
        Parameters:
        arView -
      • getParentElement

        public AREffectElement getParentElement()
        Get the parent node
        Returns: