added in version 25.4.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
PaintCompat
public
final
class
PaintCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.graphics.PaintCompat |
Helper for accessing features in Paint
.
Summary
Public methods | |
---|---|
static
boolean
|
hasGlyph(Paint paint, String string)
Determine whether the typeface set on the paint has a glyph supporting the string in a backwards compatible way. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public methods
hasGlyph
added in version 25.4.0
boolean hasGlyph (Paint paint, String string)
Determine whether the typeface set on the paint has a glyph supporting the string in a backwards compatible way.
Parameters | |
---|---|
paint |
Paint : the paint instance to check |
string |
String : the string to test whether there is glyph support |
Returns | |
---|---|
boolean |
true if the typeface set on the given paint has a glyph for the string |
Classes