Class DefaultChartArc

    • Method Detail

      • getBorderAlign

        public BorderAlign getBorderAlign()
        Description copied from interface: IsDefaultArc
        Returns the property to set the border alignment on chart datasets.
        Specified by:
        getBorderAlign in interface IsDefaultArc
        Returns:
        the property to set the border alignment on chart datasets.
      • getBorderJoinStyle

        public JoinStyle getBorderJoinStyle()
        Description copied from interface: IsDefaultArc
        Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped).
        Specified by:
        getBorderJoinStyle in interface IsDefaultArc
        Returns:
        how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
      • getWeight

        public double getWeight()
        Description copied from interface: IsDefaultArc
        Returns the relative thickness of the dataset.
        Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.
        Specified by:
        getWeight in interface IsDefaultArc
        Returns:
        the relative thickness of the dataset
      • getAngle

        public double getAngle()
        Description copied from interface: IsDefaultArc
        Returns the arc angle to cover.
        Specified by:
        getAngle in interface IsDefaultArc
        Returns:
        the arc angle to cover
      • getOffset

        public int getOffset()
        Description copied from interface: IsDefaultArc
        Returns the arc offset (in pixels).
        Specified by:
        getOffset in interface IsDefaultArc
        Returns:
        the arc offset
      • getBorderRadius

        public int getBorderRadius()
        Description copied from interface: IsDefaultArc
        Returns the arc border radius (in pixels).
        Specified by:
        getBorderRadius in interface IsDefaultArc
        Returns:
        the arc border radius (in pixels).
      • getHoverOffset

        public int getHoverOffset()
        Description copied from interface: IsDefaultArc
        Returns the arc offset (in pixels) when hovered.
        Specified by:
        getHoverOffset in interface IsDefaultArc
        Returns:
        the arc offset when hovered
      • getSpacing

        public int getSpacing()
        Description copied from interface: IsDefaultArc
        Returns the fixed arc offset (in pixels).
        Similar to offset but applies to all arcs.
        Specified by:
        getSpacing in interface IsDefaultArc
        Returns:
        the fixed arc offset (in pixels)
      • getHoverBorderJoinStyle

        public JoinStyle getHoverBorderJoinStyle()
        Description copied from interface: IsDefaultArc
        Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified end points and control points are exactly at the same position, are skipped), when hovered.
        Specified by:
        getHoverBorderJoinStyle in interface IsDefaultArc
        Returns:
        how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together
      • isCircular

        public boolean isCircular()
        Description copied from interface: IsDefaultArc
        Returns true if the arc is curved.
        Specified by:
        isCircular in interface IsDefaultArc
        Returns:
        true if the arc is curved