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

NameTypeAccessDescription
backgroundColor: [number, number, number] | nullRead/MK /BG fill, RGB 0..1.
borderColor: [number, number, number] | nullRead/MK /BC stroke, RGB 0..1.
borderWidth: numberRead/BS /W in points.
borderStyle: FieldBorderStyleRead/BS /S.
dashPattern: number[]Read/BS /D dash lengths in points.
rotate: 0 | 90 | 180 | 270Read/MK /R — a counter-clockwise quarter turn of the field’s contents inside its unchanged /Rect.