RingJavafor Ring

java.awt.font

20 classes of the module java.desktop.

Load them with:

using {
	"java.awt.font"
}

All packages

FontRenderContext#

class · extends Object · java.awt.font.FontRenderContext

Constructors

new FontRenderContext(AffineTransform tx, Object aaHint, Object fmHint)
new FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)

Ring: new FontRenderContext(args) uses the constructor with the fewest parameters (at least one); new FontRenderContext makes the object with the constructor without parameters; the others: (new FontRenderContext).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getAntiAliasingHintgetAntiAliasingHint()Object getAntiAliasingHint()
getFractionalMetricsHintgetFractionalMetricsHint()Object getFractionalMetricsHint()
getTransformgetTransform()AffineTransform getTransform()
getTransformTypegetTransformType()int getTransformType()
isAntiAliasedisAntiAliased()boolean isAntiAliased()
isTransformedisTransformed()boolean isTransformed()
usesFractionalMetricsusesFractionalMetrics()boolean usesFractionalMetrics()

The methods and fields of Object are inherited.

GlyphJustificationInfo#

class final · extends Object · java.awt.font.GlyphJustificationInfo

Constructors

new GlyphJustificationInfo(float weight, boolean growAbsorb, int growPriority, float growLeftLimit, float growRightLimit, boolean shrinkAbsorb, int shrinkPriority, float shrinkLeftLimit, float shrinkRightLimit)

Ring: new GlyphJustificationInfo(args) uses the constructor with the fewest parameters (at least one); new GlyphJustificationInfo makes the object with the constructor without parameters; the others: (new GlyphJustificationInfo).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
PRIORITY_KASHIDAintconstant · statico.PRIORITY_KASHIDA
PRIORITY_WHITESPACEintconstant · statico.PRIORITY_WHITESPACE
PRIORITY_INTERCHARintconstant · statico.PRIORITY_INTERCHAR
PRIORITY_NONEintconstant · statico.PRIORITY_NONE
weightfloatconstanto.weight
growPriorityintconstanto.growPriority
growAbsorbbooleanconstanto.growAbsorb
growLeftLimitfloatconstanto.growLeftLimit
growRightLimitfloatconstanto.growRightLimit
shrinkPriorityintconstanto.shrinkPriority
shrinkAbsorbbooleanconstanto.shrinkAbsorb
shrinkLeftLimitfloatconstanto.shrinkLeftLimit
shrinkRightLimitfloatconstanto.shrinkRightLimit

The methods and fields of Object are inherited.

GlyphMetrics#

class final · extends Object · java.awt.font.GlyphMetrics

Constructors

new GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType)
new GlyphMetrics(boolean horizontal, float advanceX, float advanceY, Rectangle2D bounds, byte glyphType)

Ring: new GlyphMetrics(args) uses the constructor with the fewest parameters (at least one); new GlyphMetrics makes the object with the constructor without parameters; the others: (new GlyphMetrics).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
STANDARDbyteconstant · statico.STANDARD
LIGATUREbyteconstant · statico.LIGATURE
COMBININGbyteconstant · statico.COMBINING
COMPONENTbyteconstant · statico.COMPONENT
WHITESPACEbyteconstant · statico.WHITESPACE

Methods

MethodRing callJava overloads
getAdvancegetAdvance()float getAdvance()
getAdvanceXgetAdvanceX()float getAdvanceX()
getAdvanceYgetAdvanceY()float getAdvanceY()
getBounds2DgetBounds2D()Rectangle2D getBounds2D()
getLSBgetLSB()float getLSB()
getRSBgetRSB()float getRSB()
getTypegetType()int getType()
isCombiningisCombining()boolean isCombining()
isComponentisComponent()boolean isComponent()
isLigatureisLigature()boolean isLigature()
isStandardisStandard()boolean isStandard()
isWhitespaceisWhitespace()boolean isWhitespace()

The methods and fields of Object are inherited.

GlyphVector#

abstract · extends Object · java.awt.font.GlyphVector

Implements: Cloneable

Fields

NameTypeAccessIn Ring
FLAG_HAS_TRANSFORMSintconstant · statico.FLAG_HAS_TRANSFORMS
FLAG_HAS_POSITION_ADJUSTMENTSintconstant · statico.FLAG_HAS_POSITION_ADJUSTMENTS
FLAG_RUN_RTLintconstant · statico.FLAG_RUN_RTL
FLAG_COMPLEX_GLYPHSintconstant · statico.FLAG_COMPLEX_GLYPHS
FLAG_MASKintconstant · statico.FLAG_MASK

Methods

