Documentation of 'hep.aida.ref.plotter.LineStyle' Java class
LineStyle
hep.aida.ref.plotter

Class LineStyle

    • Constructor Detail

      • LineStyle

        public LineStyle()
    • Method Detail

      • availableLineTypes

        public java.lang.String[] availableLineTypes()
        Description copied from interface: ILineStyle
        Get list of line types supported by this implementation.
        Specified by:
        availableLineTypes in interface ILineStyle
      • lineType

        public java.lang.String lineType()
        Description copied from interface: ILineStyle
        Get line type currently in use.
        Specified by:
        lineType in interface ILineStyle
      • lineType

        public java.lang.String lineType(int globalIndex,
                                         int overlayIndex)
      • setLineType

        public boolean setLineType(java.lang.String lineType)
        Description copied from interface: ILineStyle
        Set current line type e.g. "dotted".
        Specified by:
        setLineType in interface ILineStyle
        Returns:
        false if line type not known to this implementation.
      • setThickness

        public boolean setThickness(int lineThickness)
        Description copied from interface: ILineStyle
        Set thickness (exact meaning is implementation-dependent, but <0 means invisible).
        Specified by:
        setThickness in interface ILineStyle
        Returns:
        false if value not supported by this implementation.
      • thickness

        public int thickness()
        Description copied from interface: ILineStyle
        Get current line thickness.
        Specified by:
        thickness in interface ILineStyle
      • availableColors

        public java.lang.String[] availableColors()
        Description copied from interface: IBrushStyle
        Get a list of the colours supported by this implementation.
        Specified by:
        availableColors in interface IBrushStyle
      • color

        public java.lang.String color()
        Description copied from interface: IBrushStyle
        Current colour of this brush style.
        Specified by:
        color in interface IBrushStyle
      • color

        public java.lang.String color(int gi,
                                      int oi)
      • opacity

        public double opacity()
        returns -1 if it not set
        Specified by:
        opacity in interface IBrushStyle
      • setColor

        public boolean setColor(java.lang.String color)
        Description copied from interface: IBrushStyle
        Set current colour, e.g. "darkGreen"
        Specified by:
        setColor in interface IBrushStyle
        Returns:
        false if colour not recognised by the implementation.
      • setOpacity

        public boolean setOpacity(double opacity)
        Description copied from interface: IBrushStyle
        Set opacity (alpha), e.g. 0 (transparent), 1 (opaque), 0.5 (halfway).
        Specified by:
        setOpacity in interface IBrushStyle
        Returns:
        false if value not supported by the implementation.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.