immediateRender

This method will render the content immediately.

void immediateRender(final Runnable content)

rect

This method will render a rect.

void rect(final float x, final float y, final float width,final float height, final int color)

Gradient Rect

This method will render a gradient rect.

public static void rectGradient(final float x, final float y, final float width,final float height, final int color1, final int color2,final float angleDegrees)

Rounded Rect

This method will render a rounded rect.

public static void roundedRect(final float x, final float y, final float width,final float height, final float radius, final int color)

Rounded Varying Rect

This method will render a rounded varying rect.

public static void roundedRectVarying(final float x, final float y, final float width,final float height, final float radiusTopLeft,final float radiusTopRight, final float radiusBottomRight,final float radiusBottomLeft, final int color)

Gradient Rounded Rect

This method will render a gradient rounded rect.

public static void roundedRectGradient(final float x, final float y, final float width,final float height, final float radius, final int color1,final int color2, final float angleDegrees)

Gradient Rounded Varying Rect

This method will render a gradient rounded varying rect.

public static void roundedRectGradientVarying(final float x, final float y, final float width,final float height, final float radiusTopLeft,final float radiusTopRight, final float radiusBottomRight,final float radiusBottomLeft, final int color1, final int color2,final float angleDegrees)

Outline Rect

This method will render an outline rect.

public static void rectOutline(final float x, final float y, final float width,final float height, final float thickness, final int color)

Rounded Outline Rect

This method will render a rounded outline rect.

public static void roundedRectOutline(final float x, final float y, final float width,final float height, final float radius, final float thickness, final int color)

Rotate

Rotates the content by the specified degrees around the specified point.

public static void rotate(final double degrees, final float x, final float y, final float width,final float height, final Runnable content)

Scale

Scales the content by the specified factor around the specified point.

public static void scale(final float factor, final float x, final float y, final float width,final float height, final Runnable content)