Package ej.mwt.style.outline.border
Class BorderHelper
- java.lang.Object
-
- ej.mwt.style.outline.border.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.
-
-
-
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.
-
-