Uses of Class
processing.core.PFont
-
Packages that use PFont Package Description processing.core processing.opengl -
-
Uses of PFont in processing.core
Fields in processing.core declared as PFont Modifier and Type Field Description protected PFontPShapeSVG.Text. fontPFontPGraphics. textFontThe current text font (read-only)PFontPStyle. textFontMethods in processing.core that return PFont Modifier and Type Method Description protected PFontPGraphics. createDefaultFont(float size)Used by PGraphics to remove the requirement for loading a font.PFontPApplet. createFont(String name, float size)PFontPApplet. createFont(String name, float size, boolean smooth)PFontPApplet. createFont(String name, float size, boolean smooth, char[] charset)( begin auto-generated from createFont.xml ) Dynamically converts a font to the format used by Processing from either a font name that's installed on the computer, or from a .ttf or .otf file inside the sketches "data" folder.protected PFontPGraphics. createFont(String name, float size, boolean smooth, char[] charset)protected static PFontPShapeSVG. createFont(String name, int weight, float size, boolean smooth)PFontPApplet. loadFont(String filename)( begin auto-generated from loadFont.xml ) Loads a font into a variable of type PFont.Methods in processing.core with parameters of type PFont Modifier and Type Method Description voidPApplet. textFont(PFont which)( begin auto-generated from textFont.xml ) Sets the current font that will be drawn with the text() function.voidPApplet. textFont(PFont which, float size)voidPGraphics. textFont(PFont which)( begin auto-generated from textFont.xml ) Sets the current font that will be drawn with the text() function.voidPGraphics. textFont(PFont which, float size)protected voidPGraphics. textFontImpl(PFont which, float size)Called from textFont. -
Uses of PFont in processing.opengl
Fields in processing.opengl with type parameters of type PFont Modifier and Type Field Description protected WeakHashMap<PFont,processing.opengl.FontTexture>PGraphicsOpenGL. fontMapFont cache for texture objects.Methods in processing.opengl with parameters of type PFont Modifier and Type Method Description protected processing.opengl.FontTexturePGraphicsOpenGL. getFontTexture(PFont font)protected voidPGraphicsOpenGL. removeFontTexture(PFont font)protected voidPGraphicsOpenGL. setFontTexture(PFont font, processing.opengl.FontTexture fontTexture)
-