| Package | Description |
|---|---|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| Modifier and Type | Method and Description |
|---|---|
static FontImage |
FontImage.create(String text,
Style s)
Creates the font image based on the given style, the font in the style is assumed to be an icon font
|
static FontImage |
FontImage.create(String text,
Style s,
Font fnt)
Creates the font image with the given style settings but uses the given font, notice that the
size of the given font determines the size of the icon!
|
static FontImage |
FontImage.createFixed(String text,
Font fnt,
int color,
int width,
int height)
Creates a font image with a fixed size/appearance
|
static FontImage |
FontImage.createFixed(String text,
Font fnt,
int color,
int width,
int height,
int padding)
Creates a font image with a fixed size/appearance
|
static FontImage |
FontImage.createMaterial(char icon,
String style,
float size)
Creates a material design icon font for the given style but size it in millimeters based
on the size argument and not the font
|
static FontImage |
FontImage.createMaterial(char icon,
Style s)
Creates a material design icon font for the given style
|
static FontImage |
FontImage.createMaterial(char icon,
Style s,
float size)
Creates a material design icon font for the given style but size it in millimeters based
on the size argument and not the font
|
FontImage |
FontImage.rotateAnimation()
Creates a copy of this image that rotates itself in an animation
|
Copyright © 2022. All rights reserved.