MethodRing callJava overloads
@getOutline@getOutline([x,y])
@getOutline([ :x = v, :y = v ])
Shape getOutline(float x, float y)
getFontgetFont()Font getFont()
getFontRenderContextgetFontRenderContext()FontRenderContext getFontRenderContext()
getGlyphCharIndexgetGlyphCharIndex(glyphIndex)int getGlyphCharIndex(int glyphIndex)
getGlyphCharIndicesgetGlyphCharIndices(beginGlyphIndex,numEntries,codeReturn)int[] getGlyphCharIndices(int beginGlyphIndex, int numEntries, int[] codeReturn)
getGlyphCodegetGlyphCode(glyphIndex)int getGlyphCode(int glyphIndex)
getGlyphCodesgetGlyphCodes(beginGlyphIndex,numEntries,codeReturn)int[] getGlyphCodes(int beginGlyphIndex, int numEntries, int[] codeReturn)
getGlyphJustificationInfogetGlyphJustificationInfo(glyphIndex)GlyphJustificationInfo getGlyphJustificationInfo(int glyphIndex)
getGlyphLogicalBoundsgetGlyphLogicalBounds(glyphIndex)Shape getGlyphLogicalBounds(int glyphIndex)
getGlyphMetricsgetGlyphMetrics(glyphIndex)GlyphMetrics getGlyphMetrics(int glyphIndex)
getGlyphOutlinegetGlyphOutline(glyphIndex)
getGlyphOutline([glyphIndex,x,y])
getGlyphOutline([ :glyphIndex = v, :x = v, :y = v ])
Shape getGlyphOutline(int glyphIndex)
Shape getGlyphOutline(int glyphIndex, float x, float y)
getGlyphPixelBoundsgetGlyphPixelBounds(index,renderFRC,x,y)Rectangle getGlyphPixelBounds(int index, FontRenderContext renderFRC, float x, float y)
getGlyphPositiongetGlyphPosition(glyphIndex)Point2D getGlyphPosition(int glyphIndex)
getGlyphPositionsgetGlyphPositions(beginGlyphIndex,numEntries,positionReturn)float[] getGlyphPositions(int beginGlyphIndex, int numEntries, float[] positionReturn)
getGlyphTransformgetGlyphTransform(glyphIndex)AffineTransform getGlyphTransform(int glyphIndex)
getGlyphVisualBoundsgetGlyphVisualBounds(glyphIndex)Shape getGlyphVisualBounds(int glyphIndex)
getLayoutFlagsgetLayoutFlags()int getLayoutFlags()
getLogicalBoundsgetLogicalBounds()Rectangle2D getLogicalBounds()
getNumGlyphsgetNumGlyphs()int getNumGlyphs()
getOutlinegetOutline()Shape getOutline()
getPixelBoundsgetPixelBounds(renderFRC,x,y)Rectangle getPixelBounds(FontRenderContext renderFRC, float x, float y)
getVisualBoundsgetVisualBounds()Rectangle2D getVisualBounds()
performDefaultLayoutperformDefaultLayout()void performDefaultLayout()
setGlyphPositionsetGlyphPosition(glyphIndex,newPos)void setGlyphPosition(int glyphIndex, Point2D newPos)
setGlyphTransformsetGlyphTransform(glyphIndex,newTX)void setGlyphTransform(int glyphIndex, AffineTransform newTX)

The methods and fields of Object are inherited.

GraphicAttribute#

abstract · extends Object · java.awt.font.GraphicAttribute

Fields

NameTypeAccessIn Ring
TOP_ALIGNMENTintconstant · statico.TOP_ALIGNMENT
BOTTOM_ALIGNMENTintconstant · statico.BOTTOM_ALIGNMENT
ROMAN_BASELINEintconstant · statico.ROMAN_BASELINE
CENTER_BASELINEintconstant · statico.CENTER_BASELINE
HANGING_BASELINEintconstant · statico.HANGING_BASELINE

Methods

MethodRing callJava overloads
drawdraw(graphics,x,y)void draw(Graphics2D graphics, float x, float y)
getAdvancegetAdvance()float getAdvance()
getAlignmentgetAlignment()int getAlignment()
getAscentgetAscent()float getAscent()
getBoundsgetBounds()Rectangle2D getBounds()
getDescentgetDescent()float getDescent()
getJustificationInfogetJustificationInfo()GlyphJustificationInfo getJustificationInfo()
getOutlinegetOutline(tx)Shape getOutline(AffineTransform tx)

The methods and fields of Object are inherited.

ImageGraphicAttribute#

class final · extends GraphicAttribute · java.awt.font.ImageGraphicAttribute

