1 | import { CSSShadow } 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 | _setNativeText(reset?: boolean): void;
|
17 | createFormattedTextNative(value: FormattedString): NSMutableAttributedString;
|
18 | getFormattedStringDetails(formattedString: FormattedString): {
|
19 | spans: any[];
|
20 | };
|
21 | createMutableStringDetails(span: Span, text: string, index?: number): any;
|
22 | createMutableStringForSpan(span: Span, text: string): NSMutableAttributedString;
|
23 | getBaselineOffset(font: UIFont, align?: CoreTypes.VerticalAlignmentTextType): number;
|
24 | _setShadow(value: CSSShadow): void;
|
25 | }
|
26 | export declare function getTransformedText(text: string, textTransform: CoreTypes.TextTransformType): string;
|