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

Class GridStyle

    • Constructor Detail

      • GridStyle

        public GridStyle()
    • Method Detail

      • setCellSize

        public boolean setCellSize(double size)
        Description copied from interface: IGridStyle
        Set and get the size of the cell.
        Specified by:
        setCellSize in interface IGridStyle
      • setUnits

        public boolean setUnits(int unitsDefinition)
        Description copied from interface: IGridStyle
        Get and set the units used for the size of cell.
        Specified by:
        setUnits in interface IGridStyle
      • 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.