Class DelegateBorderPainter

    • Field Detail

      • displayName

        protected String displayName
        Display name of this border painter.
      • topMask

        protected int topMask
        8-digit hexadecimal mask applied on the top color painted by delegate. Can be used to apply custom translucency. For example, value 0x80FFFFFF will result in 50% translucency of the original top border color.
      • midMask

        protected int midMask
        8-digit hexadecimal mask applied on the middle color painted by delegate. Can be used to apply custom translucency. For example, value 0x80FFFFFF will result in 50% translucency of the original middle border color.
      • bottomMask

        protected int bottomMask
        8-digit hexadecimal mask applied on the bottom color painted by delegate. Can be used to apply custom translucency. For example, value 0x80FFFFFF will result in 50% translucency of the original bottom border color.
      • transform

        protected ColorSchemeTransform transform
        Transformation to be applied on the color schemes prior to compute the colors to be used for border painting.
    • Constructor Detail

      • DelegateBorderPainter

        public DelegateBorderPainter​(String displayName,
                                     StandardBorderPainter delegate,
                                     ColorSchemeTransform transform)
        Creates a new delegate border painter
        Parameters:
        displayName - Display name of this border painter.
        delegate - The delegate border painter.
        transform - Transformation to be applied on the color schemes prior to compute the colors to be used for border painting.
      • DelegateBorderPainter

        public DelegateBorderPainter​(String displayName,
                                     StandardBorderPainter delegate,
                                     int topMask,
                                     int midMask,
                                     int bottomMask,
                                     ColorSchemeTransform transform)
        Creates a new delegate border painter
        Parameters:
        displayName - Display name of this border painter.
        delegate - The delegate border painter.
        topMask - 8-digit hexadecimal mask applied on the top color painted by the delegate.
        midMask - 8-digit hexadecimal mask applied on the middle color painted by the delegate.
        bottomMask - 8-digit hexadecimal mask applied on the bottom color painted by the delegate.
        transform - Transformation to be applied on the color schemes prior to compute the colors to be used for border painting.