Uses of Class
java.awt.font.TextLayout
-
Packages that use TextLayout 软件包 描述 java.awt.font 提供与字体相关的类和界面。 -
-
Uses of TextLayout in java.awt.font
Methods in java.awt.font that return TextLayout 变量和类型 方法 描述 TextLayout
TextLayout. getJustifiedLayout(float justificationWidth)
创建一个以指定宽度对齐的TextLayout
的副本。TextLayout
TextMeasurer. getLayout(int start, int limit)
返回给定字符范围的TextLayout
。TextLayout
LineBreakMeasurer. nextLayout(float wrappingWidth)
返回下一个布局,并更新当前位置。TextLayout
LineBreakMeasurer. nextLayout(float wrappingWidth, int offsetLimit, boolean requireNextWord)
返回下一个布局,并更新当前位置。Methods in java.awt.font with parameters of type TextLayout 变量和类型 方法 描述 boolean
TextLayout. equals(TextLayout rhs)
如果两个布局相等,则返回true
。TextHitInfo
TextLayout.CaretPolicy. getStrongCaret(TextHitInfo hit1, TextHitInfo hit2, TextLayout layout)
Chooses one of the specifiedTextHitInfo
instances as a strong caret in the specifiedTextLayout
.
-