public abstract class NvgIconRenderer<I extends Icon> extends IconRenderer<I>
Constructor and Description |
---|
NvgIconRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
renderIcon(I icon,
Component component,
Context context)
This method called by base abstract icon renderer.
|
protected abstract void |
renderIcon(I icon,
Component component,
Context context,
long nanovg)
Used to render specific Icon.
|
destroy, initialize, render
public void renderIcon(I icon, Component component, Context context)
renderIcon
in class IconRenderer<I extends Icon>
icon
- icon to render.component
- component - icon owner.context
- context.