Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Parameters

    • Default value module: number = 13
    • Default value height: number = 1
    • Default value supplementType: StiEanSupplementType = StiEanSupplementType.None
    • Default value supplementCodeValue: string = null
    • Default value showQuietZoneIndicator: boolean = true

    Returns StiEAN13BarCodeType

Properties

barCodeData

barCodeData: StiBarCodeData = new StiBarCodeData()

customPainter

customPainter: IStiBarCodePainter

Protected defaultLabelFontHeight

defaultLabelFontHeight: number = 8

Protected ean13SymData

ean13SymData: string[] = ["2504", // "0001101", comboA"1514", // "0011001","1415", // "0010011","0704", // "0111101","0425", // "0100011","0524", // "0110001","0407", // "0101111","0605", // "0111011","0506", // "0110111","2405", // "0001011""0416", // "0100111", comboB"0515", // "0110011","1505", // "0011011","0434", // "0100001","1604", // "0011101","0614", // "0111001","3404", // "0000101","1424", // "0010001","2414", // "0001001","1406", // "0010111""6140", // "1110010", comboC"5150", // "1100110","5051", // "1101100","4340", // "1000010","4061", // "1011100","4160", // "1001110","4043", // "1010000","4241", // "1000100","4142", // "1001000","6041", // "1110100""808", // guard left"08080", // guard center"808", // guard right"080808",// guard special"809", // guard add-on left"08", // guard add-on delineator"x", // space left"y", // space right"z" // space before add]

Protected preserveAspectRatio

preserveAspectRatio: boolean = false

Protected rectWindow

rectWindow: RectangleD = new RectangleD(0, 0, 0, 0)

showQuietZoneIndicator

showQuietZoneIndicator: boolean = true

supplementCode

supplementCode: string = null

supplementType

supplementType: StiEanSupplementType = StiEanSupplementType.None

Protected symComboSet

symComboSet: string[] = ["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"]

Protected symParitySetAdd2

symParitySetAdd2: string[] = ["oo", // 0"oe", // 1"eo", // 2"ee" // 3]

Protected symParitySetAdd5

symParitySetAdd5: string[] = ["eeooo", // 0"eoeoo", // 1"eooeo", // 2"eoooe", // 3"oeeoo", // 4"ooeeo", // 5"oooee", // 6"oeoeo", // 7"oeooe", // 8"ooeoe" // 9]

Protected textSpacing

textSpacing: boolean = true

visiblePropertiesCount

visiblePropertiesCount: number = 27

Accessors

defaultCodeValue

  • get defaultCodeValue(): string

Protected eanLineHeightForCut

  • get eanLineHeightForCut(): number
  • Returns number

Protected eanLineHeightLong

  • get eanLineHeightLong(): number
  • Returns number

Protected eanLineHeightShort

  • get eanLineHeightShort(): number
  • Returns number

Protected eanMainHeight

  • get eanMainHeight(): number
  • Returns number

Protected eanSpaceBeforeAdd

  • get eanSpaceBeforeAdd(): number
  • Returns number

Protected eanSpaceBottom

  • get eanSpaceBottom(): number
  • Returns number

Protected eanSpaceLeft

  • get eanSpaceLeft(): number
  • Returns number

Protected eanSpaceRight

  • get eanSpaceRight(): number
  • Returns number

Protected eanSpaceTextTop

  • get eanSpaceTextTop(): number
  • Returns number

Protected eanSpaceTop

  • get eanSpaceTop(): number
  • Returns number

Protected eanTextHeight

  • get eanTextHeight(): number
  • Returns number

Protected eanTextPositionBottom

  • get eanTextPositionBottom(): number
  • Returns number

Protected eanTextPositionTop

  • get eanTextPositionTop(): number
  • Returns number

Protected eanWideToNarrowRatio

  • get eanWideToNarrowRatio(): number
  • Returns number

height

  • get height(): number
  • set height(value: number): void

labelFontHeight

  • get labelFontHeight(): number

mainHeight

  • get mainHeight(): number

mainWidth

  • get mainWidth(): number

module

  • get module(): number
  • set module(value: number): void

properties

serviceCategory

  • get serviceCategory(): string

serviceEnabled

  • get serviceEnabled(): boolean
  • set serviceEnabled(value: boolean): void
  • Gets or sets the value whether a service is enabled or not.

    Returns boolean

  • Gets or sets the value whether a service is enabled or not.

    Parameters

    • value: boolean

    Returns void

serviceInfo

  • get serviceInfo(): string

serviceName

  • get serviceName(): string

serviceType

  • get serviceType(): Type

Protected textAlignment

visibleProperties

  • get visibleProperties(): boolean[]

Methods

as

Protected baseDrawImage

  • baseDrawImage(context: any, image: Image, report: StiReport, x: number, y: number, width: number, height: number): void

Protected baseDrawRectangle

  • baseDrawRectangle(context: any, penColor: Color, penSize: number, x: number, y: number, width: number, height: number): void

Protected baseDrawString

  • baseDrawString(context: any, st: string, font: Font, brush: StiBrush, x: number, y: number): void

Protected baseDrawString2

Protected baseFillEllipse

  • baseFillEllipse(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseFillPolygon

  • baseFillPolygon(context: any, brush: StiBrush, points: PointD[]): void

Protected baseFillPolygons

baseFillRectangle

  • baseFillRectangle(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseFillRectangle2D

  • baseFillRectangle2D(context: any, brush: StiBrush, x: number, y: number, width: number, height: number): void

Protected baseMeasureString3

  • baseMeasureString3(context: any, st: string, font: Font): SizeD

Protected baseRollbackTransform

  • baseRollbackTransform(context: any): void

Protected baseTransform

  • baseTransform(context: any, x: number, y: number, angle: number, dx: number, dy: number): void

Protected calculateSize2

  • calculateSize2(spaceLeft: number, spaceRight: number, spaceTop: number, spaceBottom: number, lineHeightShort: number, lineHeightLong: number, textPosition: number, textHeight: number, mainHeight: number, wideToNarrowRatio: number, zoom: number, barsArray: string, rect: RectangleD, barCode: StiBarCode): void
  • Parameters

    • spaceLeft: number
    • spaceRight: number
    • spaceTop: number
    • spaceBottom: number
    • lineHeightShort: number
    • lineHeightLong: number
    • textPosition: number
    • textHeight: number
    • mainHeight: number
    • wideToNarrowRatio: number
    • zoom: number
    • barsArray: string
    • rect: RectangleD
    • barCode: StiBarCode

    Returns void

Protected calculateSizeEan

Protected calculateSizeFull

  • calculateSizeFull(spaceLeft: number, spaceRight: number, spaceTop: number, spaceBottom: number, lineHeightShort: number, lineHeightLong: number, TextPosition: number, TextHeight: number, mainHeight: number, lineHeightForCut: number, wideToNarrowRatio: number, zoom: number, code: string, textString: string, barsArray: string, rect: RectangleD, barCode: StiBarCode): void
  • Parameters

    • spaceLeft: number
    • spaceRight: number
    • spaceTop: number
    • spaceBottom: number
    • lineHeightShort: number
    • lineHeightLong: number
    • TextPosition: number
    • TextHeight: number
    • mainHeight: number
    • lineHeightForCut: number
    • wideToNarrowRatio: number
    • zoom: number
    • code: string
    • textString: string
    • barsArray: string
    • rect: RectangleD
    • barCode: StiBarCode

    Returns void

Protected checkCodeSymbols

  • checkCodeSymbols(inputCode: string, tolerantSymbols: string): string

clone

  • clone(cloneProperties?: boolean, cloneComponents?: boolean, base?: boolean): any
  • Creates a new object that is a copy of the current instance.

    Parameters

    • Default value cloneProperties: boolean = true
    • Default value cloneComponents: boolean = true
    • Default value base: boolean = true

    Returns any

draw

Protected draw2DBarCode

Protected drawBarCode

Protected drawBarCode1

Protected drawBarCodeError

Protected drawBarCodeError2

Protected drawBars

  • drawBars(context: any, sym: string, foreBrush: StiBrush): void

Protected drawEanBars

Protected drawMaxicode

getCode

getCombinedCode

  • getCombinedCode(): string

getNetTypeName

  • getNetTypeName(): string

Protected getSymbolWidth

  • getSymbolWidth(symbol: string): number

Protected getSymbolsStringWidth

  • getSymbolsStringWidth(symbolsString: string): number

implements

  • implements(): any[]

is

is2

  • is2<T>(type: object | Interface<T>): boolean

Protected isPropertiesInitializedProtected

  • isPropertiesInitializedProtected(): boolean

isPropertyPresent

  • isPropertyPresent(key: any): boolean

Protected isSymbolLong

  • isSymbolLong(symbol: string): boolean

Protected isSymbolPostDescend

  • isSymbolPostDescend(symbol: string): boolean

Protected isSymbolSpace

  • isSymbolSpace(symbol: string): boolean

loadFromJsonObject

  • loadFromJsonObject(j: StiJson): void

loadFromXml

Protected makeEan13Bars

  • makeEan13Bars(REFcode: any, isLast: boolean): EanBarInfo[]
  • Parameters

    • REFcode: any
    • isLast: boolean

    Returns EanBarInfo[]

Protected makeEanAdd2Bars

Protected makeEanAdd5Bars

Protected makeLonger

  • makeLonger(symString: string): string
  • Parameters

    • symString: string

    Returns string

memberwiseClone

meta

Protected rollbackTransform

  • rollbackTransform(context: any): void

saveToJsonObject

Protected translateRect

Static loadFromJsonObjectInternal

Static loadFromXmlInternal

Static unpackTilde

  • unpackTilde(input: number[], processTilde: boolean): number[]

Static unpackTildeString

  • unpackTildeString(input: string, processTilde: boolean): string

Generated using TypeDoc