Hierarchy

Implements

Index

Constructors

constructor

  • new StiFIMBarCodeType(module?: number, height?: number, addClearZone?: boolean): StiFIMBarCodeType
  • Parameters

    • Default value module: number = 31.25
    • Default value height: number = 1
    • Default value addClearZone: boolean = false

    Returns StiFIMBarCodeType

Properties

addClearZone

addClearZone: boolean = false

barCodeData

barCodeData: StiBarCodeData = new StiBarCodeData()

customPainter

customPainter: IStiBarCodePainter

defaultFIMModule

defaultFIMModule: number = 31.25

Protected defaultLabelFontHeight

defaultLabelFontHeight: number = 8

fIMLineHeightForCut

fIMLineHeightForCut: number = this.fIMLineHeightShort

fIMLineHeightLong

fIMLineHeightLong: number = this.fIMLineHeightShort

fIMLineHeightShort

fIMLineHeightShort: number = 20

fIMMainHeight

fIMMainHeight: number = this.fIMLineHeightShort

fIMSpaceBottom

fIMSpaceBottom: number = 0

fIMSpaceTop

fIMSpaceTop: number = 0

fIMSymbols

fIMSymbols: string = "abcd"

fIMTable

fIMTable: string[] = ["4040114011404", // a 110010011"40140401404014", // b 101101101"40401401401404", // c 110101011"404040140140404" // d 111010111]

fIMTextHeight

fIMTextHeight: number = 8

fIMTextPosition

fIMTextPosition: number = 0

Protected preserveAspectRatio

preserveAspectRatio: boolean = true

Protected rectWindow

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

Protected textSpacing

textSpacing: boolean = true

visiblePropertiesCount

visiblePropertiesCount: number = 27

Accessors

defaultCodeValue

  • get defaultCodeValue(): string

fIMSpaceLeft

  • get fIMSpaceLeft(): number
  • Returns number

fIMSpaceRight

  • get fIMSpaceRight(): 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 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 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

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