Constructors

new ImageGraphicAttribute(Image image, int alignment)
new ImageGraphicAttribute(Image image, int alignment, float originX, float originY)

Ring: new ImageGraphicAttribute(args) uses the constructor with the fewest parameters (at least one); new ImageGraphicAttribute makes the object with the constructor without parameters; the others: (new ImageGraphicAttribute).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of GraphicAttribute are inherited.

LayoutPath#

abstract · extends Object · java.awt.font.LayoutPath

Methods

MethodRing callJava overloads
pathToPointpathToPoint(location,preceding,point)void pathToPoint(Point2D location, boolean preceding, Point2D point)
pointToPathpointToPath(point,location)boolean pointToPath(Point2D point, Point2D location)

The methods and fields of Object are inherited.

LineBreakMeasurer#

class final · extends Object · java.awt.font.LineBreakMeasurer

Constructors

new LineBreakMeasurer(AttributedCharacterIterator text, FontRenderContext frc)
new LineBreakMeasurer(AttributedCharacterIterator text, BreakIterator breakIter, FontRenderContext frc)

Ring: new LineBreakMeasurer(args) uses the constructor with the fewest parameters (at least one); new LineBreakMeasurer makes the object with the constructor without parameters; the others: (new LineBreakMeasurer).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
deleteChardeleteChar(newParagraph,deletePos)void deleteChar(AttributedCharacterIterator newParagraph, int deletePos)
getPositiongetPosition()int getPosition()
insertCharinsertChar(newParagraph,insertPos)void insertChar(AttributedCharacterIterator newParagraph, int insertPos)
nextLayoutnextLayout(wrappingWidth)
nextLayout([wrappingWidth,offsetLimit,requireNextWord])
nextLayout([ :wrappingWidth = v, :offsetLimit = v, :requireNextWord = v ])
TextLayout nextLayout(float wrappingWidth)
TextLayout nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
nextOffsetnextOffset(wrappingWidth)
nextOffset([wrappingWidth,offsetLimit,requireNextWord])
nextOffset([ :wrappingWidth = v, :offsetLimit = v, :requireNextWord = v ])
int nextOffset(float wrappingWidth)
int nextOffset(float wrappingWidth, int offsetLimit, boolean requireNextWord)
setPositionsetPosition(newPosition)void setPosition(int newPosition)

The methods and fields of Object are inherited.

LineMetrics#

abstract · extends Object · java.awt.font.LineMetrics

Methods

MethodRing callJava overloads
getAscentgetAscent()float getAscent()
getBaselineIndexgetBaselineIndex()int getBaselineIndex()
getBaselineOffsetsgetBaselineOffsets()float[] getBaselineOffsets()
getDescentgetDescent()float getDescent()
getHeightgetHeight()float getHeight()
getLeadinggetLeading()float getLeading()
getNumCharsgetNumChars()int getNumChars()
getStrikethroughOffsetgetStrikethroughOffset()float getStrikethroughOffset()
getStrikethroughThicknessgetStrikethroughThickness()float getStrikethroughThickness()
getUnderlineOffsetgetUnderlineOffset()float getUnderlineOffset()
getUnderlineThicknessgetUnderlineThickness()float getUnderlineThickness()

The methods and fields of Object are inherited.

MultipleMaster#

interface · java.awt.font.MultipleMaster

Methods

MethodRing callJava overloads
deriveMMFontderiveMMFont(axes)
deriveMMFont([glyphWidths,avgStemWidth,typicalCapHeight,typicalXHeight,italicAngle])
deriveMMFont([ :glyphWidths = v, :avgStemWidth = v, :typicalCapHeight = v, :typicalXHeight = v, :italicAngle = v ])
Font deriveMMFont(float[] axes)
Font deriveMMFont(float[] glyphWidths, float avgStemWidth, float typicalCapHeight, float typicalXHeight, float italicAngle)
getDesignAxisDefaultsgetDesignAxisDefaults()float[] getDesignAxisDefaults()
getDesignAxisNamesgetDesignAxisNames()String[] getDesignAxisNames()
getDesignAxisRangesgetDesignAxisRanges()float[] getDesignAxisRanges()
getNumDesignAxesgetNumDesignAxes()int getNumDesignAxes()

NumericShaper#

class final · extends Object · java.awt.font.NumericShaper

Implements: Serializable

Fields

