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

Class MarkerStyle

    • Constructor Detail

      • MarkerStyle

        public MarkerStyle()
    • Method Detail

      • availableShapes

        public java.lang.String[] availableShapes()
        Description copied from interface: IMarkerStyle
        Get list of shapes available in this implementation.
        Specified by:
        availableShapes in interface IMarkerStyle
      • setShape

        public boolean setShape(java.lang.String markerShape)
        Description copied from interface: IMarkerStyle
        Set current marker shape, e.g. "openCircle".
        Specified by:
        setShape in interface IMarkerStyle
        Returns:
        false if shape not available in this implementation.
      • shape

        public java.lang.String shape()
        Description copied from interface: IMarkerStyle
        Get current marker shape.
        Specified by:
        shape in interface IMarkerStyle
      • shape

        public java.lang.String shape(int globalIndex,
                                      int overlayIndex)
      • setSize

        public boolean setSize(int size)
        Set the marker's size.
        Specified by:
        setSize in interface IMarkerStyle
        Parameters:
        size - The marker's size.
        Returns:
        false if the implementation cannot perform the requested change in the marker's size.
      • size

        public int size()
        Get the marker's size.
        Specified by:
        size in interface IMarkerStyle
        Returns:
        The marker's size.
      • 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.