Class BorderHelper


  • public class BorderHelper
    extends java.lang.Object
    Provides utility methods to draw borders.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void drawRectangularBorder​(ej.microui.display.GraphicsContext g, int width, int height, int left, int top, int right, int bottom)
      Draw a rectangular border with the given dimensions and given thickness for each side, using the given graphics context.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • drawRectangularBorder

        public static void drawRectangularBorder​(ej.microui.display.GraphicsContext g,
                                                 int width,
                                                 int height,
                                                 int left,
                                                 int top,
                                                 int right,
                                                 int bottom)
        Draw a rectangular border with the given dimensions and given thickness for each side, using the given graphics context.
        Parameters:
        g - the graphics context to use.
        width - the width of the border.
        height - the height of the border.
        left - the left thickness of the border.
        top - the top thickness of the border.
        right - the right thickness of the border.
        bottom - the bottom thickness of the border.