@progress/kendo-angular-barcodes
Version:
Kendo UI Angular Barcodes
76 lines (75 loc) • 1.84 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The dash line type.
*/
export type DashType = 'dash' | 'dashDot' | 'dot' | 'longDash' | 'longDashDot' | 'longDashDotDot' | 'solid';
/**
* The appearance settings for the border lines.
*/
export interface Border {
/**
* The color of the border line. Accepts a valid CSS color string, including hex and rgb.
*/
color?: string;
/**
* The dash type of the border line.
*/
dashType?: DashType;
/**
* The width of the border line in pixels.
*/
width?: number;
}
/**
* The margin size for each side.
*/
export interface Margin {
/**
* The top margin in pixels.
*/
top?: number;
/**
* The right margin in pixels.
*/
right?: number;
/**
* The bottom margin in pixels.
*/
bottom?: number;
/**
* The left margin in pixels.
*/
left?: number;
}
/**
* The padding size for each side.
*/
export interface Padding {
/**
* The top padding in pixels.
*/
top?: number;
/**
* The right padding in pixels.
*/
right?: number;
/**
* The bottom padding in pixels.
*/
bottom?: number;
/**
* The left padding in pixels.
*/
left?: number;
}
/**
* Sets the rendering mode of the component.
*
* The supported values are:
* * `"canvas"`—Renders the component as a Canvas element.
* * `"svg"`—Renders the component as an inline SVG document.
*/
export type RenderMode = 'svg' | 'canvas';