WidgetStyle
Overview
WidgetStyle is a interface in Aspose.PDF FOSS for TypeScript.
/MK + /BS: what a widget’s box looks like.
Properties: backgroundColor, borderColor, borderStyle, borderWidth, dashPattern, rotate.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
backgroundColor | : [number, number, number] | null | Read | /MK /BG fill, RGB 0..1. |
borderColor | : [number, number, number] | null | Read | /MK /BC stroke, RGB 0..1. |
borderWidth | : number | Read | /BS /W in points. |
borderStyle | : FieldBorderStyle | Read | /BS /S. |
dashPattern | : number[] | Read | /BS /D dash lengths in points. |
rotate | : 0 | 90 | 180 | 270 | Read | /MK /R — a counter-clockwise quarter turn of the field’s contents inside its unchanged /Rect. |