Class StandardContextButtonPadDeclaration

    • Constructor Detail

      • StandardContextButtonPadDeclaration

        public StandardContextButtonPadDeclaration​(IContextButtonPadData contextButtonPadData)
    • Method Detail

      • getPadLineWidth

        public int getPadLineWidth()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the line width which is used to paint the outline of the pad.
        Returns:
        The line width which is used to paint the outline of the pad.
      • getPadCornerRadius

        public int getPadCornerRadius()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the corner radius which is used to paint all corners of the pad.
        Returns:
        The corner radius which is used to paint all corners of the pad.
      • getPadOuterLineColor

        public IColorConstant getPadOuterLineColor()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the color in which the outer line of the pads outline is painted. Note, that the pad is outlined with three adjacent lines (outer, middle, inner) and then filled inside.
        Returns:
        The color in which the outer line of the pads outline is painted.
      • getPadMiddleLineColor

        public IColorConstant getPadMiddleLineColor()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the color in which the middle line of the pads outline is painted. Note, that the pad is outlined with three adjacent lines (outer, middle, inner) and then filled inside.
        Returns:
        The color in which the middle line of the pads outline is painted.
      • getPadInnerLineColor

        public IColorConstant getPadInnerLineColor()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the color in which the inner line of the pads outline is painted. Note, that the pad is outlined with three adjacent lines (outer, middle, inner) and then filled inside.
        Returns:
        The color in which the inner line of the pads outline is painted.
      • getPadFillColor

        public IColorConstant getPadFillColor()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the color in which the pads outline is filled. Note, that the pad is outlined with three adjacent lines (outer, middle, inner) and then filled inside.
        Returns:
        The color in which the pads outline is filled.
      • getPadDefaultOpacity

        public double getPadDefaultOpacity()
        Description copied from interface: IContextButtonPadDeclaration
        Returns the opacity which is used when painting the pad. Possible values are between 0.0 (invisible, transparent) and 1.0 (completely visible, opaque).
        Returns:
        The opacity which is used when painting the pad.