NameTypeAccessIn Ring
EUROPEANintconstant · statico.EUROPEAN
ARABICintconstant · statico.ARABIC
EASTERN_ARABICintconstant · statico.EASTERN_ARABIC
DEVANAGARIintconstant · statico.DEVANAGARI
BENGALIintconstant · statico.BENGALI
GURMUKHIintconstant · statico.GURMUKHI
GUJARATIintconstant · statico.GUJARATI
ORIYAintconstant · statico.ORIYA
TAMILintconstant · statico.TAMIL
TELUGUintconstant · statico.TELUGU
KANNADAintconstant · statico.KANNADA
MALAYALAMintconstant · statico.MALAYALAM
THAIintconstant · statico.THAI
LAOintconstant · statico.LAO
TIBETANintconstant · statico.TIBETAN
MYANMARintconstant · statico.MYANMAR
ETHIOPICintconstant · statico.ETHIOPIC
KHMERintconstant · statico.KHMER
MONGOLIANintconstant · statico.MONGOLIAN
ALL_RANGESintconstant · statico.ALL_RANGES

Methods

MethodRing callJava overloads
getContextualShapergetContextualShaper(ranges)
getContextualShaper([ranges,defaultContext])
getContextualShaper([ :ranges = v, :defaultContext = v ])
static NumericShaper getContextualShaper(Set ranges)
static NumericShaper getContextualShaper(int ranges)
static NumericShaper getContextualShaper(Set ranges, Range defaultContext)
static NumericShaper getContextualShaper(int ranges, int defaultContext)
getRangesgetRanges()int getRanges()
getRangeSetgetRangeSet()Set getRangeSet()
getShapergetShaper(singleRange)static NumericShaper getShaper(Range singleRange)
static NumericShaper getShaper(int singleRange)
isContextualisContextual()boolean isContextual()
shapeshape([text,start,count])
shape([ :text = v, :start = v, :count = v ])
shape([text,start,count,context])
shape([ :text = v, :start = v, :count = v, :context = v ])
void shape(char[] text, int start, int count)
void shape(char[] text, int start, int count, int context)
void shape(char[] text, int start, int count, Range context)

The methods and fields of Object are inherited.

NumericShaperRange#

enum · extends Enum · java.awt.font.NumericShaper$Range

Fields

NameTypeAccessIn Ring
EUROPEANRangeconstant · statico.EUROPEAN
ARABICRangeconstant · statico.ARABIC
EASTERN_ARABICRangeconstant · statico.EASTERN_ARABIC
DEVANAGARIRangeconstant · statico.DEVANAGARI
BENGALIRangeconstant · statico.BENGALI
GURMUKHIRangeconstant · statico.GURMUKHI
GUJARATIRangeconstant · statico.GUJARATI
ORIYARangeconstant · statico.ORIYA
TAMILRangeconstant · statico.TAMIL
TELUGURangeconstant · statico.TELUGU
KANNADARangeconstant · statico.KANNADA
MALAYALAMRangeconstant · statico.MALAYALAM
THAIRangeconstant · statico.THAI
LAORangeconstant · statico.LAO
TIBETANRangeconstant · statico.TIBETAN
MYANMARRangeconstant · statico.MYANMAR
ETHIOPICRangeconstant · statico.ETHIOPIC
KHMERRangeconstant · statico.KHMER
MONGOLIANRangeconstant · statico.MONGOLIAN
NKORangeconstant · statico.NKO
MYANMAR_SHANRangeconstant · statico.MYANMAR_SHAN
LIMBURangeconstant · statico.LIMBU
NEW_TAI_LUERangeconstant · statico.NEW_TAI_LUE
BALINESERangeconstant · statico.BALINESE
SUNDANESERangeconstant · statico.SUNDANESE
LEPCHARangeconstant · statico.LEPCHA
OL_CHIKIRangeconstant · statico.OL_CHIKI
VAIRangeconstant · statico.VAI
SAURASHTRARangeconstant · statico.SAURASHTRA
KAYAH_LIRangeconstant · statico.KAYAH_LI
CHAMRangeconstant · statico.CHAM
TAI_THAM_HORARangeconstant · statico.TAI_THAM_HORA
TAI_THAM_THAMRangeconstant · statico.TAI_THAM_THAM
JAVANESERangeconstant · statico.JAVANESE
MEETEI_MAYEKRangeconstant · statico.MEETEI_MAYEK
SINHALARangeconstant · statico.SINHALA
MYANMAR_TAI_LAINGRangeconstant · statico.MYANMAR_TAI_LAING

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Range valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Range[] values()

The methods and fields of Enum are inherited.

OpenType#

interface · java.awt.font.OpenType

Fields

