PulpCore

Uses of Class
pulpcore.image.CoreFont

Packages that use CoreFont
pulpcore.image Provides classes for images, fonts, and graphic rendering. 
pulpcore.scene Provides the Scene class and a few Scene implementations. 
pulpcore.sprite Provides the Sprite class, the ImageSprite class, and a few Sprite-based widgets. 
pulpcore.util Provides utility classes for Strings, Base64 encoding, and byte arrays. 
 

Uses of CoreFont in pulpcore.image
 

Methods in pulpcore.image that return CoreFont
 CoreFont CoreFont.background(int argbColor)
          Deprecated. Background colors do not appear correctly
 CoreFont CoreFont.fade(int alpha)
          Deprecated. Fade dynamically using a Label instead
 CoreFont CoreGraphics.getFont()
           
static CoreFont CoreFont.getSystemFont()
           
static CoreFont CoreFont.load(String fontAsset)
          Loads a PNG-based image font from the asset catalog.
 CoreFont CoreFont.scale(double scale)
          Deprecated. Scale dynamically using a Label instead
 CoreFont CoreFont.tint(int rgbColor)
          Returns a new CoreFont with every pixel set to the specified color, without changing the alpha of each pixel.
 

Methods in pulpcore.image with parameters of type CoreFont
 void CoreGraphics.setFont(CoreFont font)
           
 

Uses of CoreFont in pulpcore.scene
 

Constructors in pulpcore.scene with parameters of type CoreFont
LoadingScene(String assetCatalogFile, Scene nextScene, int backgroundColor, CoreFont font)
           
 

Uses of CoreFont in pulpcore.sprite
 

Methods in pulpcore.sprite that return CoreFont
 CoreFont Label.getFont()
           
 

Methods in pulpcore.sprite with parameters of type CoreFont
static Button Button.createLabeledButton(CoreImage[] images, CoreFont font, String text, int x, int y)
           
static Button Button.createLabeledButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, double textAnchorX, double textAnchorY, boolean offsetPressedText)
           
static Button Button.createLabeledButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, double textAnchorX, double textAnchorY, boolean isToggleButton, boolean offsetPressedText)
           
static Button Button.createLabeledButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, int textAnchor, boolean offsetPressedText)
          Deprecated.  
static Button Button.createLabeledButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, int textAnchor, boolean isToggleButton, boolean offsetPressedText)
          Deprecated.  
static Button Button.createLabeledToggleButton(CoreImage[] images, CoreFont font, String text, int x, int y)
           
static Button Button.createLabeledToggleButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, double textAnchorX, double textAnchorY, boolean offsetPressedText)
           
static Button Button.createLabeledToggleButton(CoreImage[] images, CoreFont font, String text, int x, int y, int textX, int textY, int textAnchor, boolean offsetPressedText)
          Deprecated.  
static Group Label.createMultilineLabel(CoreFont font, String text, double x, double y)
          Creates a Group of Labels with the specified Font.
static Group Label.createMultilineLabel(CoreFont font, String text, double x, double y, int viewWidth)
          Creates a Group of Labels with the specified Font.
static Group Label.createMultilineLabel(CoreFont font, String text, int x, int y)
          Creates a Group of Labels with the specified Font.
static Group Label.createMultilineLabel(CoreFont font, String text, int x, int y, int viewWidth)
          Creates a Group of Labels with the specified Font.
 void Label.setFont(CoreFont font)
          Set this Label's font and resizes it if necessary.
 

Constructors in pulpcore.sprite with parameters of type CoreFont
Label(CoreFont font, String text, double x, double y)
           
Label(CoreFont font, String text, double x, double y, double w, double h)
          If height < 0, the height is automatically set to fit the font height.
Label(CoreFont font, String text, int x, int y)
           
Label(CoreFont font, String text, int x, int y, int w, int h)
          If height < 0, the height is automatically set to fit the font height.
TextField(CoreFont font, CoreFont selectionFont, String text, double x, double y)
           
TextField(CoreFont font, CoreFont selectionFont, String text, double x, double y, double w, double h)
          If height < 0, the height is automatically set to fit the font height.
TextField(CoreFont font, CoreFont selectionFont, String text, int x, int y)
           
TextField(CoreFont font, CoreFont selectionFont, String text, int x, int y, int w, int h)
          If height < 0, the height is automatically set to fit the font height.
 

Uses of CoreFont in pulpcore.util
 

Methods in pulpcore.util with parameters of type CoreFont
static String[] StringUtil.wordWrap(String text, CoreFont font, int maxWidth)
          Word-wraps a line of text to multiple lines.
 


PulpCore

Copyright © 2007-2009 Interactive Pulp, LLC.