Methods
Static applyColorStyle
- applyColorStyle(c: Color, target?: any): any
-
Parameters
-
c: Color
-
Optional target: any
Returns any
Static applyFontSizeStyle
- applyFontSizeStyle(size: number, lineCount: number, target?: any): any
-
Parameters
-
size: number
-
lineCount: number
-
Optional target: any
Returns any
Static applyFontStyle
- applyFontStyle(fs: object, target?: any): any
-
Parameters
-
fs: object
-
Optional bold?: boolean
-
Optional italic?: boolean
-
Optional underline?: boolean
-
Optional target: any
Returns any
Static applyPaddingStyle
- applyPaddingStyle(p: Edges, target?: any): any
-
Parameters
-
p: Edges
-
Optional target: any
Returns any
Static applyPaddingStyleToSizeAndLoc
- applyPaddingStyleToSizeAndLoc(p: Edges, target: any): any
-
Parameters
Returns any
Static applySizeAndLocationStyle
-
Parameters
Returns any
Static applyTextAlignment
- applyTextAlignment(t: object, target?: any): any
-
Parameters
-
t: object
-
Optional textAlignment?: TextAlignment
-
Optional target: any
Returns any
Static applyTextAttributes
- applyTextAttributes(textSize: number, textAttributes: TextAttributes, target?: any): any
-
Parameters
-
textSize: number
-
textAttributes: TextAttributes
-
Optional target: any
Returns any
Static buildImageProducers
-
Parameters
Static componentsAsChildren
- componentsAsChildren(printBundle: PrintBundle, components: Array<PTComponent>, fillWidth: number, fillHeight: number): any[]
-
Parameters
-
-
components: Array<PTComponent>
-
fillWidth: number
-
fillHeight: number
Returns any[]
Static gridsAsChildren
- gridsAsChildren(printBundle: PrintBundle, grids: Array<Grid>, parentSize: number): any[]
-
Parameters
-
-
grids: Array<Grid>
-
parentSize: number
Returns any[]