NameTypeAccessIn Ring
TAG_CMAPintconstant · statico.TAG_CMAP
TAG_HEADintconstant · statico.TAG_HEAD
TAG_NAMEintconstant · statico.TAG_NAME
TAG_GLYFintconstant · statico.TAG_GLYF
TAG_MAXPintconstant · statico.TAG_MAXP
TAG_PREPintconstant · statico.TAG_PREP
TAG_HMTXintconstant · statico.TAG_HMTX
TAG_KERNintconstant · statico.TAG_KERN
TAG_HDMXintconstant · statico.TAG_HDMX
TAG_LOCAintconstant · statico.TAG_LOCA
TAG_POSTintconstant · statico.TAG_POST
TAG_OS2intconstant · statico.TAG_OS2
TAG_CVTintconstant · statico.TAG_CVT
TAG_GASPintconstant · statico.TAG_GASP
TAG_VDMXintconstant · statico.TAG_VDMX
TAG_VMTXintconstant · statico.TAG_VMTX
TAG_VHEAintconstant · statico.TAG_VHEA
TAG_HHEAintconstant · statico.TAG_HHEA
TAG_TYP1intconstant · statico.TAG_TYP1
TAG_BSLNintconstant · statico.TAG_BSLN
TAG_GSUBintconstant · statico.TAG_GSUB
TAG_DSIGintconstant · statico.TAG_DSIG
TAG_FPGMintconstant · statico.TAG_FPGM
TAG_FVARintconstant · statico.TAG_FVAR
TAG_GVARintconstant · statico.TAG_GVAR
TAG_CFFintconstant · statico.TAG_CFF
TAG_MMSDintconstant · statico.TAG_MMSD
TAG_MMFXintconstant · statico.TAG_MMFX
TAG_BASEintconstant · statico.TAG_BASE
TAG_GDEFintconstant · statico.TAG_GDEF
TAG_GPOSintconstant · statico.TAG_GPOS
TAG_JSTFintconstant · statico.TAG_JSTF
TAG_EBDTintconstant · statico.TAG_EBDT
TAG_EBLCintconstant · statico.TAG_EBLC
TAG_EBSCintconstant · statico.TAG_EBSC
TAG_LTSHintconstant · statico.TAG_LTSH
TAG_PCLTintconstant · statico.TAG_PCLT
TAG_ACNTintconstant · statico.TAG_ACNT
TAG_AVARintconstant · statico.TAG_AVAR
TAG_BDATintconstant · statico.TAG_BDAT
TAG_BLOCintconstant · statico.TAG_BLOC
TAG_CVARintconstant · statico.TAG_CVAR
TAG_FEATintconstant · statico.TAG_FEAT
TAG_FDSCintconstant · statico.TAG_FDSC
TAG_FMTXintconstant · statico.TAG_FMTX
TAG_JUSTintconstant · statico.TAG_JUST
TAG_LCARintconstant · statico.TAG_LCAR
TAG_MORTintconstant · statico.TAG_MORT
TAG_OPBDintconstant · statico.TAG_OPBD
TAG_PROPintconstant · statico.TAG_PROP
TAG_TRAKintconstant · statico.TAG_TRAK

Methods

MethodRing callJava overloads
getFontTablegetFontTable(strSfntTag)
getFontTable([strSfntTag,offset,count])
getFontTable([ :strSfntTag = v, :offset = v, :count = v ])
byte[] getFontTable(String strSfntTag)
byte[] getFontTable(int sfntTag)
byte[] getFontTable(String strSfntTag, int offset, int count)
byte[] getFontTable(int sfntTag, int offset, int count)
getFontTableSizegetFontTableSize(strSfntTag)int getFontTableSize(String strSfntTag)
int getFontTableSize(int sfntTag)
getVersiongetVersion()int getVersion()

ShapeGraphicAttribute#

class final · extends GraphicAttribute · java.awt.font.ShapeGraphicAttribute

Constructors

new ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke)

Ring: new ShapeGraphicAttribute(args) uses the constructor with the fewest parameters (at least one); new ShapeGraphicAttribute makes the object with the constructor without parameters; the others: (new ShapeGraphicAttribute).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
STROKEbooleanconstant · statico.STROKE
FILLbooleanconstant · statico.FILL

The methods and fields of GraphicAttribute are inherited.

TextAttribute#

class final · extends AttributedCharacterIteratorAttribute · java.awt.font.TextAttribute

Fields

