1 | import { ShadowCSSValues } from '../styling/css-shadow';
|
2 | import { TextBaseCommon } from './text-base-common';
|
3 | import { FormattedString } from './formatted-string';
|
4 | import { Span } from './span';
|
5 | import { CoreTypes } from '../../core-types';
|
6 | export * from './text-base-common';
|
7 | export declare class TextBase extends TextBaseCommon {
|
8 | nativeViewProtected: UITextField | UITextView | UILabel | UIButton;
|
9 | nativeTextViewProtected: UITextField | UITextView | UILabel | UIButton;
|
10 | private _tappable;
|
11 | private _tapGestureRecognizer;
|
12 | _spanRanges: NSRange[];
|
13 | initNativeView(): void;
|
14 | _setTappableState(tappable: boolean): void;
|
15 | _setColor(color: UIColor): void;
|
16 | _animationWrap(fn: () => void): void;
|
17 | _setNativeText(reset?: boolean): void;
|
18 | createFormattedTextNative(value: FormattedString): NSMutableAttributedString;
|
19 | getFormattedStringDetails(formattedString: FormattedString): {
|
20 | spans: any[];
|
21 | };
|
22 | createMutableStringDetails(span: Span, text: string, index?: number): any;
|
23 | createMutableStringForSpan(span: Span, text: string): NSMutableAttributedString;
|
24 | getBaselineOffset(font: UIFont, align?: CoreTypes.VerticalAlignmentTextType): number;
|
25 | _setShadow(value: ShadowCSSValues): void;
|
26 | }
|
27 | export declare function getTransformedText(text: string, textTransform: CoreTypes.TextTransformType): string;
|