FieldBorder: {
    applyBackground: boolean;
    backgroundColor: string;
    backgroundOpacity: number;
    borderColor: string;
    borderOpacity: number;
    borderRadius: number;
    borderStrokeWidth: number;
    borderStyle: BorderType;
    borderWidth: number;
}

Defines the settings for a field border.

Type declaration

  • applyBackground: boolean

    Flag to control if a background color should be set.

  • backgroundColor: string

    The background color to use. This can be any valid MegaEdit color value.

  • backgroundOpacity: number

    The background opacity - a value in the range of [0-1]. 0 means fully transparent, 1 means fully opaque.

  • borderColor: string

    The border color to use. This can be any valid MegaEdit color value.

  • borderOpacity: number

    The border opacity - a value in the range of [0-1]. 0 means fully transparent, 1 means fully opaque.

  • borderRadius: number

    The border radius in points. This is the radius of the rounded corners of the field. A value of 0 means no rounded corners.

  • borderStrokeWidth: number

    The stroke with for borders used for outline and distance border styles.

  • borderStyle: BorderType

    The border style to use.

  • borderWidth: number

    The border width for solid borders and used for the distance for the other two border styles in points.

Generated using TypeDoc