NameTypeAccessIn Ring
FAMILYTextAttributeconstant · statico.FAMILY
WEIGHTTextAttributeconstant · statico.WEIGHT
WEIGHT_EXTRA_LIGHTFloatconstant · statico.WEIGHT_EXTRA_LIGHT
WEIGHT_LIGHTFloatconstant · statico.WEIGHT_LIGHT
WEIGHT_DEMILIGHTFloatconstant · statico.WEIGHT_DEMILIGHT
WEIGHT_REGULARFloatconstant · statico.WEIGHT_REGULAR
WEIGHT_SEMIBOLDFloatconstant · statico.WEIGHT_SEMIBOLD
WEIGHT_MEDIUMFloatconstant · statico.WEIGHT_MEDIUM
WEIGHT_DEMIBOLDFloatconstant · statico.WEIGHT_DEMIBOLD
WEIGHT_BOLDFloatconstant · statico.WEIGHT_BOLD
WEIGHT_HEAVYFloatconstant · statico.WEIGHT_HEAVY
WEIGHT_EXTRABOLDFloatconstant · statico.WEIGHT_EXTRABOLD
WEIGHT_ULTRABOLDFloatconstant · statico.WEIGHT_ULTRABOLD
WIDTHTextAttributeconstant · statico.WIDTH
WIDTH_CONDENSEDFloatconstant · statico.WIDTH_CONDENSED
WIDTH_SEMI_CONDENSEDFloatconstant · statico.WIDTH_SEMI_CONDENSED
WIDTH_REGULARFloatconstant · statico.WIDTH_REGULAR
WIDTH_SEMI_EXTENDEDFloatconstant · statico.WIDTH_SEMI_EXTENDED
WIDTH_EXTENDEDFloatconstant · statico.WIDTH_EXTENDED
POSTURETextAttributeconstant · statico.POSTURE
POSTURE_REGULARFloatconstant · statico.POSTURE_REGULAR
POSTURE_OBLIQUEFloatconstant · statico.POSTURE_OBLIQUE
SIZETextAttributeconstant · statico.SIZE
TRANSFORMTextAttributeconstant · statico.TRANSFORM
SUPERSCRIPTTextAttributeconstant · statico.SUPERSCRIPT
SUPERSCRIPT_SUPERIntegerconstant · statico.SUPERSCRIPT_SUPER
SUPERSCRIPT_SUBIntegerconstant · statico.SUPERSCRIPT_SUB
FONTTextAttributeconstant · statico.FONT
CHAR_REPLACEMENTTextAttributeconstant · statico.CHAR_REPLACEMENT
FOREGROUNDTextAttributeconstant · statico.FOREGROUND
BACKGROUNDTextAttributeconstant · statico.BACKGROUND
UNDERLINETextAttributeconstant · statico.UNDERLINE
UNDERLINE_ONIntegerconstant · statico.UNDERLINE_ON
STRIKETHROUGHTextAttributeconstant · statico.STRIKETHROUGH
STRIKETHROUGH_ONBooleanconstant · statico.STRIKETHROUGH_ON
RUN_DIRECTIONTextAttributeconstant · statico.RUN_DIRECTION
RUN_DIRECTION_LTRBooleanconstant · statico.RUN_DIRECTION_LTR
RUN_DIRECTION_RTLBooleanconstant · statico.RUN_DIRECTION_RTL
BIDI_EMBEDDINGTextAttributeconstant · statico.BIDI_EMBEDDING
JUSTIFICATIONTextAttributeconstant · statico.JUSTIFICATION
JUSTIFICATION_FULLFloatconstant · statico.JUSTIFICATION_FULL
JUSTIFICATION_NONEFloatconstant · statico.JUSTIFICATION_NONE
INPUT_METHOD_HIGHLIGHTTextAttributeconstant · statico.INPUT_METHOD_HIGHLIGHT
INPUT_METHOD_UNDERLINETextAttributeconstant · statico.INPUT_METHOD_UNDERLINE
UNDERLINE_LOW_ONE_PIXELIntegerconstant · statico.UNDERLINE_LOW_ONE_PIXEL
UNDERLINE_LOW_TWO_PIXELIntegerconstant · statico.UNDERLINE_LOW_TWO_PIXEL
UNDERLINE_LOW_DOTTEDIntegerconstant · statico.UNDERLINE_LOW_DOTTED
UNDERLINE_LOW_GRAYIntegerconstant · statico.UNDERLINE_LOW_GRAY
UNDERLINE_LOW_DASHEDIntegerconstant · statico.UNDERLINE_LOW_DASHED
SWAP_COLORSTextAttributeconstant · statico.SWAP_COLORS
SWAP_COLORS_ONBooleanconstant · statico.SWAP_COLORS_ON
NUMERIC_SHAPINGTextAttributeconstant · statico.NUMERIC_SHAPING
KERNINGTextAttributeconstant · statico.KERNING
KERNING_ONIntegerconstant · statico.KERNING_ON
LIGATURESTextAttributeconstant · statico.LIGATURES
LIGATURES_ONIntegerconstant · statico.LIGATURES_ON
TRACKINGTextAttributeconstant · statico.TRACKING
TRACKING_TIGHTFloatconstant · statico.TRACKING_TIGHT
TRACKING_LOOSEFloatconstant · statico.TRACKING_LOOSE

