NumericShaper.Ranges Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an int
that ORs together the values for
all the ranges that will be shaped.
public Java.Awt.Font.Ranges Ranges { [Android.Runtime.Register("getRanges", "()I", "")] get; }
[<get: Android.Runtime.Register("getRanges", "()I", "")>]
member this.Ranges : Java.Awt.Font.Ranges
Property Value
the values for all the ranges to be shaped.
- Attributes
Remarks
Returns an int
that ORs together the values for all the ranges that will be shaped.
For example, to check if a shaper shapes to Arabic, you would use the following: <blockquote> if ((shaper.getRanges() & shaper.ARABIC) != 0) { ...
</blockquote>
Note that this method supports only the bit mask-based ranges. Call #getRangeSet()
for the enum-based ranges.
Java documentation for java.awt.font.NumericShaper.getRanges()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.