Skip to content

Commit c3085dc

Browse files
committed
feat: borderWidth for text
1 parent 7fa9189 commit c3085dc

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/vectorelements/text.android.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export class TextStyleBuilder extends BillboardStyleBuilder<com.carto.styles.Tex
1717
@nativeProperty breakLines: boolean;
1818
@nativeProperty textField: string;
1919
@nativeProperty strokeWidth: number;
20+
@nativeProperty borderWidth: number;
2021
@nativeColorProperty color: Color | string;
2122
@nativeColorProperty strokeColor: Color | string;
2223
@nativeColorProperty borderColor: Color | string;

src/vectorelements/text.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class TextStyleBuilderOptions extends BillboardStyleBuilderOptions {
1111
fontName?: string;
1212
breakLines?: boolean;
1313
textField?: string;
14+
borderWidth?: number;
1415
strokeWidth?: number;
1516
strokeColor?: Color | string;
1617
borderColor?: Color | string;
@@ -27,6 +28,7 @@ export class TextStyleBuilder extends BillboardStyleBuilder<any, TextStyleBuilde
2728
color?: Color | string;
2829
strokeColor?: Color | string;
2930
borderColor?: Color | string;
31+
borderWidth?: number;
3032
backgroundColor?: Color | string;
3133
orientationMode?: BillboardOrientation;
3234
fontSize?: number;

src/vectorelements/text.ios.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class TextStyleBuilder extends BillboardStyleBuilder<NTTextStyleBuilder,
1818
@nativeProperty orientationMode: BillboardOrientation;
1919
@nativeProperty breakLines: boolean;
2020
@nativeProperty strokeWidth: number;
21+
@nativeProperty borderWidth: number;
2122
@nativeColorProperty color: Color | string;
2223
@nativeColorProperty strokeColor: Color | string;
2324
@nativeColorProperty borderColor: Color | string;

0 commit comments

Comments
 (0)