The methods and fields of AttributedCharacterIteratorAttribute are inherited.

TextHitInfo#

class final · extends Object · java.awt.font.TextHitInfo

Methods

MethodRing callJava overloads
afterOffsetafterOffset(offset)static TextHitInfo afterOffset(int offset)
beforeOffsetbeforeOffset(offset)static TextHitInfo beforeOffset(int offset)
getCharIndexgetCharIndex()int getCharIndex()
getInsertionIndexgetInsertionIndex()int getInsertionIndex()
getOffsetHitgetOffsetHit(delta)TextHitInfo getOffsetHit(int delta)
getOtherHitgetOtherHit()TextHitInfo getOtherHit()
isLeadingEdgeisLeadingEdge()boolean isLeadingEdge()
leadingleading(charIndex)static TextHitInfo leading(int charIndex)
trailingtrailing(charIndex)static TextHitInfo trailing(int charIndex)

The methods and fields of Object are inherited.

TextLayout#

class final · extends Object · java.awt.font.TextLayout

Implements: Cloneable

Constructors

new TextLayout(AttributedCharacterIterator text, FontRenderContext frc)
new TextLayout(String string, Map attributes, FontRenderContext frc)
new TextLayout(String string, Font font, FontRenderContext frc)

Ring: new TextLayout(args) uses the constructor with the fewest parameters (at least one); new TextLayout makes the object with the constructor without parameters; the others: (new TextLayout).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
DEFAULT_CARET_POLICYCaretPolicyconstant · statico.DEFAULT_CARET_POLICY

Methods

MethodRing callJava overloads
drawdraw(g2,x,y)void draw(Graphics2D g2, float x, float y)
getAdvancegetAdvance()float getAdvance()
getAscentgetAscent()float getAscent()
getBaselinegetBaseline()byte getBaseline()
getBaselineOffsetsgetBaselineOffsets()float[] getBaselineOffsets()
getBlackBoxBoundsgetBlackBoxBounds(firstEndpoint,secondEndpoint)Shape getBlackBoxBounds(int firstEndpoint, int secondEndpoint)
getBoundsgetBounds()Rectangle2D getBounds()
getCaretInfogetCaretInfo(hit)
getCaretInfo([hit,bounds])
getCaretInfo([ :hit = v, :bounds = v ])
float[] getCaretInfo(TextHitInfo hit)
float[] getCaretInfo(TextHitInfo hit, Rectangle2D bounds)
getCaretShapegetCaretShape(hit)
getCaretShape([hit,bounds])
getCaretShape([ :hit = v, :bounds = v ])
Shape getCaretShape(TextHitInfo hit)
Shape getCaretShape(TextHitInfo hit, Rectangle2D bounds)
getCaretShapesgetCaretShapes(offset)
getCaretShapes([offset,bounds])
getCaretShapes([ :offset = v, :bounds = v ])
getCaretShapes([offset,bounds,policy])
getCaretShapes([ :offset = v, :bounds = v, :policy = v ])
Shape[] getCaretShapes(int offset)
Shape[] getCaretShapes(int offset, Rectangle2D bounds)
Shape[] getCaretShapes(int offset, Rectangle2D bounds, CaretPolicy policy)
getCharacterCountgetCharacterCount()int getCharacterCount()
getCharacterLevelgetCharacterLevel(index)byte getCharacterLevel(int index)
getDescentgetDescent()float getDescent()
getJustifiedLayoutgetJustifiedLayout(justificationWidth)TextLayout getJustifiedLayout(float justificationWidth)
getLayoutPathgetLayoutPath()LayoutPath getLayoutPath()
getLeadinggetLeading()float getLeading()
getLogicalHighlightShapegetLogicalHighlightShape([firstEndpoint,secondEndpoint])
getLogicalHighlightShape([ :firstEndpoint = v, :secondEndpoint = v ])
getLogicalHighlightShape([firstEndpoint,secondEndpoint,bounds])
getLogicalHighlightShape([ :firstEndpoint = v, :secondEndpoint = v, :bounds = v ])
Shape getLogicalHighlightShape(int firstEndpoint, int secondEndpoint)
Shape getLogicalHighlightShape(int firstEndpoint, int secondEndpoint, Rectangle2D bounds)
getLogicalRangesForVisualSelectiongetLogicalRangesForVisualSelection(firstEndpoint,secondEndpoint)int[] getLogicalRangesForVisualSelection(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)
getNextLeftHitgetNextLeftHit(offset)
getNextLeftHit([offset,policy])
getNextLeftHit([ :offset = v, :policy = v ])
TextHitInfo getNextLeftHit(int offset)
TextHitInfo getNextLeftHit(TextHitInfo hit)
TextHitInfo getNextLeftHit(int offset, CaretPolicy policy)
getNextRightHitgetNextRightHit(offset)
getNextRightHit([offset,policy])
getNextRightHit([ :offset = v, :policy = v ])
TextHitInfo getNextRightHit(int offset)
TextHitInfo getNextRightHit(TextHitInfo hit)
TextHitInfo getNextRightHit(int offset, CaretPolicy policy)
getOutlinegetOutline(tx)Shape getOutline(AffineTransform tx)
getPixelBoundsgetPixelBounds(frc,x,y)Rectangle getPixelBounds(FontRenderContext frc, float x, float y)
getVisibleAdvancegetVisibleAdvance()float getVisibleAdvance()
getVisualHighlightShapegetVisualHighlightShape([firstEndpoint,secondEndpoint])
getVisualHighlightShape([ :firstEndpoint = v, :secondEndpoint = v ])
getVisualHighlightShape([firstEndpoint,secondEndpoint,bounds])
getVisualHighlightShape([ :firstEndpoint = v, :secondEndpoint = v, :bounds = v ])
Shape getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint)
Shape getVisualHighlightShape(TextHitInfo firstEndpoint, TextHitInfo secondEndpoint, Rectangle2D bounds)
getVisualOtherHitgetVisualOtherHit(hit)TextHitInfo getVisualOtherHit(TextHitInfo hit)
hitTestCharhitTestChar([x,y])
hitTestChar([ :x = v, :y = v ])
hitTestChar([x,y,bounds])
hitTestChar([ :x = v, :y = v, :bounds = v ])
TextHitInfo hitTestChar(float x, float y)
TextHitInfo hitTestChar(float x, float y, Rectangle2D bounds)
hitToPointhitToPoint(hit,point)void hitToPoint(TextHitInfo hit, Point2D point)
isLeftToRightisLeftToRight()boolean isLeftToRight()
isVerticalisVertical()boolean isVertical()

