Package 

Object SharpCornerTreatment

  • All Implemented Interfaces:
    com.patrykandpatrick.vico.core.component.shape.cornered.CornerTreatment

    
    public class SharpCornerTreatment
     implements CornerTreatment
                        

    Creates sharp corners.

    • Method Summary

      Modifier and Type Method Description
      Unit createCorner(Float x1, Float y1, Float x2, Float y2, CornerLocation cornerLocation, Path path) Draws a shape corner of the appropriate style.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createCorner

         Unit createCorner(Float x1, Float y1, Float x2, Float y2, CornerLocation cornerLocation, Path path)

        Draws a shape corner of the appropriate style.

        Parameters:
        x1 - the horizontal coordinate of the starting point.
        y1 - the vertical coordinate of the starting point.
        x2 - the horizontal coordinate of the end point.
        y2 - the vertical coordinate of the end point.
        cornerLocation - the location of the corner.