GraphicsContext constructor

GraphicsContext(
  1. int id,
  2. int viewPortWidth,
  3. int viewPortHeight,
  4. int viewPortX,
  5. int viewPortY,
  6. int canvasWidth,
  7. int canvasHeight,
  8. Float viewPortZoom,
  9. int graphicsCursorX,
  10. int graphicsCursorY,
  11. IsobusColor foregroundColor,
  12. IsobusColor backgroundColor,
  13. FontAttributes fontAttributes,
  14. LineAttributes lineAttributes,
  15. FillAttributes fillAttributes,
  16. ColorFormat colorFormat,
  17. GraphicsContextOptions options,
  18. IsobusColor transparencyColor,
)

Implementation

GraphicsContext(
    int id,
    this.viewPortWidth,
    this.viewPortHeight,
    this.viewPortX,
    this.viewPortY,
    this.canvasWidth,
    this.canvasHeight,
    this.viewPortZoom,
    this.graphicsCursorX,
    this.graphicsCursorY,
    this.foregroundColor,
    this.backgroundColor,
    this.fontAttributes,
    this.lineAttributes,
    this.fillAttributes,
    this.colorFormat,
    this.options,
    this.transparencyColor)
    : super(id, IsobusObjectType.graphicsContext);