The methods and fields of Object are inherited.

TextLayoutCaretPolicy#

class · extends Object · java.awt.font.TextLayout$CaretPolicy

Constructors

new TextLayoutCaretPolicy()

Ring: new TextLayoutCaretPolicy(args) uses the constructor with the fewest parameters (at least one); new TextLayoutCaretPolicy makes the object with the constructor without parameters; the others: (new TextLayoutCaretPolicy).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getStrongCaretgetStrongCaret(hit1,hit2,layout)TextHitInfo getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)

The methods and fields of Object are inherited.

TextMeasurer#

class final · extends Object · java.awt.font.TextMeasurer

Implements: Cloneable

Constructors

new TextMeasurer(AttributedCharacterIterator text, FontRenderContext frc)

Ring: new TextMeasurer(args) uses the constructor with the fewest parameters (at least one); new TextMeasurer makes the object with the constructor without parameters; the others: (new TextMeasurer).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
deleteChardeleteChar(newParagraph,deletePos)void deleteChar(AttributedCharacterIterator newParagraph, int deletePos)
getAdvanceBetweengetAdvanceBetween(start,limit)float getAdvanceBetween(int start, int limit)
getLayoutgetLayout(start,limit)TextLayout getLayout(int start, int limit)
getLineBreakIndexgetLineBreakIndex(start,maxAdvance)int getLineBreakIndex(int start, float maxAdvance)
insertCharinsertChar(newParagraph,insertPos)void insertChar(AttributedCharacterIterator newParagraph, int insertPos)

The methods and fields of Object are inherited.

TransformAttribute#

class final · extends Object · java.awt.font.TransformAttribute

Implements: Serializable

Constructors

new TransformAttribute(AffineTransform transform)

Ring: new TransformAttribute(args) uses the constructor with the fewest parameters (at least one); new TransformAttribute makes the object with the constructor without parameters; the others: (new TransformAttribute).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
IDENTITYTransformAttributeconstant · statico.IDENTITY

Methods

MethodRing callJava overloads
getTransformgetTransform()AffineTransform getTransform()
isIdentityisIdentity()boolean isIdentity()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.