public class TextLayoutManager
extends java.lang.Object
Spanned
object for the JS representation of TextModifier and Type | Class and Description |
---|---|
static class |
TextLayoutManager.SetSpanOperation |
Constructor and Description |
---|
TextLayoutManager() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteCachedSpannableForTag(int reactTag) |
static android.text.Spannable |
getOrCreateSpannableForText(android.content.Context context,
ReadableMap attributedString,
ReactTextViewManagerCallback reactTextViewManagerCallback) |
static boolean |
isRTL(ReadableMap attributedString) |
static WritableArray |
measureLines(android.content.Context context,
ReadableMap attributedString,
ReadableMap paragraphAttributes,
float width) |
static long |
measureText(android.content.Context context,
ReadableMap attributedString,
ReadableMap paragraphAttributes,
float width,
YogaMeasureMode widthYogaMeasureMode,
float height,
YogaMeasureMode heightYogaMeasureMode,
ReactTextViewManagerCallback reactTextViewManagerCallback,
float[] attachmentsPositions) |
static void |
setCachedSpannabledForTag(int reactTag,
android.text.Spannable sp) |
public static boolean isRTL(ReadableMap attributedString)
public static void setCachedSpannabledForTag(int reactTag, android.text.Spannable sp)
public static void deleteCachedSpannableForTag(int reactTag)
public static android.text.Spannable getOrCreateSpannableForText(android.content.Context context, ReadableMap attributedString, ReactTextViewManagerCallback reactTextViewManagerCallback)
public static long measureText(android.content.Context context, ReadableMap attributedString, ReadableMap paragraphAttributes, float width, YogaMeasureMode widthYogaMeasureMode, float height, YogaMeasureMode heightYogaMeasureMode, ReactTextViewManagerCallback reactTextViewManagerCallback, float[] attachmentsPositions)
public static WritableArray measureLines(android.content.Context context, ReadableMap attributedString, ReadableMap paragraphAttributes, float width)