@syncfusion/ej2-pdf-export 26.2.10 → 26.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-pdf-export.min.js +10 -0
- package/dist/ej2-pdf-export.umd.min.js +2 -2
- package/dist/ej2-pdf-export.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es2015.js +20 -4
- package/dist/es6/ej2-pdf-export.es2015.js.map +1 -1
- package/dist/es6/ej2-pdf-export.es5.js +20 -4
- package/dist/es6/ej2-pdf-export.es5.js.map +1 -1
- package/dist/global/ej2-pdf-export.min.js +2 -2
- package/dist/global/ej2-pdf-export.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/implementation/structured-elements/grid/layout/grid-layouter.js +19 -1
- package/src/implementation/structured-elements/grid/styles/pdf-borders.js +1 -3
- package/dist/ts/implementation/actions/action.d.ts +0 -50
- package/dist/ts/implementation/actions/action.ts +0 -76
- package/dist/ts/implementation/actions/index.d.ts +0 -6
- package/dist/ts/implementation/actions/index.ts +0 -6
- package/dist/ts/implementation/actions/uri-action.d.ts +0 -33
- package/dist/ts/implementation/actions/uri-action.ts +0 -52
- package/dist/ts/implementation/annotations/action-link-annotation.d.ts +0 -30
- package/dist/ts/implementation/annotations/action-link-annotation.ts +0 -43
- package/dist/ts/implementation/annotations/annotation-collection.d.ts +0 -77
- package/dist/ts/implementation/annotations/annotation-collection.ts +0 -159
- package/dist/ts/implementation/annotations/annotation.d.ts +0 -152
- package/dist/ts/implementation/annotations/annotation.ts +0 -241
- package/dist/ts/implementation/annotations/document-link-annotation.d.ts +0 -89
- package/dist/ts/implementation/annotations/document-link-annotation.ts +0 -118
- package/dist/ts/implementation/annotations/index.d.ts +0 -11
- package/dist/ts/implementation/annotations/index.ts +0 -11
- package/dist/ts/implementation/annotations/link-annotation.d.ts +0 -23
- package/dist/ts/implementation/annotations/link-annotation.ts +0 -32
- package/dist/ts/implementation/annotations/pdf-text-web-link.d.ts +0 -118
- package/dist/ts/implementation/annotations/pdf-text-web-link.ts +0 -265
- package/dist/ts/implementation/annotations/uri-annotation.d.ts +0 -48
- package/dist/ts/implementation/annotations/uri-annotation.ts +0 -86
- package/dist/ts/implementation/collections/dictionary.d.ts +0 -76
- package/dist/ts/implementation/collections/dictionary.ts +0 -150
- package/dist/ts/implementation/collections/index.d.ts +0 -7
- package/dist/ts/implementation/collections/index.ts +0 -7
- package/dist/ts/implementation/collections/object-object-pair/dictionary.d.ts +0 -62
- package/dist/ts/implementation/collections/object-object-pair/dictionary.ts +0 -125
- package/dist/ts/implementation/collections/object-object-pair/index.d.ts +0 -5
- package/dist/ts/implementation/collections/object-object-pair/index.ts +0 -5
- package/dist/ts/implementation/collections/utils.d.ts +0 -27
- package/dist/ts/implementation/collections/utils.ts +0 -38
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info-collection.d.ts +0 -31
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info-collection.ts +0 -39
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info.d.ts +0 -67
- package/dist/ts/implementation/document/automatic-fields/automatic-field-info.ts +0 -108
- package/dist/ts/implementation/document/automatic-fields/automatic-field.d.ts +0 -41
- package/dist/ts/implementation/document/automatic-fields/automatic-field.ts +0 -127
- package/dist/ts/implementation/document/automatic-fields/composite-field.d.ts +0 -46
- package/dist/ts/implementation/document/automatic-fields/composite-field.ts +0 -76
- package/dist/ts/implementation/document/automatic-fields/index.d.ts +0 -11
- package/dist/ts/implementation/document/automatic-fields/index.ts +0 -11
- package/dist/ts/implementation/document/automatic-fields/multiple-value-field.d.ts +0 -18
- package/dist/ts/implementation/document/automatic-fields/multiple-value-field.ts +0 -37
- package/dist/ts/implementation/document/automatic-fields/page-count-field.d.ts +0 -44
- package/dist/ts/implementation/document/automatic-fields/page-count-field.ts +0 -75
- package/dist/ts/implementation/document/automatic-fields/pdf-numbers-convertor.d.ts +0 -53
- package/dist/ts/implementation/document/automatic-fields/pdf-numbers-convertor.ts +0 -157
- package/dist/ts/implementation/document/automatic-fields/pdf-page-number-field.d.ts +0 -51
- package/dist/ts/implementation/document/automatic-fields/pdf-page-number-field.ts +0 -82
- package/dist/ts/implementation/document/automatic-fields/pdf-template-value-pair.d.ts +0 -38
- package/dist/ts/implementation/document/automatic-fields/pdf-template-value-pair.ts +0 -60
- package/dist/ts/implementation/document/automatic-fields/single-value-field.d.ts +0 -15
- package/dist/ts/implementation/document/automatic-fields/single-value-field.ts +0 -48
- package/dist/ts/implementation/document/index.d.ts +0 -16
- package/dist/ts/implementation/document/index.ts +0 -16
- package/dist/ts/implementation/document/pdf-catalog.d.ts +0 -39
- package/dist/ts/implementation/document/pdf-catalog.ts +0 -65
- package/dist/ts/implementation/document/pdf-document-base.d.ts +0 -132
- package/dist/ts/implementation/document/pdf-document-base.ts +0 -180
- package/dist/ts/implementation/document/pdf-document-template.d.ts +0 -166
- package/dist/ts/implementation/document/pdf-document-template.ts +0 -310
- package/dist/ts/implementation/document/pdf-document.d.ts +0 -221
- package/dist/ts/implementation/document/pdf-document.ts +0 -342
- package/dist/ts/implementation/document/pdf-viewer-preferences.d.ts +0 -467
- package/dist/ts/implementation/document/pdf-viewer-preferences.ts +0 -578
- package/dist/ts/implementation/drawing/index.d.ts +0 -5
- package/dist/ts/implementation/drawing/index.ts +0 -5
- package/dist/ts/implementation/drawing/pdf-drawing.d.ts +0 -141
- package/dist/ts/implementation/drawing/pdf-drawing.ts +0 -218
- package/dist/ts/implementation/general/enum.d.ts +0 -21
- package/dist/ts/implementation/general/enum.ts +0 -21
- package/dist/ts/implementation/general/functions/index.d.ts +0 -6
- package/dist/ts/implementation/general/functions/index.ts +0 -6
- package/dist/ts/implementation/general/functions/pdf-function.d.ts +0 -44
- package/dist/ts/implementation/general/functions/pdf-function.ts +0 -66
- package/dist/ts/implementation/general/functions/pdf-sampled-function.d.ts +0 -25
- package/dist/ts/implementation/general/functions/pdf-sampled-function.ts +0 -63
- package/dist/ts/implementation/general/index.d.ts +0 -9
- package/dist/ts/implementation/general/index.ts +0 -9
- package/dist/ts/implementation/general/pdf-cache-collection.d.ts +0 -42
- package/dist/ts/implementation/general/pdf-cache-collection.ts +0 -97
- package/dist/ts/implementation/general/pdf-collection.d.ts +0 -26
- package/dist/ts/implementation/general/pdf-collection.ts +0 -41
- package/dist/ts/implementation/general/pdf-destination.d.ts +0 -103
- package/dist/ts/implementation/general/pdf-destination.ts +0 -170
- package/dist/ts/implementation/graphics/brushes/enum.d.ts +0 -236
- package/dist/ts/implementation/graphics/brushes/enum.ts +0 -237
- package/dist/ts/implementation/graphics/brushes/index.d.ts +0 -13
- package/dist/ts/implementation/graphics/brushes/index.ts +0 -13
- package/dist/ts/implementation/graphics/brushes/pdf-blend.d.ts +0 -105
- package/dist/ts/implementation/graphics/brushes/pdf-blend.ts +0 -294
- package/dist/ts/implementation/graphics/brushes/pdf-brush.d.ts +0 -57
- package/dist/ts/implementation/graphics/brushes/pdf-brush.ts +0 -68
- package/dist/ts/implementation/graphics/brushes/pdf-brushes.d.ts +0 -726
- package/dist/ts/implementation/graphics/brushes/pdf-brushes.ts +0 -2438
- package/dist/ts/implementation/graphics/brushes/pdf-color-blend.d.ts +0 -113
- package/dist/ts/implementation/graphics/brushes/pdf-color-blend.ts +0 -295
- package/dist/ts/implementation/graphics/brushes/pdf-gradient-brush.d.ts +0 -155
- package/dist/ts/implementation/graphics/brushes/pdf-gradient-brush.ts +0 -311
- package/dist/ts/implementation/graphics/brushes/pdf-linear-gradient-brush.d.ts +0 -147
- package/dist/ts/implementation/graphics/brushes/pdf-linear-gradient-brush.ts +0 -406
- package/dist/ts/implementation/graphics/brushes/pdf-radial-gradient-brush.d.ts +0 -122
- package/dist/ts/implementation/graphics/brushes/pdf-radial-gradient-brush.ts +0 -290
- package/dist/ts/implementation/graphics/brushes/pdf-solid-brush.d.ts +0 -77
- package/dist/ts/implementation/graphics/brushes/pdf-solid-brush.ts +0 -107
- package/dist/ts/implementation/graphics/brushes/pdf-tiling-brush.d.ts +0 -161
- package/dist/ts/implementation/graphics/brushes/pdf-tiling-brush.ts +0 -304
- package/dist/ts/implementation/graphics/constants.d.ts +0 -31
- package/dist/ts/implementation/graphics/constants.ts +0 -31
- package/dist/ts/implementation/graphics/enum.d.ts +0 -413
- package/dist/ts/implementation/graphics/enum.ts +0 -413
- package/dist/ts/implementation/graphics/figures/arc.d.ts +0 -87
- package/dist/ts/implementation/graphics/figures/arc.ts +0 -133
- package/dist/ts/implementation/graphics/figures/base/draw-element.d.ts +0 -30
- package/dist/ts/implementation/graphics/figures/base/draw-element.ts +0 -59
- package/dist/ts/implementation/graphics/figures/base/element-layouter.d.ts +0 -161
- package/dist/ts/implementation/graphics/figures/base/element-layouter.ts +0 -260
- package/dist/ts/implementation/graphics/figures/base/fill-element.d.ts +0 -46
- package/dist/ts/implementation/graphics/figures/base/fill-element.ts +0 -72
- package/dist/ts/implementation/graphics/figures/base/graphics-element.d.ts +0 -16
- package/dist/ts/implementation/graphics/figures/base/graphics-element.ts +0 -34
- package/dist/ts/implementation/graphics/figures/base/index.d.ts +0 -9
- package/dist/ts/implementation/graphics/figures/base/index.ts +0 -9
- package/dist/ts/implementation/graphics/figures/base/pdf-shape-element.d.ts +0 -40
- package/dist/ts/implementation/graphics/figures/base/pdf-shape-element.ts +0 -69
- package/dist/ts/implementation/graphics/figures/base/shape-layouter.d.ts +0 -131
- package/dist/ts/implementation/graphics/figures/base/shape-layouter.ts +0 -276
- package/dist/ts/implementation/graphics/figures/base/text-layouter.d.ts +0 -107
- package/dist/ts/implementation/graphics/figures/base/text-layouter.ts +0 -205
- package/dist/ts/implementation/graphics/figures/ellipse-part.d.ts +0 -48
- package/dist/ts/implementation/graphics/figures/ellipse-part.ts +0 -76
- package/dist/ts/implementation/graphics/figures/enum.d.ts +0 -79
- package/dist/ts/implementation/graphics/figures/enum.ts +0 -80
- package/dist/ts/implementation/graphics/figures/index.d.ts +0 -13
- package/dist/ts/implementation/graphics/figures/index.ts +0 -13
- package/dist/ts/implementation/graphics/figures/layout-element.d.ts +0 -73
- package/dist/ts/implementation/graphics/figures/layout-element.ts +0 -132
- package/dist/ts/implementation/graphics/figures/path.d.ts +0 -319
- package/dist/ts/implementation/graphics/figures/path.ts +0 -646
- package/dist/ts/implementation/graphics/figures/pdf-template.d.ts +0 -113
- package/dist/ts/implementation/graphics/figures/pdf-template.ts +0 -205
- package/dist/ts/implementation/graphics/figures/rectangle-area.d.ts +0 -64
- package/dist/ts/implementation/graphics/figures/rectangle-area.ts +0 -108
- package/dist/ts/implementation/graphics/figures/text-element.d.ts +0 -213
- package/dist/ts/implementation/graphics/figures/text-element.ts +0 -445
- package/dist/ts/implementation/graphics/fonts/enum.d.ts +0 -385
- package/dist/ts/implementation/graphics/fonts/enum.ts +0 -385
- package/dist/ts/implementation/graphics/fonts/index.d.ts +0 -16
- package/dist/ts/implementation/graphics/fonts/index.ts +0 -16
- package/dist/ts/implementation/graphics/fonts/pdf-font-metrics.d.ts +0 -164
- package/dist/ts/implementation/graphics/fonts/pdf-font-metrics.ts +0 -248
- package/dist/ts/implementation/graphics/fonts/pdf-font.d.ts +0 -187
- package/dist/ts/implementation/graphics/fonts/pdf-font.ts +0 -316
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font-metrics-factory.d.ts +0 -301
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font-metrics-factory.ts +0 -606
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font.d.ts +0 -143
- package/dist/ts/implementation/graphics/fonts/pdf-standard-font.ts +0 -243
- package/dist/ts/implementation/graphics/fonts/pdf-string-format.d.ts +0 -321
- package/dist/ts/implementation/graphics/fonts/pdf-string-format.ts +0 -474
- package/dist/ts/implementation/graphics/fonts/pdf-true-type-font.d.ts +0 -49
- package/dist/ts/implementation/graphics/fonts/pdf-true-type-font.ts +0 -165
- package/dist/ts/implementation/graphics/fonts/rtl/index.d.ts +0 -6
- package/dist/ts/implementation/graphics/fonts/rtl/index.ts +0 -6
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-bidirectional.d.ts +0 -62
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-bidirectional.ts +0 -958
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-text-shape.d.ts +0 -68
- package/dist/ts/implementation/graphics/fonts/rtl/rtl-text-shape.ts +0 -374
- package/dist/ts/implementation/graphics/fonts/rtl-renderer.d.ts +0 -23
- package/dist/ts/implementation/graphics/fonts/rtl-renderer.ts +0 -255
- package/dist/ts/implementation/graphics/fonts/string-layouter.d.ts +0 -254
- package/dist/ts/implementation/graphics/fonts/string-layouter.ts +0 -617
- package/dist/ts/implementation/graphics/fonts/string-tokenizer.d.ts +0 -109
- package/dist/ts/implementation/graphics/fonts/string-tokenizer.ts +0 -275
- package/dist/ts/implementation/graphics/fonts/ttf-OS2-Table.d.ts +0 -204
- package/dist/ts/implementation/graphics/fonts/ttf-OS2-Table.ts +0 -206
- package/dist/ts/implementation/graphics/fonts/ttf-apple-cmap-sub-table.d.ts +0 -17
- package/dist/ts/implementation/graphics/fonts/ttf-apple-cmap-sub-table.ts +0 -18
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-sub-table.d.ts +0 -17
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-sub-table.ts +0 -18
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-table.d.ts +0 -13
- package/dist/ts/implementation/graphics/fonts/ttf-cmap-table.ts +0 -14
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-header.d.ts +0 -25
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-header.ts +0 -26
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-info.d.ts +0 -25
- package/dist/ts/implementation/graphics/fonts/ttf-glyph-info.ts +0 -35
- package/dist/ts/implementation/graphics/fonts/ttf-head-table.d.ts +0 -94
- package/dist/ts/implementation/graphics/fonts/ttf-head-table.ts +0 -94
- package/dist/ts/implementation/graphics/fonts/ttf-horizontal-header-table.d.ts +0 -55
- package/dist/ts/implementation/graphics/fonts/ttf-horizontal-header-table.ts +0 -56
- package/dist/ts/implementation/graphics/fonts/ttf-loca-table.d.ts +0 -9
- package/dist/ts/implementation/graphics/fonts/ttf-loca-table.ts +0 -10
- package/dist/ts/implementation/graphics/fonts/ttf-long-hor-metric.d.ts +0 -13
- package/dist/ts/implementation/graphics/fonts/ttf-long-hor-metric.ts +0 -14
- package/dist/ts/implementation/graphics/fonts/ttf-metrics.d.ts +0 -101
- package/dist/ts/implementation/graphics/fonts/ttf-metrics.ts +0 -106
- package/dist/ts/implementation/graphics/fonts/ttf-microsoft-cmap-sub-table.d.ts +0 -57
- package/dist/ts/implementation/graphics/fonts/ttf-microsoft-cmap-sub-table.ts +0 -58
- package/dist/ts/implementation/graphics/fonts/ttf-name-record.d.ts +0 -33
- package/dist/ts/implementation/graphics/fonts/ttf-name-record.ts +0 -33
- package/dist/ts/implementation/graphics/fonts/ttf-name-table.d.ts +0 -22
- package/dist/ts/implementation/graphics/fonts/ttf-name-table.ts +0 -22
- package/dist/ts/implementation/graphics/fonts/ttf-post-table.d.ts +0 -41
- package/dist/ts/implementation/graphics/fonts/ttf-post-table.ts +0 -42
- package/dist/ts/implementation/graphics/fonts/ttf-reader.d.ts +0 -225
- package/dist/ts/implementation/graphics/fonts/ttf-reader.ts +0 -1254
- package/dist/ts/implementation/graphics/fonts/ttf-table-info.d.ts +0 -22
- package/dist/ts/implementation/graphics/fonts/ttf-table-info.ts +0 -26
- package/dist/ts/implementation/graphics/fonts/ttf-trimmed-cmap-sub-table.d.ts +0 -25
- package/dist/ts/implementation/graphics/fonts/ttf-trimmed-cmap-sub-table.ts +0 -26
- package/dist/ts/implementation/graphics/fonts/unicode-true-type-font.d.ts +0 -213
- package/dist/ts/implementation/graphics/fonts/unicode-true-type-font.ts +0 -577
- package/dist/ts/implementation/graphics/images/byte-array.d.ts +0 -74
- package/dist/ts/implementation/graphics/images/byte-array.ts +0 -137
- package/dist/ts/implementation/graphics/images/image-decoder.d.ts +0 -274
- package/dist/ts/implementation/graphics/images/image-decoder.ts +0 -439
- package/dist/ts/implementation/graphics/images/index.d.ts +0 -8
- package/dist/ts/implementation/graphics/images/index.ts +0 -8
- package/dist/ts/implementation/graphics/images/pdf-bitmap.d.ts +0 -90
- package/dist/ts/implementation/graphics/images/pdf-bitmap.ts +0 -110
- package/dist/ts/implementation/graphics/images/pdf-image.d.ts +0 -88
- package/dist/ts/implementation/graphics/images/pdf-image.ts +0 -132
- package/dist/ts/implementation/graphics/index.d.ts +0 -35
- package/dist/ts/implementation/graphics/index.ts +0 -46
- package/dist/ts/implementation/graphics/pdf-color.d.ts +0 -206
- package/dist/ts/implementation/graphics/pdf-color.ts +0 -478
- package/dist/ts/implementation/graphics/pdf-graphics.d.ts +0 -1210
- package/dist/ts/implementation/graphics/pdf-graphics.ts +0 -2554
- package/dist/ts/implementation/graphics/pdf-margins.d.ts +0 -82
- package/dist/ts/implementation/graphics/pdf-margins.ts +0 -124
- package/dist/ts/implementation/graphics/pdf-pen.d.ts +0 -237
- package/dist/ts/implementation/graphics/pdf-pen.ts +0 -370
- package/dist/ts/implementation/graphics/pdf-resources.d.ts +0 -122
- package/dist/ts/implementation/graphics/pdf-resources.ts +0 -300
- package/dist/ts/implementation/graphics/pdf-transformation-matrix.d.ts +0 -143
- package/dist/ts/implementation/graphics/pdf-transformation-matrix.ts +0 -246
- package/dist/ts/implementation/graphics/pdf-transparency.d.ts +0 -34
- package/dist/ts/implementation/graphics/pdf-transparency.ts +0 -93
- package/dist/ts/implementation/graphics/unit-convertor.d.ts +0 -72
- package/dist/ts/implementation/graphics/unit-convertor.ts +0 -96
- package/dist/ts/implementation/index.d.ts +0 -103
- package/dist/ts/implementation/index.ts +0 -103
- package/dist/ts/implementation/input-output/big-endian-writer.d.ts +0 -59
- package/dist/ts/implementation/input-output/big-endian-writer.ts +0 -121
- package/dist/ts/implementation/input-output/cross-table.d.ts +0 -21
- package/dist/ts/implementation/input-output/cross-table.ts +0 -21
- package/dist/ts/implementation/input-output/enum.d.ts +0 -16
- package/dist/ts/implementation/input-output/enum.ts +0 -16
- package/dist/ts/implementation/input-output/index.d.ts +0 -12
- package/dist/ts/implementation/input-output/index.ts +0 -12
- package/dist/ts/implementation/input-output/pdf-cross-table.d.ts +0 -249
- package/dist/ts/implementation/input-output/pdf-cross-table.ts +0 -524
- package/dist/ts/implementation/input-output/pdf-dictionary-properties.d.ts +0 -568
- package/dist/ts/implementation/input-output/pdf-dictionary-properties.ts +0 -571
- package/dist/ts/implementation/input-output/pdf-main-object-collection.d.ts +0 -120
- package/dist/ts/implementation/input-output/pdf-main-object-collection.ts +0 -194
- package/dist/ts/implementation/input-output/pdf-operators.d.ts +0 -361
- package/dist/ts/implementation/input-output/pdf-operators.ts +0 -363
- package/dist/ts/implementation/input-output/pdf-stream-writer.d.ts +0 -311
- package/dist/ts/implementation/input-output/pdf-stream-writer.ts +0 -681
- package/dist/ts/implementation/input-output/pdf-writer.d.ts +0 -68
- package/dist/ts/implementation/input-output/pdf-writer.ts +0 -88
- package/dist/ts/implementation/pages/enum.d.ts +0 -201
- package/dist/ts/implementation/pages/enum.ts +0 -201
- package/dist/ts/implementation/pages/index.d.ts +0 -17
- package/dist/ts/implementation/pages/index.ts +0 -17
- package/dist/ts/implementation/pages/page-added-event-arguments.d.ts +0 -30
- package/dist/ts/implementation/pages/page-added-event-arguments.ts +0 -39
- package/dist/ts/implementation/pages/pdf-document-page-collection.d.ts +0 -86
- package/dist/ts/implementation/pages/pdf-document-page-collection.ts +0 -180
- package/dist/ts/implementation/pages/pdf-page-base.d.ts +0 -121
- package/dist/ts/implementation/pages/pdf-page-base.ts +0 -181
- package/dist/ts/implementation/pages/pdf-page-layer-collection.d.ts +0 -99
- package/dist/ts/implementation/pages/pdf-page-layer-collection.ts +0 -348
- package/dist/ts/implementation/pages/pdf-page-layer.d.ts +0 -160
- package/dist/ts/implementation/pages/pdf-page-layer.ts +0 -271
- package/dist/ts/implementation/pages/pdf-page-settings.d.ts +0 -111
- package/dist/ts/implementation/pages/pdf-page-settings.ts +0 -192
- package/dist/ts/implementation/pages/pdf-page-size.d.ts +0 -159
- package/dist/ts/implementation/pages/pdf-page-size.ts +0 -162
- package/dist/ts/implementation/pages/pdf-page-template-element.d.ts +0 -240
- package/dist/ts/implementation/pages/pdf-page-template-element.ts +0 -663
- package/dist/ts/implementation/pages/pdf-page.d.ts +0 -153
- package/dist/ts/implementation/pages/pdf-page.ts +0 -235
- package/dist/ts/implementation/pages/pdf-section-collection.d.ts +0 -109
- package/dist/ts/implementation/pages/pdf-section-collection.ts +0 -187
- package/dist/ts/implementation/pages/pdf-section-page-collection.d.ts +0 -41
- package/dist/ts/implementation/pages/pdf-section-page-collection.ts +0 -61
- package/dist/ts/implementation/pages/pdf-section-templates.d.ts +0 -64
- package/dist/ts/implementation/pages/pdf-section-templates.ts +0 -96
- package/dist/ts/implementation/pages/pdf-section.d.ts +0 -327
- package/dist/ts/implementation/pages/pdf-section.ts +0 -644
- package/dist/ts/implementation/primitives/index.d.ts +0 -12
- package/dist/ts/implementation/primitives/index.ts +0 -12
- package/dist/ts/implementation/primitives/pdf-array.d.ts +0 -192
- package/dist/ts/implementation/primitives/pdf-array.ts +0 -386
- package/dist/ts/implementation/primitives/pdf-boolean.d.ts +0 -84
- package/dist/ts/implementation/primitives/pdf-boolean.ts +0 -119
- package/dist/ts/implementation/primitives/pdf-dictionary.d.ts +0 -362
- package/dist/ts/implementation/primitives/pdf-dictionary.ts +0 -513
- package/dist/ts/implementation/primitives/pdf-name.d.ts +0 -121
- package/dist/ts/implementation/primitives/pdf-name.ts +0 -218
- package/dist/ts/implementation/primitives/pdf-number.d.ts +0 -104
- package/dist/ts/implementation/primitives/pdf-number.ts +0 -165
- package/dist/ts/implementation/primitives/pdf-reference.d.ts +0 -223
- package/dist/ts/implementation/primitives/pdf-reference.ts +0 -430
- package/dist/ts/implementation/primitives/pdf-stream.d.ts +0 -161
- package/dist/ts/implementation/primitives/pdf-stream.ts +0 -306
- package/dist/ts/implementation/primitives/pdf-string.d.ts +0 -235
- package/dist/ts/implementation/primitives/pdf-string.ts +0 -397
- package/dist/ts/implementation/structured-elements/grid/index.d.ts +0 -4
- package/dist/ts/implementation/structured-elements/grid/index.ts +0 -10
- package/dist/ts/implementation/structured-elements/grid/layout/grid-layouter.d.ts +0 -597
- package/dist/ts/implementation/structured-elements/grid/layout/grid-layouter.ts +0 -2029
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-cell.d.ts +0 -288
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-cell.ts +0 -1194
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-column.d.ts +0 -108
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-column.ts +0 -206
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-row.d.ts +0 -261
- package/dist/ts/implementation/structured-elements/grid/pdf-grid-row.ts +0 -470
- package/dist/ts/implementation/structured-elements/grid/pdf-grid.d.ts +0 -292
- package/dist/ts/implementation/structured-elements/grid/pdf-grid.ts +0 -853
- package/dist/ts/implementation/structured-elements/grid/styles/index.d.ts +0 -5
- package/dist/ts/implementation/structured-elements/grid/styles/index.ts +0 -5
- package/dist/ts/implementation/structured-elements/grid/styles/pdf-borders.d.ts +0 -146
- package/dist/ts/implementation/structured-elements/grid/styles/pdf-borders.ts +0 -240
- package/dist/ts/implementation/structured-elements/grid/styles/style.d.ts +0 -272
- package/dist/ts/implementation/structured-elements/grid/styles/style.ts +0 -424
- package/dist/ts/implementation/structured-elements/index.d.ts +0 -4
- package/dist/ts/implementation/structured-elements/index.ts +0 -10
- package/dist/ts/implementation/structured-elements/tables/light-tables/enum.d.ts +0 -16
- package/dist/ts/implementation/structured-elements/tables/light-tables/enum.ts +0 -16
- package/dist/ts/index.d.ts +0 -116
- package/dist/ts/index.ts +0 -116
- package/dist/ts/interfaces/i-pdf-cache.d.ts +0 -23
- package/dist/ts/interfaces/i-pdf-cache.ts +0 -23
- package/dist/ts/interfaces/i-pdf-changable.d.ts +0 -17
- package/dist/ts/interfaces/i-pdf-changable.ts +0 -17
- package/dist/ts/interfaces/i-pdf-clonable.d.ts +0 -12
- package/dist/ts/interfaces/i-pdf-clonable.ts +0 -12
- package/dist/ts/interfaces/i-pdf-primitives.d.ts +0 -45
- package/dist/ts/interfaces/i-pdf-primitives.ts +0 -45
- package/dist/ts/interfaces/i-pdf-true-type-font.d.ts +0 -18
- package/dist/ts/interfaces/i-pdf-true-type-font.ts +0 -48
- package/dist/ts/interfaces/i-pdf-wrapper.d.ts +0 -13
- package/dist/ts/interfaces/i-pdf-wrapper.ts +0 -13
- package/dist/ts/interfaces/i-pdf-writer.d.ts +0 -29
- package/dist/ts/interfaces/i-pdf-writer.ts +0 -29
- package/dist/ts/interfaces/index.d.ts +0 -10
- package/dist/ts/interfaces/index.ts +0 -10
|
@@ -1,2438 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PdfBrushes.ts class for EJ2-PDF
|
|
3
|
-
*/
|
|
4
|
-
import { PdfColor } from './../pdf-color';
|
|
5
|
-
import { PdfBrush } from './pdf-brush';
|
|
6
|
-
import { Dictionary } from './../../collections/dictionary';
|
|
7
|
-
import { KnownColor } from './enum';
|
|
8
|
-
import { PdfSolidBrush} from './pdf-solid-brush';
|
|
9
|
-
/**
|
|
10
|
-
* `PdfBrushes` class provides objects used to fill the interiors of graphical shapes such as rectangles,
|
|
11
|
-
* ellipses, pies, polygons, and paths.
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
export class PdfBrushes {
|
|
15
|
-
//Static Fields
|
|
16
|
-
/**
|
|
17
|
-
* Local variable to store the brushes.
|
|
18
|
-
*/
|
|
19
|
-
private static sBrushes: Dictionary<KnownColor, PdfBrush> = new Dictionary<KnownColor, PdfBrush>();
|
|
20
|
-
//Static Properties
|
|
21
|
-
/**
|
|
22
|
-
* Gets the AliceBlue brush.
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
public static get AliceBlue(): PdfBrush {
|
|
26
|
-
let brush: PdfBrush = null;
|
|
27
|
-
if (this.sBrushes.containsKey(KnownColor.AliceBlue)) {
|
|
28
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.AliceBlue)));
|
|
29
|
-
}
|
|
30
|
-
if ((brush == null)) {
|
|
31
|
-
brush = this.getBrush(KnownColor.AliceBlue);
|
|
32
|
-
}
|
|
33
|
-
return brush;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Gets the antique white brush.
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
public static get AntiqueWhite(): PdfBrush {
|
|
40
|
-
let brush: PdfBrush = null;
|
|
41
|
-
if (this.sBrushes.containsKey(KnownColor.AntiqueWhite)) {
|
|
42
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.AntiqueWhite)));
|
|
43
|
-
}
|
|
44
|
-
if ((brush == null)) {
|
|
45
|
-
brush = this.getBrush(KnownColor.AntiqueWhite);
|
|
46
|
-
}
|
|
47
|
-
return brush;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Gets the Aqua default brush.
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
public static get Aqua(): PdfBrush {
|
|
54
|
-
let brush: PdfBrush = null;
|
|
55
|
-
if (this.sBrushes.containsKey(KnownColor.Aqua)) {
|
|
56
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Aqua)));
|
|
57
|
-
}
|
|
58
|
-
if ((brush == null)) {
|
|
59
|
-
brush = this.getBrush(KnownColor.Aqua);
|
|
60
|
-
}
|
|
61
|
-
return brush;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Gets the Aquamarine default brush.
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
public static get Aquamarine(): PdfBrush {
|
|
68
|
-
let brush: PdfBrush = null;
|
|
69
|
-
if (this.sBrushes.containsKey(KnownColor.Aquamarine)) {
|
|
70
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Aquamarine)));
|
|
71
|
-
}
|
|
72
|
-
if ((brush == null)) {
|
|
73
|
-
brush = this.getBrush(KnownColor.Aquamarine);
|
|
74
|
-
}
|
|
75
|
-
return brush;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Gets the Azure default brush.
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
public static get Azure(): PdfBrush {
|
|
82
|
-
let brush: PdfBrush = null;
|
|
83
|
-
if (this.sBrushes.containsKey(KnownColor.Azure)) {
|
|
84
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Azure)));
|
|
85
|
-
}
|
|
86
|
-
if ((brush == null)) {
|
|
87
|
-
brush = this.getBrush(KnownColor.Azure);
|
|
88
|
-
}
|
|
89
|
-
return brush;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Gets the Beige default brush.
|
|
93
|
-
* @public
|
|
94
|
-
*/
|
|
95
|
-
public static get Beige(): PdfBrush {
|
|
96
|
-
let brush: PdfBrush = null;
|
|
97
|
-
if (this.sBrushes.containsKey(KnownColor.Beige)) {
|
|
98
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Beige)));
|
|
99
|
-
}
|
|
100
|
-
if ((brush == null)) {
|
|
101
|
-
brush = this.getBrush(KnownColor.Beige);
|
|
102
|
-
}
|
|
103
|
-
return brush;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Gets the Bisque default brush.
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
|
-
public static get Bisque(): PdfBrush {
|
|
110
|
-
let brush: PdfBrush = null;
|
|
111
|
-
if (this.sBrushes.containsKey(KnownColor.Bisque)) {
|
|
112
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Bisque)));
|
|
113
|
-
}
|
|
114
|
-
if ((brush == null)) {
|
|
115
|
-
brush = this.getBrush(KnownColor.Bisque);
|
|
116
|
-
}
|
|
117
|
-
return brush;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Gets the Black default brush.
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
public static get Black(): PdfBrush {
|
|
124
|
-
let brush: PdfBrush = null;
|
|
125
|
-
if (this.sBrushes.containsKey(KnownColor.Black)) {
|
|
126
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Black)));
|
|
127
|
-
}
|
|
128
|
-
if ((brush == null)) {
|
|
129
|
-
brush = this.getBrush(KnownColor.Black);
|
|
130
|
-
}
|
|
131
|
-
return brush;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Gets the BlanchedAlmond default brush.
|
|
135
|
-
* @public
|
|
136
|
-
*/
|
|
137
|
-
public static get BlanchedAlmond(): PdfBrush {
|
|
138
|
-
let brush: PdfBrush = null;
|
|
139
|
-
if (this.sBrushes.containsKey(KnownColor.BlanchedAlmond)) {
|
|
140
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.BlanchedAlmond)));
|
|
141
|
-
}
|
|
142
|
-
if ((brush == null)) {
|
|
143
|
-
brush = this.getBrush(KnownColor.BlanchedAlmond);
|
|
144
|
-
}
|
|
145
|
-
return brush;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Gets the Blue default brush.
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
public static get Blue(): PdfBrush {
|
|
152
|
-
let brush: PdfBrush = null;
|
|
153
|
-
if (this.sBrushes.containsKey(KnownColor.Blue)) {
|
|
154
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Blue)));
|
|
155
|
-
}
|
|
156
|
-
if ((brush == null)) {
|
|
157
|
-
brush = this.getBrush(KnownColor.Blue);
|
|
158
|
-
}
|
|
159
|
-
return brush;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Gets the BlueViolet default brush.
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
public static get BlueViolet(): PdfBrush {
|
|
166
|
-
let brush: PdfBrush = null;
|
|
167
|
-
if (this.sBrushes.containsKey(KnownColor.BlueViolet)) {
|
|
168
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.BlueViolet)));
|
|
169
|
-
}
|
|
170
|
-
if ((brush == null)) {
|
|
171
|
-
brush = this.getBrush(KnownColor.BlueViolet);
|
|
172
|
-
}
|
|
173
|
-
return brush;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Gets the Brown default brush.
|
|
177
|
-
* @public
|
|
178
|
-
*/
|
|
179
|
-
public static get Brown(): PdfBrush {
|
|
180
|
-
let brush: PdfBrush = null;
|
|
181
|
-
if (this.sBrushes.containsKey(KnownColor.Brown)) {
|
|
182
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Brown)));
|
|
183
|
-
}
|
|
184
|
-
if ((brush == null)) {
|
|
185
|
-
brush = this.getBrush(KnownColor.Brown);
|
|
186
|
-
}
|
|
187
|
-
return brush;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Gets the BurlyWood default brush.
|
|
191
|
-
* @public
|
|
192
|
-
*/
|
|
193
|
-
public static get BurlyWood(): PdfBrush {
|
|
194
|
-
let brush: PdfBrush = null;
|
|
195
|
-
if (this.sBrushes.containsKey(KnownColor.BurlyWood)) {
|
|
196
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.BurlyWood)));
|
|
197
|
-
}
|
|
198
|
-
if ((brush == null)) {
|
|
199
|
-
brush = this.getBrush(KnownColor.BurlyWood);
|
|
200
|
-
}
|
|
201
|
-
return brush;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* Gets the CadetBlue default brush.
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
|
-
public static get CadetBlue(): PdfBrush {
|
|
208
|
-
let brush: PdfBrush = null;
|
|
209
|
-
if (this.sBrushes.containsKey(KnownColor.CadetBlue)) {
|
|
210
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.CadetBlue)));
|
|
211
|
-
}
|
|
212
|
-
if ((brush == null)) {
|
|
213
|
-
brush = this.getBrush(KnownColor.CadetBlue);
|
|
214
|
-
}
|
|
215
|
-
return brush;
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Gets the Chartreuse default brush.
|
|
219
|
-
* @public
|
|
220
|
-
*/
|
|
221
|
-
public static get Chartreuse(): PdfBrush {
|
|
222
|
-
let brush: PdfBrush = null;
|
|
223
|
-
if (this.sBrushes.containsKey(KnownColor.Chartreuse)) {
|
|
224
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Chartreuse)));
|
|
225
|
-
}
|
|
226
|
-
if ((brush == null)) {
|
|
227
|
-
brush = this.getBrush(KnownColor.Chartreuse);
|
|
228
|
-
}
|
|
229
|
-
return brush;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Gets the Chocolate default brush.
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
public static get Chocolate(): PdfBrush {
|
|
236
|
-
let brush: PdfBrush = null;
|
|
237
|
-
if (this.sBrushes.containsKey(KnownColor.Chocolate)) {
|
|
238
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Chocolate)));
|
|
239
|
-
}
|
|
240
|
-
if ((brush == null)) {
|
|
241
|
-
brush = this.getBrush(KnownColor.Chocolate);
|
|
242
|
-
}
|
|
243
|
-
return brush;
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Gets the Coral default brush.
|
|
247
|
-
* @public
|
|
248
|
-
*/
|
|
249
|
-
public static get Coral(): PdfBrush {
|
|
250
|
-
let brush: PdfBrush = null;
|
|
251
|
-
if (this.sBrushes.containsKey(KnownColor.Coral)) {
|
|
252
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Coral)));
|
|
253
|
-
}
|
|
254
|
-
if ((brush == null)) {
|
|
255
|
-
brush = this.getBrush(KnownColor.Coral);
|
|
256
|
-
}
|
|
257
|
-
return brush;
|
|
258
|
-
}
|
|
259
|
-
/**
|
|
260
|
-
* Gets the CornflowerBlue default brush.
|
|
261
|
-
* @public
|
|
262
|
-
*/
|
|
263
|
-
public static get CornflowerBlue(): PdfBrush {
|
|
264
|
-
let brush: PdfBrush = null;
|
|
265
|
-
if (this.sBrushes.containsKey(KnownColor.CornflowerBlue)) {
|
|
266
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.CornflowerBlue)));
|
|
267
|
-
}
|
|
268
|
-
if ((brush == null)) {
|
|
269
|
-
brush = this.getBrush(KnownColor.CornflowerBlue);
|
|
270
|
-
}
|
|
271
|
-
return brush;
|
|
272
|
-
}
|
|
273
|
-
/**
|
|
274
|
-
* Gets the Corn silk default brush.
|
|
275
|
-
* @public
|
|
276
|
-
*/
|
|
277
|
-
public static get Cornsilk(): PdfBrush {
|
|
278
|
-
let brush: PdfBrush = null;
|
|
279
|
-
if (this.sBrushes.containsKey(KnownColor.Cornsilk)) {
|
|
280
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Cornsilk)));
|
|
281
|
-
}
|
|
282
|
-
if ((brush == null)) {
|
|
283
|
-
brush = this.getBrush(KnownColor.Cornsilk);
|
|
284
|
-
}
|
|
285
|
-
return brush;
|
|
286
|
-
}
|
|
287
|
-
/**
|
|
288
|
-
* Gets the Crimson default brush.
|
|
289
|
-
* @public
|
|
290
|
-
*/
|
|
291
|
-
public static get Crimson(): PdfBrush {
|
|
292
|
-
let brush: PdfBrush = null;
|
|
293
|
-
if (this.sBrushes.containsKey(KnownColor.Crimson)) {
|
|
294
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Crimson)));
|
|
295
|
-
}
|
|
296
|
-
if ((brush == null)) {
|
|
297
|
-
brush = this.getBrush(KnownColor.Crimson);
|
|
298
|
-
}
|
|
299
|
-
return brush;
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Gets the Cyan default brush.
|
|
303
|
-
* @public
|
|
304
|
-
*/
|
|
305
|
-
public static get Cyan(): PdfBrush {
|
|
306
|
-
let brush: PdfBrush = null;
|
|
307
|
-
if (this.sBrushes.containsKey(KnownColor.Cyan)) {
|
|
308
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Cyan)));
|
|
309
|
-
}
|
|
310
|
-
if ((brush == null)) {
|
|
311
|
-
brush = this.getBrush(KnownColor.Cyan);
|
|
312
|
-
}
|
|
313
|
-
return brush;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Gets the DarkBlue default brush.
|
|
317
|
-
* @public
|
|
318
|
-
*/
|
|
319
|
-
public static get DarkBlue(): PdfBrush {
|
|
320
|
-
let brush: PdfBrush = null;
|
|
321
|
-
if (this.sBrushes.containsKey(KnownColor.DarkBlue)) {
|
|
322
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkBlue)));
|
|
323
|
-
}
|
|
324
|
-
if ((brush == null)) {
|
|
325
|
-
brush = this.getBrush(KnownColor.DarkBlue);
|
|
326
|
-
}
|
|
327
|
-
return brush;
|
|
328
|
-
}
|
|
329
|
-
/**
|
|
330
|
-
* Gets the DarkCyan default brush.
|
|
331
|
-
* @public
|
|
332
|
-
*/
|
|
333
|
-
public static get DarkCyan(): PdfBrush {
|
|
334
|
-
let brush: PdfBrush = null;
|
|
335
|
-
if (this.sBrushes.containsKey(KnownColor.DarkCyan)) {
|
|
336
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkCyan)));
|
|
337
|
-
}
|
|
338
|
-
if ((brush == null)) {
|
|
339
|
-
brush = this.getBrush(KnownColor.DarkCyan);
|
|
340
|
-
}
|
|
341
|
-
return brush;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Gets the DarkGoldenrod default brush.
|
|
345
|
-
* @public
|
|
346
|
-
*/
|
|
347
|
-
public static get DarkGoldenrod(): PdfBrush {
|
|
348
|
-
let brush: PdfBrush = null;
|
|
349
|
-
if (this.sBrushes.containsKey(KnownColor.DarkGoldenrod)) {
|
|
350
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkGoldenrod)));
|
|
351
|
-
}
|
|
352
|
-
if ((brush == null)) {
|
|
353
|
-
brush = this.getBrush(KnownColor.DarkGoldenrod);
|
|
354
|
-
}
|
|
355
|
-
return brush;
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* Gets the DarkGray default brush.
|
|
359
|
-
* @public
|
|
360
|
-
*/
|
|
361
|
-
public static get DarkGray(): PdfBrush {
|
|
362
|
-
let brush: PdfBrush = null;
|
|
363
|
-
if (this.sBrushes.containsKey(KnownColor.DarkGray)) {
|
|
364
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkGray)));
|
|
365
|
-
}
|
|
366
|
-
if ((brush == null)) {
|
|
367
|
-
brush = this.getBrush(KnownColor.DarkGray);
|
|
368
|
-
}
|
|
369
|
-
return brush;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Gets the DarkGreen default brush.
|
|
373
|
-
* @public
|
|
374
|
-
*/
|
|
375
|
-
public static get DarkGreen(): PdfBrush {
|
|
376
|
-
let brush: PdfBrush = null;
|
|
377
|
-
if (this.sBrushes.containsKey(KnownColor.DarkGreen)) {
|
|
378
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkGreen)));
|
|
379
|
-
}
|
|
380
|
-
if ((brush == null)) {
|
|
381
|
-
brush = this.getBrush(KnownColor.DarkGreen);
|
|
382
|
-
}
|
|
383
|
-
return brush;
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* Gets the DarkKhaki default brush.
|
|
387
|
-
* @public
|
|
388
|
-
*/
|
|
389
|
-
public static get DarkKhaki(): PdfBrush {
|
|
390
|
-
let brush: PdfBrush = null;
|
|
391
|
-
if (this.sBrushes.containsKey(KnownColor.DarkKhaki)) {
|
|
392
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkKhaki)));
|
|
393
|
-
}
|
|
394
|
-
if ((brush == null)) {
|
|
395
|
-
brush = this.getBrush(KnownColor.DarkKhaki);
|
|
396
|
-
}
|
|
397
|
-
return brush;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Gets the DarkMagenta default brush.
|
|
401
|
-
* @public
|
|
402
|
-
*/
|
|
403
|
-
public static get DarkMagenta(): PdfBrush {
|
|
404
|
-
let brush: PdfBrush = null;
|
|
405
|
-
if (this.sBrushes.containsKey(KnownColor.DarkMagenta)) {
|
|
406
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkMagenta)));
|
|
407
|
-
}
|
|
408
|
-
if ((brush == null)) {
|
|
409
|
-
brush = this.getBrush(KnownColor.DarkMagenta);
|
|
410
|
-
}
|
|
411
|
-
return brush;
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Gets the DarkOliveGreen default brush.
|
|
415
|
-
* @public
|
|
416
|
-
*/
|
|
417
|
-
public static get DarkOliveGreen(): PdfBrush {
|
|
418
|
-
let brush: PdfBrush = null;
|
|
419
|
-
if (this.sBrushes.containsKey(KnownColor.DarkOliveGreen)) {
|
|
420
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkOliveGreen)));
|
|
421
|
-
}
|
|
422
|
-
if ((brush == null)) {
|
|
423
|
-
brush = this.getBrush(KnownColor.DarkOliveGreen);
|
|
424
|
-
}
|
|
425
|
-
return brush;
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Gets the DarkOrange default brush.
|
|
429
|
-
* @public
|
|
430
|
-
*/
|
|
431
|
-
public static get DarkOrange(): PdfBrush {
|
|
432
|
-
let brush: PdfBrush = null;
|
|
433
|
-
if (this.sBrushes.containsKey(KnownColor.DarkOrange)) {
|
|
434
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkOrange)));
|
|
435
|
-
}
|
|
436
|
-
if ((brush == null)) {
|
|
437
|
-
brush = this.getBrush(KnownColor.DarkOrange);
|
|
438
|
-
}
|
|
439
|
-
return brush;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Gets the DarkOrchid default brush.
|
|
443
|
-
* @public
|
|
444
|
-
*/
|
|
445
|
-
public static get DarkOrchid(): PdfBrush {
|
|
446
|
-
let brush: PdfBrush = null;
|
|
447
|
-
if (this.sBrushes.containsKey(KnownColor.DarkOrchid)) {
|
|
448
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkOrchid)));
|
|
449
|
-
}
|
|
450
|
-
if ((brush == null)) {
|
|
451
|
-
brush = this.getBrush(KnownColor.DarkOrchid);
|
|
452
|
-
}
|
|
453
|
-
return brush;
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* Gets the DarkRed default brush.
|
|
457
|
-
* @public
|
|
458
|
-
*/
|
|
459
|
-
public static get DarkRed(): PdfBrush {
|
|
460
|
-
let brush: PdfBrush = null;
|
|
461
|
-
if (this.sBrushes.containsKey(KnownColor.DarkRed)) {
|
|
462
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkRed)));
|
|
463
|
-
}
|
|
464
|
-
if ((brush == null)) {
|
|
465
|
-
brush = this.getBrush(KnownColor.DarkRed);
|
|
466
|
-
}
|
|
467
|
-
return brush;
|
|
468
|
-
}
|
|
469
|
-
/**
|
|
470
|
-
* Gets the DarkSalmon default brush.
|
|
471
|
-
* @public
|
|
472
|
-
*/
|
|
473
|
-
public static get DarkSalmon(): PdfBrush {
|
|
474
|
-
let brush: PdfBrush = null;
|
|
475
|
-
if (this.sBrushes.containsKey(KnownColor.DarkSalmon)) {
|
|
476
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkSalmon)));
|
|
477
|
-
}
|
|
478
|
-
if ((brush == null)) {
|
|
479
|
-
brush = this.getBrush(KnownColor.DarkSalmon);
|
|
480
|
-
}
|
|
481
|
-
return brush;
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* Gets the DarkSeaGreen default brush.
|
|
485
|
-
* @public
|
|
486
|
-
*/
|
|
487
|
-
public static get DarkSeaGreen(): PdfBrush {
|
|
488
|
-
let brush: PdfBrush = null;
|
|
489
|
-
if (this.sBrushes.containsKey(KnownColor.DarkSeaGreen)) {
|
|
490
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkSeaGreen)));
|
|
491
|
-
}
|
|
492
|
-
if ((brush == null)) {
|
|
493
|
-
brush = this.getBrush(KnownColor.DarkSeaGreen);
|
|
494
|
-
}
|
|
495
|
-
return brush;
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Gets the DarkSlateBlue default brush.
|
|
499
|
-
* @public
|
|
500
|
-
*/
|
|
501
|
-
public static get DarkSlateBlue(): PdfBrush {
|
|
502
|
-
let brush: PdfBrush = null;
|
|
503
|
-
if (this.sBrushes.containsKey(KnownColor.DarkSlateBlue)) {
|
|
504
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkSlateBlue)));
|
|
505
|
-
}
|
|
506
|
-
if ((brush == null)) {
|
|
507
|
-
brush = this.getBrush(KnownColor.DarkSlateBlue);
|
|
508
|
-
}
|
|
509
|
-
return brush;
|
|
510
|
-
}
|
|
511
|
-
/**
|
|
512
|
-
* Gets the DarkSlateGray default brush.
|
|
513
|
-
* @public
|
|
514
|
-
*/
|
|
515
|
-
public static get DarkSlateGray(): PdfBrush {
|
|
516
|
-
let brush: PdfBrush = null;
|
|
517
|
-
if (this.sBrushes.containsKey(KnownColor.DarkSlateGray)) {
|
|
518
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkSlateGray)));
|
|
519
|
-
}
|
|
520
|
-
if ((brush == null)) {
|
|
521
|
-
brush = this.getBrush(KnownColor.DarkSlateGray);
|
|
522
|
-
}
|
|
523
|
-
return brush;
|
|
524
|
-
}
|
|
525
|
-
/**
|
|
526
|
-
* Gets the DarkTurquoise default brush.
|
|
527
|
-
* @public
|
|
528
|
-
*/
|
|
529
|
-
public static get DarkTurquoise(): PdfBrush {
|
|
530
|
-
let brush: PdfBrush = null;
|
|
531
|
-
if (this.sBrushes.containsKey(KnownColor.DarkTurquoise)) {
|
|
532
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkTurquoise)));
|
|
533
|
-
}
|
|
534
|
-
if ((brush == null)) {
|
|
535
|
-
brush = this.getBrush(KnownColor.DarkTurquoise);
|
|
536
|
-
}
|
|
537
|
-
return brush;
|
|
538
|
-
}
|
|
539
|
-
/**
|
|
540
|
-
* Gets the DarkViolet default brush.
|
|
541
|
-
* @public
|
|
542
|
-
*/
|
|
543
|
-
public static get DarkViolet(): PdfBrush {
|
|
544
|
-
let brush: PdfBrush = null;
|
|
545
|
-
if (this.sBrushes.containsKey(KnownColor.DarkViolet)) {
|
|
546
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DarkViolet)));
|
|
547
|
-
}
|
|
548
|
-
if ((brush == null)) {
|
|
549
|
-
brush = this.getBrush(KnownColor.DarkViolet);
|
|
550
|
-
}
|
|
551
|
-
return brush;
|
|
552
|
-
}
|
|
553
|
-
/**
|
|
554
|
-
* Gets the DeepPink default brush.
|
|
555
|
-
* @public
|
|
556
|
-
*/
|
|
557
|
-
public static get DeepPink(): PdfBrush {
|
|
558
|
-
let brush: PdfBrush = null;
|
|
559
|
-
if (this.sBrushes.containsKey(KnownColor.DeepPink)) {
|
|
560
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DeepPink)));
|
|
561
|
-
}
|
|
562
|
-
if ((brush == null)) {
|
|
563
|
-
brush = this.getBrush(KnownColor.DeepPink);
|
|
564
|
-
}
|
|
565
|
-
return brush;
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Gets the DeepSkyBlue default brush.
|
|
569
|
-
* @public
|
|
570
|
-
*/
|
|
571
|
-
public static get DeepSkyBlue(): PdfBrush {
|
|
572
|
-
let brush: PdfBrush = null;
|
|
573
|
-
if (this.sBrushes.containsKey(KnownColor.DeepSkyBlue)) {
|
|
574
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DeepSkyBlue)));
|
|
575
|
-
}
|
|
576
|
-
if ((brush == null)) {
|
|
577
|
-
brush = this.getBrush(KnownColor.DeepSkyBlue);
|
|
578
|
-
}
|
|
579
|
-
return brush;
|
|
580
|
-
}
|
|
581
|
-
/**
|
|
582
|
-
* Gets the DimGray default brush.
|
|
583
|
-
* @public
|
|
584
|
-
*/
|
|
585
|
-
public static get DimGray(): PdfBrush {
|
|
586
|
-
let brush: PdfBrush = null;
|
|
587
|
-
if (this.sBrushes.containsKey(KnownColor.DimGray)) {
|
|
588
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DimGray)));
|
|
589
|
-
}
|
|
590
|
-
if ((brush == null)) {
|
|
591
|
-
brush = this.getBrush(KnownColor.DimGray);
|
|
592
|
-
}
|
|
593
|
-
return brush;
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* Gets the DodgerBlue default brush.
|
|
597
|
-
* @public
|
|
598
|
-
*/
|
|
599
|
-
public static get DodgerBlue(): PdfBrush {
|
|
600
|
-
let brush: PdfBrush = null;
|
|
601
|
-
if (this.sBrushes.containsKey(KnownColor.DodgerBlue)) {
|
|
602
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.DodgerBlue)));
|
|
603
|
-
}
|
|
604
|
-
if ((brush == null)) {
|
|
605
|
-
brush = this.getBrush(KnownColor.DodgerBlue);
|
|
606
|
-
}
|
|
607
|
-
return brush;
|
|
608
|
-
}
|
|
609
|
-
/**
|
|
610
|
-
* Gets the Firebrick default brush.
|
|
611
|
-
* @public
|
|
612
|
-
*/
|
|
613
|
-
public static get Firebrick(): PdfBrush {
|
|
614
|
-
let brush: PdfBrush = null;
|
|
615
|
-
if (this.sBrushes.containsKey(KnownColor.Firebrick)) {
|
|
616
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Firebrick)));
|
|
617
|
-
}
|
|
618
|
-
if ((brush == null)) {
|
|
619
|
-
brush = this.getBrush(KnownColor.Firebrick);
|
|
620
|
-
}
|
|
621
|
-
return brush;
|
|
622
|
-
}
|
|
623
|
-
/**
|
|
624
|
-
* Gets the FloralWhite default brush.
|
|
625
|
-
* @public
|
|
626
|
-
*/
|
|
627
|
-
public static get FloralWhite(): PdfBrush {
|
|
628
|
-
let brush: PdfBrush = null;
|
|
629
|
-
if (this.sBrushes.containsKey(KnownColor.FloralWhite)) {
|
|
630
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.FloralWhite)));
|
|
631
|
-
}
|
|
632
|
-
if ((brush == null)) {
|
|
633
|
-
brush = this.getBrush(KnownColor.FloralWhite);
|
|
634
|
-
}
|
|
635
|
-
return brush;
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* Gets the ForestGreen default brush.
|
|
639
|
-
* @public
|
|
640
|
-
*/
|
|
641
|
-
public static get ForestGreen(): PdfBrush {
|
|
642
|
-
let brush: PdfBrush = null;
|
|
643
|
-
if (this.sBrushes.containsKey(KnownColor.ForestGreen)) {
|
|
644
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.ForestGreen)));
|
|
645
|
-
}
|
|
646
|
-
if ((brush == null)) {
|
|
647
|
-
brush = this.getBrush(KnownColor.ForestGreen);
|
|
648
|
-
}
|
|
649
|
-
return brush;
|
|
650
|
-
}
|
|
651
|
-
/**
|
|
652
|
-
* Gets the Fuchsia default brush.
|
|
653
|
-
* @public
|
|
654
|
-
*/
|
|
655
|
-
public static get Fuchsia(): PdfBrush {
|
|
656
|
-
let brush: PdfBrush = null;
|
|
657
|
-
if (this.sBrushes.containsKey(KnownColor.Fuchsia)) {
|
|
658
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Fuchsia)));
|
|
659
|
-
}
|
|
660
|
-
if ((brush == null)) {
|
|
661
|
-
brush = this.getBrush(KnownColor.Fuchsia);
|
|
662
|
-
}
|
|
663
|
-
return brush;
|
|
664
|
-
}
|
|
665
|
-
/**
|
|
666
|
-
* Gets the Gainsborough default brush.
|
|
667
|
-
* @public
|
|
668
|
-
*/
|
|
669
|
-
public static get Gainsboro(): PdfBrush {
|
|
670
|
-
let brush: PdfBrush = null;
|
|
671
|
-
if (this.sBrushes.containsKey(KnownColor.Gainsboro)) {
|
|
672
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Gainsboro)));
|
|
673
|
-
}
|
|
674
|
-
if ((brush == null)) {
|
|
675
|
-
brush = this.getBrush(KnownColor.Gainsboro);
|
|
676
|
-
}
|
|
677
|
-
return brush;
|
|
678
|
-
}
|
|
679
|
-
/**
|
|
680
|
-
* Gets the GhostWhite default brush.
|
|
681
|
-
* @public
|
|
682
|
-
*/
|
|
683
|
-
public static get GhostWhite(): PdfBrush {
|
|
684
|
-
let brush: PdfBrush = null;
|
|
685
|
-
if (this.sBrushes.containsKey(KnownColor.GhostWhite)) {
|
|
686
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.GhostWhite)));
|
|
687
|
-
}
|
|
688
|
-
if ((brush == null)) {
|
|
689
|
-
brush = this.getBrush(KnownColor.GhostWhite);
|
|
690
|
-
}
|
|
691
|
-
return brush;
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* Gets the Gold default brush.
|
|
695
|
-
* @public
|
|
696
|
-
*/
|
|
697
|
-
public static get Gold(): PdfBrush {
|
|
698
|
-
let brush: PdfBrush = null;
|
|
699
|
-
if (this.sBrushes.containsKey(KnownColor.Gold)) {
|
|
700
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Gold)));
|
|
701
|
-
}
|
|
702
|
-
if ((brush == null)) {
|
|
703
|
-
brush = this.getBrush(KnownColor.Gold);
|
|
704
|
-
}
|
|
705
|
-
return brush;
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* Gets the Goldenrod default brush.
|
|
709
|
-
* @public
|
|
710
|
-
*/
|
|
711
|
-
public static get Goldenrod(): PdfBrush {
|
|
712
|
-
let brush: PdfBrush = null;
|
|
713
|
-
if (this.sBrushes.containsKey(KnownColor.Goldenrod)) {
|
|
714
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Goldenrod)));
|
|
715
|
-
}
|
|
716
|
-
if ((brush == null)) {
|
|
717
|
-
brush = this.getBrush(KnownColor.Goldenrod);
|
|
718
|
-
}
|
|
719
|
-
return brush;
|
|
720
|
-
}
|
|
721
|
-
/**
|
|
722
|
-
* Gets the Gray default brush.
|
|
723
|
-
* @public
|
|
724
|
-
*/
|
|
725
|
-
public static get Gray(): PdfBrush {
|
|
726
|
-
let brush: PdfBrush = null;
|
|
727
|
-
if (this.sBrushes.containsKey(KnownColor.Gray)) {
|
|
728
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Gray)));
|
|
729
|
-
}
|
|
730
|
-
if ((brush == null)) {
|
|
731
|
-
brush = this.getBrush(KnownColor.Gray);
|
|
732
|
-
}
|
|
733
|
-
return brush;
|
|
734
|
-
}
|
|
735
|
-
/**
|
|
736
|
-
* Gets the Green default brush.
|
|
737
|
-
* @public
|
|
738
|
-
*/
|
|
739
|
-
public static get Green(): PdfBrush {
|
|
740
|
-
let brush: PdfBrush = null;
|
|
741
|
-
if (this.sBrushes.containsKey(KnownColor.Green)) {
|
|
742
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Green)));
|
|
743
|
-
}
|
|
744
|
-
if ((brush == null)) {
|
|
745
|
-
brush = this.getBrush(KnownColor.Green);
|
|
746
|
-
}
|
|
747
|
-
return brush;
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* Gets the GreenYellow default brush.
|
|
751
|
-
* @public
|
|
752
|
-
*/
|
|
753
|
-
public static get GreenYellow(): PdfBrush {
|
|
754
|
-
let brush: PdfBrush = null;
|
|
755
|
-
if (this.sBrushes.containsKey(KnownColor.GreenYellow)) {
|
|
756
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.GreenYellow)));
|
|
757
|
-
}
|
|
758
|
-
if ((brush == null)) {
|
|
759
|
-
brush = this.getBrush(KnownColor.GreenYellow);
|
|
760
|
-
}
|
|
761
|
-
return brush;
|
|
762
|
-
}
|
|
763
|
-
/**
|
|
764
|
-
* Gets the Honeydew default brush.
|
|
765
|
-
* @public
|
|
766
|
-
*/
|
|
767
|
-
public static get Honeydew(): PdfBrush {
|
|
768
|
-
let brush: PdfBrush = null;
|
|
769
|
-
if (this.sBrushes.containsKey(KnownColor.Honeydew)) {
|
|
770
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Honeydew)));
|
|
771
|
-
}
|
|
772
|
-
if ((brush == null)) {
|
|
773
|
-
brush = this.getBrush(KnownColor.Honeydew);
|
|
774
|
-
}
|
|
775
|
-
return brush;
|
|
776
|
-
}
|
|
777
|
-
/**
|
|
778
|
-
* Gets the HotPink default brush.
|
|
779
|
-
* @public
|
|
780
|
-
*/
|
|
781
|
-
public static get HotPink(): PdfBrush {
|
|
782
|
-
let brush: PdfBrush = null;
|
|
783
|
-
if (this.sBrushes.containsKey(KnownColor.HotPink)) {
|
|
784
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.HotPink)));
|
|
785
|
-
}
|
|
786
|
-
if ((brush == null)) {
|
|
787
|
-
brush = this.getBrush(KnownColor.HotPink);
|
|
788
|
-
}
|
|
789
|
-
return brush;
|
|
790
|
-
}
|
|
791
|
-
/**
|
|
792
|
-
* Gets the IndianRed default brush.
|
|
793
|
-
* @public
|
|
794
|
-
*/
|
|
795
|
-
public static get IndianRed(): PdfBrush {
|
|
796
|
-
let brush: PdfBrush = null;
|
|
797
|
-
if (this.sBrushes.containsKey(KnownColor.IndianRed)) {
|
|
798
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.IndianRed)));
|
|
799
|
-
}
|
|
800
|
-
if ((brush == null)) {
|
|
801
|
-
brush = this.getBrush(KnownColor.IndianRed);
|
|
802
|
-
}
|
|
803
|
-
return brush;
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Gets the Indigo default brush.
|
|
807
|
-
* @public
|
|
808
|
-
*/
|
|
809
|
-
public static get Indigo(): PdfBrush {
|
|
810
|
-
let brush: PdfBrush = null;
|
|
811
|
-
if (this.sBrushes.containsKey(KnownColor.Indigo)) {
|
|
812
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Indigo)));
|
|
813
|
-
}
|
|
814
|
-
if ((brush == null)) {
|
|
815
|
-
brush = this.getBrush(KnownColor.Indigo);
|
|
816
|
-
}
|
|
817
|
-
return brush;
|
|
818
|
-
}
|
|
819
|
-
/**
|
|
820
|
-
* Gets the Ivory default brush.
|
|
821
|
-
* @public
|
|
822
|
-
*/
|
|
823
|
-
public static get Ivory(): PdfBrush {
|
|
824
|
-
let brush: PdfBrush = null;
|
|
825
|
-
if (this.sBrushes.containsKey(KnownColor.Ivory)) {
|
|
826
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Ivory)));
|
|
827
|
-
}
|
|
828
|
-
if ((brush == null)) {
|
|
829
|
-
brush = this.getBrush(KnownColor.Ivory);
|
|
830
|
-
}
|
|
831
|
-
return brush;
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* Gets the Khaki default brush.
|
|
835
|
-
* @public
|
|
836
|
-
*/
|
|
837
|
-
public static get Khaki(): PdfBrush {
|
|
838
|
-
let brush: PdfBrush = null;
|
|
839
|
-
if (this.sBrushes.containsKey(KnownColor.Khaki)) {
|
|
840
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Khaki)));
|
|
841
|
-
}
|
|
842
|
-
if ((brush == null)) {
|
|
843
|
-
brush = this.getBrush(KnownColor.Khaki);
|
|
844
|
-
}
|
|
845
|
-
return brush;
|
|
846
|
-
}
|
|
847
|
-
/**
|
|
848
|
-
* Gets the Lavender default brush.
|
|
849
|
-
* @public
|
|
850
|
-
*/
|
|
851
|
-
public static get Lavender(): PdfBrush {
|
|
852
|
-
let brush: PdfBrush = null;
|
|
853
|
-
if (this.sBrushes.containsKey(KnownColor.Lavender)) {
|
|
854
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Lavender)));
|
|
855
|
-
}
|
|
856
|
-
if ((brush == null)) {
|
|
857
|
-
brush = this.getBrush(KnownColor.Lavender);
|
|
858
|
-
}
|
|
859
|
-
return brush;
|
|
860
|
-
}
|
|
861
|
-
/**
|
|
862
|
-
* Gets the LavenderBlush default brush.
|
|
863
|
-
* @public
|
|
864
|
-
*/
|
|
865
|
-
public static get LavenderBlush(): PdfBrush {
|
|
866
|
-
let brush: PdfBrush = null;
|
|
867
|
-
if (this.sBrushes.containsKey(KnownColor.LavenderBlush)) {
|
|
868
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LavenderBlush)));
|
|
869
|
-
}
|
|
870
|
-
if ((brush == null)) {
|
|
871
|
-
brush = this.getBrush(KnownColor.LavenderBlush);
|
|
872
|
-
}
|
|
873
|
-
return brush;
|
|
874
|
-
}
|
|
875
|
-
/**
|
|
876
|
-
* Gets the LawnGreen default brush.
|
|
877
|
-
* @public
|
|
878
|
-
*/
|
|
879
|
-
public static get LawnGreen(): PdfBrush {
|
|
880
|
-
let brush: PdfBrush = null;
|
|
881
|
-
if (this.sBrushes.containsKey(KnownColor.LawnGreen)) {
|
|
882
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LawnGreen)));
|
|
883
|
-
}
|
|
884
|
-
if ((brush == null)) {
|
|
885
|
-
brush = this.getBrush(KnownColor.LawnGreen);
|
|
886
|
-
}
|
|
887
|
-
return brush;
|
|
888
|
-
}
|
|
889
|
-
/**
|
|
890
|
-
* Gets the LemonChiffon default brush.
|
|
891
|
-
* @public
|
|
892
|
-
*/
|
|
893
|
-
public static get LemonChiffon(): PdfBrush {
|
|
894
|
-
let brush: PdfBrush = null;
|
|
895
|
-
if (this.sBrushes.containsKey(KnownColor.LemonChiffon)) {
|
|
896
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LemonChiffon)));
|
|
897
|
-
}
|
|
898
|
-
if ((brush == null)) {
|
|
899
|
-
brush = this.getBrush(KnownColor.LemonChiffon);
|
|
900
|
-
}
|
|
901
|
-
return brush;
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* Gets the LightBlue default brush.
|
|
905
|
-
* @public
|
|
906
|
-
*/
|
|
907
|
-
public static get LightBlue(): PdfBrush {
|
|
908
|
-
let brush: PdfBrush = null;
|
|
909
|
-
if (this.sBrushes.containsKey(KnownColor.LightBlue)) {
|
|
910
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightBlue)));
|
|
911
|
-
}
|
|
912
|
-
if ((brush == null)) {
|
|
913
|
-
brush = this.getBrush(KnownColor.LightBlue);
|
|
914
|
-
}
|
|
915
|
-
return brush;
|
|
916
|
-
}
|
|
917
|
-
/**
|
|
918
|
-
* Gets the LightCoral default brush.
|
|
919
|
-
* @public
|
|
920
|
-
*/
|
|
921
|
-
public static get LightCoral(): PdfBrush {
|
|
922
|
-
let brush: PdfBrush = null;
|
|
923
|
-
if (this.sBrushes.containsKey(KnownColor.LightCoral)) {
|
|
924
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightCoral)));
|
|
925
|
-
}
|
|
926
|
-
if ((brush == null)) {
|
|
927
|
-
brush = this.getBrush(KnownColor.LightCoral);
|
|
928
|
-
}
|
|
929
|
-
return brush;
|
|
930
|
-
}
|
|
931
|
-
/**
|
|
932
|
-
* Gets the LightCyan default brush.
|
|
933
|
-
* @public
|
|
934
|
-
*/
|
|
935
|
-
public static get LightCyan(): PdfBrush {
|
|
936
|
-
let brush: PdfBrush = null;
|
|
937
|
-
if (this.sBrushes.containsKey(KnownColor.LightCyan)) {
|
|
938
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightCyan)));
|
|
939
|
-
}
|
|
940
|
-
if ((brush == null)) {
|
|
941
|
-
brush = this.getBrush(KnownColor.LightCyan);
|
|
942
|
-
}
|
|
943
|
-
return brush;
|
|
944
|
-
}
|
|
945
|
-
/**
|
|
946
|
-
* Gets the LightGoldenrodYellow default brush.
|
|
947
|
-
* @public
|
|
948
|
-
*/
|
|
949
|
-
public static get LightGoldenrodYellow(): PdfBrush {
|
|
950
|
-
let brush: PdfBrush = null;
|
|
951
|
-
if (this.sBrushes.containsKey(KnownColor.LightGoldenrodYellow)) {
|
|
952
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightGoldenrodYellow)));
|
|
953
|
-
}
|
|
954
|
-
if ((brush == null)) {
|
|
955
|
-
brush = this.getBrush(KnownColor.LightGoldenrodYellow);
|
|
956
|
-
}
|
|
957
|
-
return brush;
|
|
958
|
-
}
|
|
959
|
-
/**
|
|
960
|
-
* Gets the LightGray default brush.
|
|
961
|
-
* @public
|
|
962
|
-
*/
|
|
963
|
-
public static get LightGray(): PdfBrush {
|
|
964
|
-
let brush: PdfBrush = null;
|
|
965
|
-
if (this.sBrushes.containsKey(KnownColor.LightGray)) {
|
|
966
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightGray)));
|
|
967
|
-
}
|
|
968
|
-
if ((brush == null)) {
|
|
969
|
-
brush = this.getBrush(KnownColor.LightGray);
|
|
970
|
-
}
|
|
971
|
-
return brush;
|
|
972
|
-
}
|
|
973
|
-
/**
|
|
974
|
-
* Gets the LightGreen default brush.
|
|
975
|
-
* @public
|
|
976
|
-
*/
|
|
977
|
-
public static get LightGreen(): PdfBrush {
|
|
978
|
-
let brush: PdfBrush = null;
|
|
979
|
-
if (this.sBrushes.containsKey(KnownColor.LightGreen)) {
|
|
980
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightGreen)));
|
|
981
|
-
}
|
|
982
|
-
if ((brush == null)) {
|
|
983
|
-
brush = this.getBrush(KnownColor.LightGreen);
|
|
984
|
-
}
|
|
985
|
-
return brush;
|
|
986
|
-
}
|
|
987
|
-
/**
|
|
988
|
-
* Gets the LightPink default brush.
|
|
989
|
-
* @public
|
|
990
|
-
*/
|
|
991
|
-
public static get LightPink(): PdfBrush {
|
|
992
|
-
let brush: PdfBrush = null;
|
|
993
|
-
if (this.sBrushes.containsKey(KnownColor.LightPink)) {
|
|
994
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightPink)));
|
|
995
|
-
}
|
|
996
|
-
if ((brush == null)) {
|
|
997
|
-
brush = this.getBrush(KnownColor.LightPink);
|
|
998
|
-
}
|
|
999
|
-
return brush;
|
|
1000
|
-
}
|
|
1001
|
-
/**
|
|
1002
|
-
* Gets the LightSalmon default brush.
|
|
1003
|
-
* @public
|
|
1004
|
-
*/
|
|
1005
|
-
public static get LightSalmon(): PdfBrush {
|
|
1006
|
-
let brush: PdfBrush = null;
|
|
1007
|
-
if (this.sBrushes.containsKey(KnownColor.LightSalmon)) {
|
|
1008
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightSalmon)));
|
|
1009
|
-
}
|
|
1010
|
-
if ((brush == null)) {
|
|
1011
|
-
brush = this.getBrush(KnownColor.LightSalmon);
|
|
1012
|
-
}
|
|
1013
|
-
return brush;
|
|
1014
|
-
}
|
|
1015
|
-
/**
|
|
1016
|
-
* Gets the LightSeaGreen default brush.
|
|
1017
|
-
* @public
|
|
1018
|
-
*/
|
|
1019
|
-
public static get LightSeaGreen(): PdfBrush {
|
|
1020
|
-
let brush: PdfBrush = null;
|
|
1021
|
-
if (this.sBrushes.containsKey(KnownColor.LightSeaGreen)) {
|
|
1022
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightSeaGreen)));
|
|
1023
|
-
}
|
|
1024
|
-
if ((brush == null)) {
|
|
1025
|
-
brush = this.getBrush(KnownColor.LightSeaGreen);
|
|
1026
|
-
}
|
|
1027
|
-
return brush;
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
* Gets the LightSkyBlue default brush.
|
|
1031
|
-
* @public
|
|
1032
|
-
*/
|
|
1033
|
-
public static get LightSkyBlue(): PdfBrush {
|
|
1034
|
-
let brush: PdfBrush = null;
|
|
1035
|
-
if (this.sBrushes.containsKey(KnownColor.LightSkyBlue)) {
|
|
1036
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightSkyBlue)));
|
|
1037
|
-
}
|
|
1038
|
-
if ((brush == null)) {
|
|
1039
|
-
brush = this.getBrush(KnownColor.LightSkyBlue);
|
|
1040
|
-
}
|
|
1041
|
-
return brush;
|
|
1042
|
-
}
|
|
1043
|
-
/**
|
|
1044
|
-
* Gets the LightSlateGray default brush.
|
|
1045
|
-
* @public
|
|
1046
|
-
*/
|
|
1047
|
-
public static get LightSlateGray(): PdfBrush {
|
|
1048
|
-
let brush: PdfBrush = null;
|
|
1049
|
-
if (this.sBrushes.containsKey(KnownColor.LightSlateGray)) {
|
|
1050
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightSlateGray)));
|
|
1051
|
-
}
|
|
1052
|
-
if ((brush == null)) {
|
|
1053
|
-
brush = this.getBrush(KnownColor.LightSlateGray);
|
|
1054
|
-
}
|
|
1055
|
-
return brush;
|
|
1056
|
-
}
|
|
1057
|
-
/**
|
|
1058
|
-
* Gets the LightSteelBlue default brush.
|
|
1059
|
-
* @public
|
|
1060
|
-
*/
|
|
1061
|
-
public static get LightSteelBlue(): PdfBrush {
|
|
1062
|
-
let brush: PdfBrush = null;
|
|
1063
|
-
if (this.sBrushes.containsKey(KnownColor.LightSteelBlue)) {
|
|
1064
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightSteelBlue)));
|
|
1065
|
-
}
|
|
1066
|
-
if ((brush == null)) {
|
|
1067
|
-
brush = this.getBrush(KnownColor.LightSteelBlue);
|
|
1068
|
-
}
|
|
1069
|
-
return brush;
|
|
1070
|
-
}
|
|
1071
|
-
/**
|
|
1072
|
-
* Gets the LightYellow default brush.
|
|
1073
|
-
* @public
|
|
1074
|
-
*/
|
|
1075
|
-
public static get LightYellow(): PdfBrush {
|
|
1076
|
-
let brush: PdfBrush = null;
|
|
1077
|
-
if (this.sBrushes.containsKey(KnownColor.LightYellow)) {
|
|
1078
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LightYellow)));
|
|
1079
|
-
}
|
|
1080
|
-
if ((brush == null)) {
|
|
1081
|
-
brush = this.getBrush(KnownColor.LightYellow);
|
|
1082
|
-
}
|
|
1083
|
-
return brush;
|
|
1084
|
-
}
|
|
1085
|
-
/**
|
|
1086
|
-
* Gets the Lime default brush.
|
|
1087
|
-
* @public
|
|
1088
|
-
*/
|
|
1089
|
-
public static get Lime(): PdfBrush {
|
|
1090
|
-
let brush: PdfBrush = null;
|
|
1091
|
-
if (this.sBrushes.containsKey(KnownColor.Lime)) {
|
|
1092
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Lime)));
|
|
1093
|
-
}
|
|
1094
|
-
if ((brush == null)) {
|
|
1095
|
-
brush = this.getBrush(KnownColor.Lime);
|
|
1096
|
-
}
|
|
1097
|
-
return brush;
|
|
1098
|
-
}
|
|
1099
|
-
/**
|
|
1100
|
-
* Gets the LimeGreen default brush.
|
|
1101
|
-
* @public
|
|
1102
|
-
*/
|
|
1103
|
-
public static get LimeGreen(): PdfBrush {
|
|
1104
|
-
let brush: PdfBrush = null;
|
|
1105
|
-
if (this.sBrushes.containsKey(KnownColor.LimeGreen)) {
|
|
1106
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.LimeGreen)));
|
|
1107
|
-
}
|
|
1108
|
-
if ((brush == null)) {
|
|
1109
|
-
brush = this.getBrush(KnownColor.LimeGreen);
|
|
1110
|
-
}
|
|
1111
|
-
return brush;
|
|
1112
|
-
}
|
|
1113
|
-
/**
|
|
1114
|
-
* Gets the Linen default brush.
|
|
1115
|
-
* @public
|
|
1116
|
-
*/
|
|
1117
|
-
public static get Linen(): PdfBrush {
|
|
1118
|
-
let brush: PdfBrush = null;
|
|
1119
|
-
if (this.sBrushes.containsKey(KnownColor.Linen)) {
|
|
1120
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Linen)));
|
|
1121
|
-
}
|
|
1122
|
-
if ((brush == null)) {
|
|
1123
|
-
brush = this.getBrush(KnownColor.Linen);
|
|
1124
|
-
}
|
|
1125
|
-
return brush;
|
|
1126
|
-
}
|
|
1127
|
-
/**
|
|
1128
|
-
* Gets the Magenta default brush.
|
|
1129
|
-
* @public
|
|
1130
|
-
*/
|
|
1131
|
-
public static get Magenta(): PdfBrush {
|
|
1132
|
-
let brush: PdfBrush = null;
|
|
1133
|
-
if (this.sBrushes.containsKey(KnownColor.Magenta)) {
|
|
1134
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Magenta)));
|
|
1135
|
-
}
|
|
1136
|
-
if ((brush == null)) {
|
|
1137
|
-
brush = this.getBrush(KnownColor.Magenta);
|
|
1138
|
-
}
|
|
1139
|
-
return brush;
|
|
1140
|
-
}
|
|
1141
|
-
/**
|
|
1142
|
-
* Gets the Maroon default brush.
|
|
1143
|
-
* @public
|
|
1144
|
-
*/
|
|
1145
|
-
public static get Maroon(): PdfBrush {
|
|
1146
|
-
let brush: PdfBrush = null;
|
|
1147
|
-
if (this.sBrushes.containsKey(KnownColor.Maroon)) {
|
|
1148
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Maroon)));
|
|
1149
|
-
}
|
|
1150
|
-
if ((brush == null)) {
|
|
1151
|
-
brush = this.getBrush(KnownColor.Maroon);
|
|
1152
|
-
}
|
|
1153
|
-
return brush;
|
|
1154
|
-
}
|
|
1155
|
-
/**
|
|
1156
|
-
* Gets the MediumAquamarine default brush.
|
|
1157
|
-
* @public
|
|
1158
|
-
*/
|
|
1159
|
-
public static get MediumAquamarine(): PdfBrush {
|
|
1160
|
-
let brush: PdfBrush = null;
|
|
1161
|
-
if (this.sBrushes.containsKey(KnownColor.MediumAquamarine)) {
|
|
1162
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumAquamarine)));
|
|
1163
|
-
}
|
|
1164
|
-
if ((brush == null)) {
|
|
1165
|
-
brush = this.getBrush(KnownColor.MediumAquamarine);
|
|
1166
|
-
}
|
|
1167
|
-
return brush;
|
|
1168
|
-
}
|
|
1169
|
-
/**
|
|
1170
|
-
* Gets the MediumBlue default brush.
|
|
1171
|
-
* @public
|
|
1172
|
-
*/
|
|
1173
|
-
public static get MediumBlue(): PdfBrush {
|
|
1174
|
-
let brush: PdfBrush = null;
|
|
1175
|
-
if (this.sBrushes.containsKey(KnownColor.MediumBlue)) {
|
|
1176
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumBlue)));
|
|
1177
|
-
}
|
|
1178
|
-
if ((brush == null)) {
|
|
1179
|
-
brush = this.getBrush(KnownColor.MediumBlue);
|
|
1180
|
-
}
|
|
1181
|
-
return brush;
|
|
1182
|
-
}
|
|
1183
|
-
/**
|
|
1184
|
-
* Gets the MediumOrchid default brush.
|
|
1185
|
-
* @public
|
|
1186
|
-
*/
|
|
1187
|
-
public static get MediumOrchid(): PdfBrush {
|
|
1188
|
-
let brush: PdfBrush = null;
|
|
1189
|
-
if (this.sBrushes.containsKey(KnownColor.MediumOrchid)) {
|
|
1190
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumOrchid)));
|
|
1191
|
-
}
|
|
1192
|
-
if ((brush == null)) {
|
|
1193
|
-
brush = this.getBrush(KnownColor.MediumOrchid);
|
|
1194
|
-
}
|
|
1195
|
-
return brush;
|
|
1196
|
-
}
|
|
1197
|
-
/**
|
|
1198
|
-
* Gets the MediumPurple default brush.
|
|
1199
|
-
* @public
|
|
1200
|
-
*/
|
|
1201
|
-
public static get MediumPurple(): PdfBrush {
|
|
1202
|
-
let brush: PdfBrush = null;
|
|
1203
|
-
if (this.sBrushes.containsKey(KnownColor.MediumPurple)) {
|
|
1204
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumPurple)));
|
|
1205
|
-
}
|
|
1206
|
-
if ((brush == null)) {
|
|
1207
|
-
brush = this.getBrush(KnownColor.MediumPurple);
|
|
1208
|
-
}
|
|
1209
|
-
return brush;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* Gets the MediumSeaGreen default brush.
|
|
1213
|
-
* @public
|
|
1214
|
-
*/
|
|
1215
|
-
public static get MediumSeaGreen(): PdfBrush {
|
|
1216
|
-
let brush: PdfBrush = null;
|
|
1217
|
-
if (this.sBrushes.containsKey(KnownColor.MediumSeaGreen)) {
|
|
1218
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumSeaGreen)));
|
|
1219
|
-
}
|
|
1220
|
-
if ((brush == null)) {
|
|
1221
|
-
brush = this.getBrush(KnownColor.MediumSeaGreen);
|
|
1222
|
-
}
|
|
1223
|
-
return brush;
|
|
1224
|
-
}
|
|
1225
|
-
/**
|
|
1226
|
-
* Gets the MediumSlateBlue default brush.
|
|
1227
|
-
* @public
|
|
1228
|
-
*/
|
|
1229
|
-
public static get MediumSlateBlue(): PdfBrush {
|
|
1230
|
-
let brush: PdfBrush = null;
|
|
1231
|
-
if (this.sBrushes.containsKey(KnownColor.MediumSlateBlue)) {
|
|
1232
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumSlateBlue)));
|
|
1233
|
-
}
|
|
1234
|
-
if ((brush == null)) {
|
|
1235
|
-
brush = this.getBrush(KnownColor.MediumSlateBlue);
|
|
1236
|
-
}
|
|
1237
|
-
return brush;
|
|
1238
|
-
}
|
|
1239
|
-
/**
|
|
1240
|
-
* Gets the MediumSpringGreen default brush.
|
|
1241
|
-
* @public
|
|
1242
|
-
*/
|
|
1243
|
-
public static get MediumSpringGreen(): PdfBrush {
|
|
1244
|
-
let brush: PdfBrush = null;
|
|
1245
|
-
if (this.sBrushes.containsKey(KnownColor.MediumSpringGreen)) {
|
|
1246
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumSpringGreen)));
|
|
1247
|
-
}
|
|
1248
|
-
if ((brush == null)) {
|
|
1249
|
-
brush = this.getBrush(KnownColor.MediumSpringGreen);
|
|
1250
|
-
}
|
|
1251
|
-
return brush;
|
|
1252
|
-
}
|
|
1253
|
-
/**
|
|
1254
|
-
* Gets the MediumTurquoise default brush.
|
|
1255
|
-
* @public
|
|
1256
|
-
*/
|
|
1257
|
-
public static get MediumTurquoise(): PdfBrush {
|
|
1258
|
-
let brush: PdfBrush = null;
|
|
1259
|
-
if (this.sBrushes.containsKey(KnownColor.MediumTurquoise)) {
|
|
1260
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumTurquoise)));
|
|
1261
|
-
}
|
|
1262
|
-
if ((brush == null)) {
|
|
1263
|
-
brush = this.getBrush(KnownColor.MediumTurquoise);
|
|
1264
|
-
}
|
|
1265
|
-
return brush;
|
|
1266
|
-
}
|
|
1267
|
-
/**
|
|
1268
|
-
* Gets the MediumVioletRed default brush.
|
|
1269
|
-
* @public
|
|
1270
|
-
*/
|
|
1271
|
-
public static get MediumVioletRed(): PdfBrush {
|
|
1272
|
-
let brush: PdfBrush = null;
|
|
1273
|
-
if (this.sBrushes.containsKey(KnownColor.MediumVioletRed)) {
|
|
1274
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MediumVioletRed)));
|
|
1275
|
-
}
|
|
1276
|
-
if ((brush == null)) {
|
|
1277
|
-
brush = this.getBrush(KnownColor.MediumVioletRed);
|
|
1278
|
-
}
|
|
1279
|
-
return brush;
|
|
1280
|
-
}
|
|
1281
|
-
/**
|
|
1282
|
-
* Gets the MidnightBlue default brush.
|
|
1283
|
-
* @public
|
|
1284
|
-
*/
|
|
1285
|
-
public static get MidnightBlue(): PdfBrush {
|
|
1286
|
-
let brush: PdfBrush = null;
|
|
1287
|
-
if (this.sBrushes.containsKey(KnownColor.MidnightBlue)) {
|
|
1288
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MidnightBlue)));
|
|
1289
|
-
}
|
|
1290
|
-
if ((brush == null)) {
|
|
1291
|
-
brush = this.getBrush(KnownColor.MidnightBlue);
|
|
1292
|
-
}
|
|
1293
|
-
return brush;
|
|
1294
|
-
}
|
|
1295
|
-
/**
|
|
1296
|
-
* Gets the MintCream default brush.
|
|
1297
|
-
* @public
|
|
1298
|
-
*/
|
|
1299
|
-
public static get MintCream(): PdfBrush {
|
|
1300
|
-
let brush: PdfBrush = null;
|
|
1301
|
-
if (this.sBrushes.containsKey(KnownColor.MintCream)) {
|
|
1302
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MintCream)));
|
|
1303
|
-
}
|
|
1304
|
-
if ((brush == null)) {
|
|
1305
|
-
brush = this.getBrush(KnownColor.MintCream);
|
|
1306
|
-
}
|
|
1307
|
-
return brush;
|
|
1308
|
-
}
|
|
1309
|
-
/**
|
|
1310
|
-
* Gets the MistyRose default brush.
|
|
1311
|
-
* @public
|
|
1312
|
-
*/
|
|
1313
|
-
public static get MistyRose(): PdfBrush {
|
|
1314
|
-
let brush: PdfBrush = null;
|
|
1315
|
-
if (this.sBrushes.containsKey(KnownColor.MistyRose)) {
|
|
1316
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.MistyRose)));
|
|
1317
|
-
}
|
|
1318
|
-
if ((brush == null)) {
|
|
1319
|
-
brush = this.getBrush(KnownColor.MistyRose);
|
|
1320
|
-
}
|
|
1321
|
-
return brush;
|
|
1322
|
-
}
|
|
1323
|
-
/**
|
|
1324
|
-
* Gets the Moccasin default brush.
|
|
1325
|
-
* @public
|
|
1326
|
-
*/
|
|
1327
|
-
public static get Moccasin(): PdfBrush {
|
|
1328
|
-
let brush: PdfBrush = null;
|
|
1329
|
-
if (this.sBrushes.containsKey(KnownColor.Moccasin)) {
|
|
1330
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Moccasin)));
|
|
1331
|
-
}
|
|
1332
|
-
if ((brush == null)) {
|
|
1333
|
-
brush = this.getBrush(KnownColor.Moccasin);
|
|
1334
|
-
}
|
|
1335
|
-
return brush;
|
|
1336
|
-
}
|
|
1337
|
-
/**
|
|
1338
|
-
* Gets the NavajoWhite default brush.
|
|
1339
|
-
* @public
|
|
1340
|
-
*/
|
|
1341
|
-
public static get NavajoWhite(): PdfBrush {
|
|
1342
|
-
let brush: PdfBrush = null;
|
|
1343
|
-
if (this.sBrushes.containsKey(KnownColor.NavajoWhite)) {
|
|
1344
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.NavajoWhite)));
|
|
1345
|
-
}
|
|
1346
|
-
if ((brush == null)) {
|
|
1347
|
-
brush = this.getBrush(KnownColor.NavajoWhite);
|
|
1348
|
-
}
|
|
1349
|
-
return brush;
|
|
1350
|
-
}
|
|
1351
|
-
/**
|
|
1352
|
-
* Gets the Navy default brush.
|
|
1353
|
-
* @public
|
|
1354
|
-
*/
|
|
1355
|
-
public static get Navy(): PdfBrush {
|
|
1356
|
-
let brush: PdfBrush = null;
|
|
1357
|
-
if (this.sBrushes.containsKey(KnownColor.Navy)) {
|
|
1358
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Navy)));
|
|
1359
|
-
}
|
|
1360
|
-
if ((brush == null)) {
|
|
1361
|
-
brush = this.getBrush(KnownColor.Navy);
|
|
1362
|
-
}
|
|
1363
|
-
return brush;
|
|
1364
|
-
}
|
|
1365
|
-
/**
|
|
1366
|
-
* Gets the OldLace default brush.
|
|
1367
|
-
* @public
|
|
1368
|
-
*/
|
|
1369
|
-
public static get OldLace(): PdfBrush {
|
|
1370
|
-
let brush: PdfBrush = null;
|
|
1371
|
-
if (this.sBrushes.containsKey(KnownColor.OldLace)) {
|
|
1372
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.OldLace)));
|
|
1373
|
-
}
|
|
1374
|
-
if ((brush == null)) {
|
|
1375
|
-
brush = this.getBrush(KnownColor.OldLace);
|
|
1376
|
-
}
|
|
1377
|
-
return brush;
|
|
1378
|
-
}
|
|
1379
|
-
/**
|
|
1380
|
-
* Gets the Olive default brush.
|
|
1381
|
-
* @public
|
|
1382
|
-
*/
|
|
1383
|
-
public static get Olive(): PdfBrush {
|
|
1384
|
-
let brush: PdfBrush = null;
|
|
1385
|
-
if (this.sBrushes.containsKey(KnownColor.Olive)) {
|
|
1386
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Olive)));
|
|
1387
|
-
}
|
|
1388
|
-
if ((brush == null)) {
|
|
1389
|
-
brush = this.getBrush(KnownColor.Olive);
|
|
1390
|
-
}
|
|
1391
|
-
return brush;
|
|
1392
|
-
}
|
|
1393
|
-
/**
|
|
1394
|
-
* Gets the OliveDrab default brush.
|
|
1395
|
-
* @public
|
|
1396
|
-
*/
|
|
1397
|
-
public static get OliveDrab(): PdfBrush {
|
|
1398
|
-
let brush: PdfBrush = null;
|
|
1399
|
-
if (this.sBrushes.containsKey(KnownColor.OliveDrab)) {
|
|
1400
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.OliveDrab)));
|
|
1401
|
-
}
|
|
1402
|
-
if ((brush == null)) {
|
|
1403
|
-
brush = this.getBrush(KnownColor.OliveDrab);
|
|
1404
|
-
}
|
|
1405
|
-
return brush;
|
|
1406
|
-
}
|
|
1407
|
-
/**
|
|
1408
|
-
* Gets the Orange default brush.
|
|
1409
|
-
* @public
|
|
1410
|
-
*/
|
|
1411
|
-
public static get Orange(): PdfBrush {
|
|
1412
|
-
let brush: PdfBrush = null;
|
|
1413
|
-
if (this.sBrushes.containsKey(KnownColor.Orange)) {
|
|
1414
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Orange)));
|
|
1415
|
-
}
|
|
1416
|
-
if ((brush == null)) {
|
|
1417
|
-
brush = this.getBrush(KnownColor.Orange);
|
|
1418
|
-
}
|
|
1419
|
-
return brush;
|
|
1420
|
-
}
|
|
1421
|
-
/**
|
|
1422
|
-
* Gets the OrangeRed default brush.
|
|
1423
|
-
* @public
|
|
1424
|
-
*/
|
|
1425
|
-
public static get OrangeRed(): PdfBrush {
|
|
1426
|
-
let brush: PdfBrush = null;
|
|
1427
|
-
if (this.sBrushes.containsKey(KnownColor.OrangeRed)) {
|
|
1428
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.OrangeRed)));
|
|
1429
|
-
}
|
|
1430
|
-
if ((brush == null)) {
|
|
1431
|
-
brush = this.getBrush(KnownColor.OrangeRed);
|
|
1432
|
-
}
|
|
1433
|
-
return brush;
|
|
1434
|
-
}
|
|
1435
|
-
/**
|
|
1436
|
-
* Gets the Orchid default brush.
|
|
1437
|
-
* @public
|
|
1438
|
-
*/
|
|
1439
|
-
public static get Orchid(): PdfBrush {
|
|
1440
|
-
let brush: PdfBrush = null;
|
|
1441
|
-
if (this.sBrushes.containsKey(KnownColor.Orchid)) {
|
|
1442
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Orchid)));
|
|
1443
|
-
}
|
|
1444
|
-
if ((brush == null)) {
|
|
1445
|
-
brush = this.getBrush(KnownColor.Orchid);
|
|
1446
|
-
}
|
|
1447
|
-
return brush;
|
|
1448
|
-
}
|
|
1449
|
-
/**
|
|
1450
|
-
* Gets the PaleGoldenrod default brush.
|
|
1451
|
-
* @public
|
|
1452
|
-
*/
|
|
1453
|
-
public static get PaleGoldenrod(): PdfBrush {
|
|
1454
|
-
let brush: PdfBrush = null;
|
|
1455
|
-
if (this.sBrushes.containsKey(KnownColor.PaleGoldenrod)) {
|
|
1456
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PaleGoldenrod)));
|
|
1457
|
-
}
|
|
1458
|
-
if ((brush == null)) {
|
|
1459
|
-
brush = this.getBrush(KnownColor.PaleGoldenrod);
|
|
1460
|
-
}
|
|
1461
|
-
return brush;
|
|
1462
|
-
}
|
|
1463
|
-
/**
|
|
1464
|
-
* Gets the PaleGreen default brush.
|
|
1465
|
-
* @public
|
|
1466
|
-
*/
|
|
1467
|
-
public static get PaleGreen(): PdfBrush {
|
|
1468
|
-
let brush: PdfBrush = null;
|
|
1469
|
-
if (this.sBrushes.containsKey(KnownColor.PaleGreen)) {
|
|
1470
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PaleGreen)));
|
|
1471
|
-
}
|
|
1472
|
-
if ((brush == null)) {
|
|
1473
|
-
brush = this.getBrush(KnownColor.PaleGreen);
|
|
1474
|
-
}
|
|
1475
|
-
return brush;
|
|
1476
|
-
}
|
|
1477
|
-
/**
|
|
1478
|
-
* Gets the PaleTurquoise default brush.
|
|
1479
|
-
* @public
|
|
1480
|
-
*/
|
|
1481
|
-
public static get PaleTurquoise(): PdfBrush {
|
|
1482
|
-
let brush: PdfBrush = null;
|
|
1483
|
-
if (this.sBrushes.containsKey(KnownColor.PaleTurquoise)) {
|
|
1484
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PaleTurquoise)));
|
|
1485
|
-
}
|
|
1486
|
-
if ((brush == null)) {
|
|
1487
|
-
brush = this.getBrush(KnownColor.PaleTurquoise);
|
|
1488
|
-
}
|
|
1489
|
-
return brush;
|
|
1490
|
-
}
|
|
1491
|
-
/**
|
|
1492
|
-
* Gets the PaleVioletRed default brush.
|
|
1493
|
-
* @public
|
|
1494
|
-
*/
|
|
1495
|
-
public static get PaleVioletRed(): PdfBrush {
|
|
1496
|
-
let brush: PdfBrush = null;
|
|
1497
|
-
if (this.sBrushes.containsKey(KnownColor.PaleVioletRed)) {
|
|
1498
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PaleVioletRed)));
|
|
1499
|
-
}
|
|
1500
|
-
if ((brush == null)) {
|
|
1501
|
-
brush = this.getBrush(KnownColor.PaleVioletRed);
|
|
1502
|
-
}
|
|
1503
|
-
return brush;
|
|
1504
|
-
}
|
|
1505
|
-
/**
|
|
1506
|
-
* Gets the PapayaWhip default brush.
|
|
1507
|
-
* @public
|
|
1508
|
-
*/
|
|
1509
|
-
public static get PapayaWhip(): PdfBrush {
|
|
1510
|
-
let brush: PdfBrush = null;
|
|
1511
|
-
if (this.sBrushes.containsKey(KnownColor.PapayaWhip)) {
|
|
1512
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PapayaWhip)));
|
|
1513
|
-
}
|
|
1514
|
-
if ((brush == null)) {
|
|
1515
|
-
brush = this.getBrush(KnownColor.PapayaWhip);
|
|
1516
|
-
}
|
|
1517
|
-
return brush;
|
|
1518
|
-
}
|
|
1519
|
-
/**
|
|
1520
|
-
* Gets the PeachPuff default brush.
|
|
1521
|
-
* @public
|
|
1522
|
-
*/
|
|
1523
|
-
public static get PeachPuff(): PdfBrush {
|
|
1524
|
-
let brush: PdfBrush = null;
|
|
1525
|
-
if (this.sBrushes.containsKey(KnownColor.PeachPuff)) {
|
|
1526
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PeachPuff)));
|
|
1527
|
-
}
|
|
1528
|
-
if ((brush == null)) {
|
|
1529
|
-
brush = this.getBrush(KnownColor.PeachPuff);
|
|
1530
|
-
}
|
|
1531
|
-
return brush;
|
|
1532
|
-
}
|
|
1533
|
-
/**
|
|
1534
|
-
* Gets the Peru default brush.
|
|
1535
|
-
* @public
|
|
1536
|
-
*/
|
|
1537
|
-
public static get Peru(): PdfBrush {
|
|
1538
|
-
let brush: PdfBrush = null;
|
|
1539
|
-
if (this.sBrushes.containsKey(KnownColor.Peru)) {
|
|
1540
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Peru)));
|
|
1541
|
-
}
|
|
1542
|
-
if ((brush == null)) {
|
|
1543
|
-
brush = this.getBrush(KnownColor.Peru);
|
|
1544
|
-
}
|
|
1545
|
-
return brush;
|
|
1546
|
-
}
|
|
1547
|
-
/**
|
|
1548
|
-
* Gets the Pink default brush.
|
|
1549
|
-
* @public
|
|
1550
|
-
*/
|
|
1551
|
-
public static get Pink(): PdfBrush {
|
|
1552
|
-
let brush: PdfBrush = null;
|
|
1553
|
-
if (this.sBrushes.containsKey(KnownColor.Pink)) {
|
|
1554
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Pink)));
|
|
1555
|
-
}
|
|
1556
|
-
if ((brush == null)) {
|
|
1557
|
-
brush = this.getBrush(KnownColor.Pink);
|
|
1558
|
-
}
|
|
1559
|
-
return brush;
|
|
1560
|
-
}
|
|
1561
|
-
/**
|
|
1562
|
-
* Gets the Plum default brush.
|
|
1563
|
-
* @public
|
|
1564
|
-
*/
|
|
1565
|
-
public static get Plum(): PdfBrush {
|
|
1566
|
-
let brush: PdfBrush = null;
|
|
1567
|
-
if (this.sBrushes.containsKey(KnownColor.Plum)) {
|
|
1568
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Plum)));
|
|
1569
|
-
}
|
|
1570
|
-
if ((brush == null)) {
|
|
1571
|
-
brush = this.getBrush(KnownColor.Plum);
|
|
1572
|
-
}
|
|
1573
|
-
return brush;
|
|
1574
|
-
}
|
|
1575
|
-
/**
|
|
1576
|
-
* Gets the PowderBlue default brush.
|
|
1577
|
-
* @public
|
|
1578
|
-
*/
|
|
1579
|
-
public static get PowderBlue(): PdfBrush {
|
|
1580
|
-
let brush: PdfBrush = null;
|
|
1581
|
-
if (this.sBrushes.containsKey(KnownColor.PowderBlue)) {
|
|
1582
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.PowderBlue)));
|
|
1583
|
-
}
|
|
1584
|
-
if ((brush == null)) {
|
|
1585
|
-
brush = this.getBrush(KnownColor.PowderBlue);
|
|
1586
|
-
}
|
|
1587
|
-
return brush;
|
|
1588
|
-
}
|
|
1589
|
-
/**
|
|
1590
|
-
* Gets the Purple default brush.
|
|
1591
|
-
* @public
|
|
1592
|
-
*/
|
|
1593
|
-
public static get Purple(): PdfBrush {
|
|
1594
|
-
let brush: PdfBrush = null;
|
|
1595
|
-
if (this.sBrushes.containsKey(KnownColor.Purple)) {
|
|
1596
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Purple)));
|
|
1597
|
-
}
|
|
1598
|
-
if ((brush == null)) {
|
|
1599
|
-
brush = this.getBrush(KnownColor.Purple);
|
|
1600
|
-
}
|
|
1601
|
-
return brush;
|
|
1602
|
-
}
|
|
1603
|
-
/**
|
|
1604
|
-
* Gets the Red default brush.
|
|
1605
|
-
* @public
|
|
1606
|
-
*/
|
|
1607
|
-
public static get Red(): PdfBrush {
|
|
1608
|
-
let brush: PdfBrush = null;
|
|
1609
|
-
if (this.sBrushes.containsKey(KnownColor.Red)) {
|
|
1610
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Red)));
|
|
1611
|
-
}
|
|
1612
|
-
if ((brush == null)) {
|
|
1613
|
-
brush = this.getBrush(KnownColor.Red);
|
|
1614
|
-
}
|
|
1615
|
-
return brush;
|
|
1616
|
-
}
|
|
1617
|
-
/**
|
|
1618
|
-
* Gets the RosyBrown default brush.
|
|
1619
|
-
* @public
|
|
1620
|
-
*/
|
|
1621
|
-
public static get RosyBrown(): PdfBrush {
|
|
1622
|
-
let brush: PdfBrush = null;
|
|
1623
|
-
if (this.sBrushes.containsKey(KnownColor.RosyBrown)) {
|
|
1624
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.RosyBrown)));
|
|
1625
|
-
}
|
|
1626
|
-
if ((brush == null)) {
|
|
1627
|
-
brush = this.getBrush(KnownColor.RosyBrown);
|
|
1628
|
-
}
|
|
1629
|
-
return brush;
|
|
1630
|
-
}
|
|
1631
|
-
/**
|
|
1632
|
-
* Gets the RoyalBlue default brush.
|
|
1633
|
-
* @public
|
|
1634
|
-
*/
|
|
1635
|
-
public static get RoyalBlue(): PdfBrush {
|
|
1636
|
-
let brush: PdfBrush = null;
|
|
1637
|
-
if (this.sBrushes.containsKey(KnownColor.RoyalBlue)) {
|
|
1638
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.RoyalBlue)));
|
|
1639
|
-
}
|
|
1640
|
-
if ((brush == null)) {
|
|
1641
|
-
brush = this.getBrush(KnownColor.RoyalBlue);
|
|
1642
|
-
}
|
|
1643
|
-
return brush;
|
|
1644
|
-
}
|
|
1645
|
-
/**
|
|
1646
|
-
* Gets the SaddleBrown default brush.
|
|
1647
|
-
* @public
|
|
1648
|
-
*/
|
|
1649
|
-
public static get SaddleBrown(): PdfBrush {
|
|
1650
|
-
let brush: PdfBrush = null;
|
|
1651
|
-
if (this.sBrushes.containsKey(KnownColor.SaddleBrown)) {
|
|
1652
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SaddleBrown)));
|
|
1653
|
-
}
|
|
1654
|
-
if ((brush == null)) {
|
|
1655
|
-
brush = this.getBrush(KnownColor.SaddleBrown);
|
|
1656
|
-
}
|
|
1657
|
-
return brush;
|
|
1658
|
-
}
|
|
1659
|
-
/**
|
|
1660
|
-
* Gets the Salmon default brush.
|
|
1661
|
-
* @public
|
|
1662
|
-
*/
|
|
1663
|
-
public static get Salmon(): PdfBrush {
|
|
1664
|
-
let brush: PdfBrush = null;
|
|
1665
|
-
if (this.sBrushes.containsKey(KnownColor.Salmon)) {
|
|
1666
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Salmon)));
|
|
1667
|
-
}
|
|
1668
|
-
if ((brush == null)) {
|
|
1669
|
-
brush = this.getBrush(KnownColor.Salmon);
|
|
1670
|
-
}
|
|
1671
|
-
return brush;
|
|
1672
|
-
}
|
|
1673
|
-
/**
|
|
1674
|
-
* Gets the SandyBrown default brush.
|
|
1675
|
-
* @public
|
|
1676
|
-
*/
|
|
1677
|
-
public static get SandyBrown(): PdfBrush {
|
|
1678
|
-
let brush: PdfBrush = null;
|
|
1679
|
-
if (this.sBrushes.containsKey(KnownColor.SandyBrown)) {
|
|
1680
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SandyBrown)));
|
|
1681
|
-
}
|
|
1682
|
-
if ((brush == null)) {
|
|
1683
|
-
brush = this.getBrush(KnownColor.SandyBrown);
|
|
1684
|
-
}
|
|
1685
|
-
return brush;
|
|
1686
|
-
}
|
|
1687
|
-
/**
|
|
1688
|
-
* Gets the SeaGreen default brush.
|
|
1689
|
-
* @public
|
|
1690
|
-
*/
|
|
1691
|
-
public static get SeaGreen(): PdfBrush {
|
|
1692
|
-
let brush: PdfBrush = null;
|
|
1693
|
-
if (this.sBrushes.containsKey(KnownColor.SeaGreen)) {
|
|
1694
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SeaGreen)));
|
|
1695
|
-
}
|
|
1696
|
-
if ((brush == null)) {
|
|
1697
|
-
brush = this.getBrush(KnownColor.SeaGreen);
|
|
1698
|
-
}
|
|
1699
|
-
return brush;
|
|
1700
|
-
}
|
|
1701
|
-
/**
|
|
1702
|
-
* Gets the SeaShell default brush.
|
|
1703
|
-
* @public
|
|
1704
|
-
*/
|
|
1705
|
-
public static get SeaShell(): PdfBrush {
|
|
1706
|
-
let brush: PdfBrush = null;
|
|
1707
|
-
if (this.sBrushes.containsKey(KnownColor.SeaShell)) {
|
|
1708
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SeaShell)));
|
|
1709
|
-
}
|
|
1710
|
-
if ((brush == null)) {
|
|
1711
|
-
brush = this.getBrush(KnownColor.SeaShell);
|
|
1712
|
-
}
|
|
1713
|
-
return brush;
|
|
1714
|
-
}
|
|
1715
|
-
/**
|
|
1716
|
-
* Gets the Sienna default brush.
|
|
1717
|
-
* @public
|
|
1718
|
-
*/
|
|
1719
|
-
public static get Sienna(): PdfBrush {
|
|
1720
|
-
let brush: PdfBrush = null;
|
|
1721
|
-
if (this.sBrushes.containsKey(KnownColor.Sienna)) {
|
|
1722
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Sienna)));
|
|
1723
|
-
}
|
|
1724
|
-
if ((brush == null)) {
|
|
1725
|
-
brush = this.getBrush(KnownColor.Sienna);
|
|
1726
|
-
}
|
|
1727
|
-
return brush;
|
|
1728
|
-
}
|
|
1729
|
-
/**
|
|
1730
|
-
* Gets the Silver default brush.
|
|
1731
|
-
* @public
|
|
1732
|
-
*/
|
|
1733
|
-
public static get Silver(): PdfBrush {
|
|
1734
|
-
let brush: PdfBrush = null;
|
|
1735
|
-
if (this.sBrushes.containsKey(KnownColor.Silver)) {
|
|
1736
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Silver)));
|
|
1737
|
-
}
|
|
1738
|
-
if ((brush == null)) {
|
|
1739
|
-
brush = this.getBrush(KnownColor.Silver);
|
|
1740
|
-
}
|
|
1741
|
-
return brush;
|
|
1742
|
-
}
|
|
1743
|
-
/**
|
|
1744
|
-
* Gets the SkyBlue default brush.
|
|
1745
|
-
* @public
|
|
1746
|
-
*/
|
|
1747
|
-
public static get SkyBlue(): PdfBrush {
|
|
1748
|
-
let brush: PdfBrush = null;
|
|
1749
|
-
if (this.sBrushes.containsKey(KnownColor.SkyBlue)) {
|
|
1750
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SkyBlue)));
|
|
1751
|
-
}
|
|
1752
|
-
if ((brush == null)) {
|
|
1753
|
-
brush = this.getBrush(KnownColor.SkyBlue);
|
|
1754
|
-
}
|
|
1755
|
-
return brush;
|
|
1756
|
-
}
|
|
1757
|
-
/**
|
|
1758
|
-
* Gets the SlateBlue default brush.
|
|
1759
|
-
* @public
|
|
1760
|
-
*/
|
|
1761
|
-
public static get SlateBlue(): PdfBrush {
|
|
1762
|
-
let brush: PdfBrush = null;
|
|
1763
|
-
if (this.sBrushes.containsKey(KnownColor.SlateBlue)) {
|
|
1764
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SlateBlue)));
|
|
1765
|
-
}
|
|
1766
|
-
if ((brush == null)) {
|
|
1767
|
-
brush = this.getBrush(KnownColor.SlateBlue);
|
|
1768
|
-
}
|
|
1769
|
-
return brush;
|
|
1770
|
-
}
|
|
1771
|
-
/**
|
|
1772
|
-
* Gets the SlateGray default brush.
|
|
1773
|
-
* @public
|
|
1774
|
-
*/
|
|
1775
|
-
public static get SlateGray(): PdfBrush {
|
|
1776
|
-
let brush: PdfBrush = null;
|
|
1777
|
-
if (this.sBrushes.containsKey(KnownColor.SlateGray)) {
|
|
1778
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SlateGray)));
|
|
1779
|
-
}
|
|
1780
|
-
if ((brush == null)) {
|
|
1781
|
-
brush = this.getBrush(KnownColor.SlateGray);
|
|
1782
|
-
}
|
|
1783
|
-
return brush;
|
|
1784
|
-
}
|
|
1785
|
-
/**
|
|
1786
|
-
* Gets the Snow default brush.
|
|
1787
|
-
* @public
|
|
1788
|
-
*/
|
|
1789
|
-
public static get Snow(): PdfBrush {
|
|
1790
|
-
let brush: PdfBrush = null;
|
|
1791
|
-
if (this.sBrushes.containsKey(KnownColor.Snow)) {
|
|
1792
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Snow)));
|
|
1793
|
-
}
|
|
1794
|
-
if ((brush == null)) {
|
|
1795
|
-
brush = this.getBrush(KnownColor.Snow);
|
|
1796
|
-
}
|
|
1797
|
-
return brush;
|
|
1798
|
-
}
|
|
1799
|
-
/**
|
|
1800
|
-
* Gets the SpringGreen default brush.
|
|
1801
|
-
* @public
|
|
1802
|
-
*/
|
|
1803
|
-
public static get SpringGreen(): PdfBrush {
|
|
1804
|
-
let brush: PdfBrush = null;
|
|
1805
|
-
if (this.sBrushes.containsKey(KnownColor.SpringGreen)) {
|
|
1806
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SpringGreen)));
|
|
1807
|
-
}
|
|
1808
|
-
if ((brush == null)) {
|
|
1809
|
-
brush = this.getBrush(KnownColor.SpringGreen);
|
|
1810
|
-
}
|
|
1811
|
-
return brush;
|
|
1812
|
-
}
|
|
1813
|
-
/**
|
|
1814
|
-
* Gets the SteelBlue default brush.
|
|
1815
|
-
* @public
|
|
1816
|
-
*/
|
|
1817
|
-
public static get SteelBlue(): PdfBrush {
|
|
1818
|
-
let brush: PdfBrush = null;
|
|
1819
|
-
if (this.sBrushes.containsKey(KnownColor.SteelBlue)) {
|
|
1820
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.SteelBlue)));
|
|
1821
|
-
}
|
|
1822
|
-
if ((brush == null)) {
|
|
1823
|
-
brush = this.getBrush(KnownColor.SteelBlue);
|
|
1824
|
-
}
|
|
1825
|
-
return brush;
|
|
1826
|
-
}
|
|
1827
|
-
/**
|
|
1828
|
-
* Gets the Tan default brush.
|
|
1829
|
-
* @public
|
|
1830
|
-
*/
|
|
1831
|
-
public static get Tan(): PdfBrush {
|
|
1832
|
-
let brush: PdfBrush = null;
|
|
1833
|
-
if (this.sBrushes.containsKey(KnownColor.Tan)) {
|
|
1834
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Tan)));
|
|
1835
|
-
}
|
|
1836
|
-
if ((brush == null)) {
|
|
1837
|
-
brush = this.getBrush(KnownColor.Tan);
|
|
1838
|
-
}
|
|
1839
|
-
return brush;
|
|
1840
|
-
}
|
|
1841
|
-
/**
|
|
1842
|
-
* Gets the Teal default brush.
|
|
1843
|
-
* @public
|
|
1844
|
-
*/
|
|
1845
|
-
public static get Teal(): PdfBrush {
|
|
1846
|
-
let brush: PdfBrush = null;
|
|
1847
|
-
if (this.sBrushes.containsKey(KnownColor.Teal)) {
|
|
1848
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Teal)));
|
|
1849
|
-
}
|
|
1850
|
-
if ((brush == null)) {
|
|
1851
|
-
brush = this.getBrush(KnownColor.Teal);
|
|
1852
|
-
}
|
|
1853
|
-
return brush;
|
|
1854
|
-
}
|
|
1855
|
-
/**
|
|
1856
|
-
* Gets the Thistle default brush.
|
|
1857
|
-
* @public
|
|
1858
|
-
*/
|
|
1859
|
-
public static get Thistle(): PdfBrush {
|
|
1860
|
-
let brush: PdfBrush = null;
|
|
1861
|
-
if (this.sBrushes.containsKey(KnownColor.Thistle)) {
|
|
1862
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Thistle)));
|
|
1863
|
-
}
|
|
1864
|
-
if ((brush == null)) {
|
|
1865
|
-
brush = this.getBrush(KnownColor.Thistle);
|
|
1866
|
-
}
|
|
1867
|
-
return brush;
|
|
1868
|
-
}
|
|
1869
|
-
/**
|
|
1870
|
-
* Gets the Tomato default brush.
|
|
1871
|
-
* @public
|
|
1872
|
-
*/
|
|
1873
|
-
public static get Tomato(): PdfBrush {
|
|
1874
|
-
let brush: PdfBrush = null;
|
|
1875
|
-
if (this.sBrushes.containsKey(KnownColor.Tomato)) {
|
|
1876
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Tomato)));
|
|
1877
|
-
}
|
|
1878
|
-
if ((brush == null)) {
|
|
1879
|
-
brush = this.getBrush(KnownColor.Tomato);
|
|
1880
|
-
}
|
|
1881
|
-
return brush;
|
|
1882
|
-
}
|
|
1883
|
-
/**
|
|
1884
|
-
* Gets the Transparent default brush.
|
|
1885
|
-
* @public
|
|
1886
|
-
*/
|
|
1887
|
-
public static get Transparent(): PdfBrush {
|
|
1888
|
-
let brush: PdfBrush = null;
|
|
1889
|
-
if (this.sBrushes.containsKey(KnownColor.Transparent)) {
|
|
1890
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Transparent)));
|
|
1891
|
-
}
|
|
1892
|
-
if ((brush == null)) {
|
|
1893
|
-
brush = this.getBrush(KnownColor.Transparent);
|
|
1894
|
-
}
|
|
1895
|
-
return brush;
|
|
1896
|
-
}
|
|
1897
|
-
/**
|
|
1898
|
-
* Gets the Turquoise default brush.
|
|
1899
|
-
* @public
|
|
1900
|
-
*/
|
|
1901
|
-
public static get Turquoise(): PdfBrush {
|
|
1902
|
-
let brush: PdfBrush = null;
|
|
1903
|
-
if (this.sBrushes.containsKey(KnownColor.Turquoise)) {
|
|
1904
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Turquoise)));
|
|
1905
|
-
}
|
|
1906
|
-
if ((brush == null)) {
|
|
1907
|
-
brush = this.getBrush(KnownColor.Turquoise);
|
|
1908
|
-
}
|
|
1909
|
-
return brush;
|
|
1910
|
-
}
|
|
1911
|
-
/**
|
|
1912
|
-
* Gets the Violet default brush.
|
|
1913
|
-
* @public
|
|
1914
|
-
*/
|
|
1915
|
-
public static get Violet(): PdfBrush {
|
|
1916
|
-
let brush: PdfBrush = null;
|
|
1917
|
-
if (this.sBrushes.containsKey(KnownColor.Violet)) {
|
|
1918
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Violet)));
|
|
1919
|
-
}
|
|
1920
|
-
if ((brush == null)) {
|
|
1921
|
-
brush = this.getBrush(KnownColor.Violet);
|
|
1922
|
-
}
|
|
1923
|
-
return brush;
|
|
1924
|
-
}
|
|
1925
|
-
/**
|
|
1926
|
-
* Gets the Wheat default brush.
|
|
1927
|
-
* @public
|
|
1928
|
-
*/
|
|
1929
|
-
public static get Wheat(): PdfBrush {
|
|
1930
|
-
let brush: PdfBrush = null;
|
|
1931
|
-
if (this.sBrushes.containsKey(KnownColor.Wheat)) {
|
|
1932
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Wheat)));
|
|
1933
|
-
}
|
|
1934
|
-
if ((brush == null)) {
|
|
1935
|
-
brush = this.getBrush(KnownColor.Wheat);
|
|
1936
|
-
}
|
|
1937
|
-
return brush;
|
|
1938
|
-
}
|
|
1939
|
-
/**
|
|
1940
|
-
* Gets the White default brush.
|
|
1941
|
-
* @public
|
|
1942
|
-
*/
|
|
1943
|
-
public static get White(): PdfBrush {
|
|
1944
|
-
let brush: PdfBrush = null;
|
|
1945
|
-
if (this.sBrushes.containsKey(KnownColor.White)) {
|
|
1946
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.White)));
|
|
1947
|
-
}
|
|
1948
|
-
if ((brush == null)) {
|
|
1949
|
-
brush = this.getBrush(KnownColor.White);
|
|
1950
|
-
}
|
|
1951
|
-
return brush;
|
|
1952
|
-
}
|
|
1953
|
-
/**
|
|
1954
|
-
* Gets the WhiteSmoke default brush.
|
|
1955
|
-
* @public
|
|
1956
|
-
*/
|
|
1957
|
-
public static get WhiteSmoke(): PdfBrush {
|
|
1958
|
-
let brush: PdfBrush = null;
|
|
1959
|
-
if (this.sBrushes.containsKey(KnownColor.WhiteSmoke)) {
|
|
1960
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.WhiteSmoke)));
|
|
1961
|
-
}
|
|
1962
|
-
if ((brush == null)) {
|
|
1963
|
-
brush = this.getBrush(KnownColor.WhiteSmoke);
|
|
1964
|
-
}
|
|
1965
|
-
return brush;
|
|
1966
|
-
}
|
|
1967
|
-
/**
|
|
1968
|
-
* Gets the Yellow default brush.
|
|
1969
|
-
* @public
|
|
1970
|
-
*/
|
|
1971
|
-
public static get Yellow(): PdfBrush {
|
|
1972
|
-
let brush: PdfBrush = null;
|
|
1973
|
-
if (this.sBrushes.containsKey(KnownColor.Yellow)) {
|
|
1974
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.Yellow)));
|
|
1975
|
-
}
|
|
1976
|
-
if ((brush == null)) {
|
|
1977
|
-
brush = this.getBrush(KnownColor.Yellow);
|
|
1978
|
-
}
|
|
1979
|
-
return brush;
|
|
1980
|
-
}
|
|
1981
|
-
/**
|
|
1982
|
-
* Gets the YellowGreen default brush.
|
|
1983
|
-
* @public
|
|
1984
|
-
*/
|
|
1985
|
-
public static get YellowGreen(): PdfBrush {
|
|
1986
|
-
let brush: PdfBrush = null;
|
|
1987
|
-
if (this.sBrushes.containsKey(KnownColor.YellowGreen)) {
|
|
1988
|
-
brush = (<PdfBrush>(this.sBrushes.getValue(KnownColor.YellowGreen)));
|
|
1989
|
-
}
|
|
1990
|
-
if ((brush == null)) {
|
|
1991
|
-
brush = this.getBrush(KnownColor.YellowGreen);
|
|
1992
|
-
}
|
|
1993
|
-
return brush;
|
|
1994
|
-
}
|
|
1995
|
-
/**
|
|
1996
|
-
* Get the brush.
|
|
1997
|
-
*/
|
|
1998
|
-
private static getBrush(colorName: KnownColor): PdfBrush {
|
|
1999
|
-
let pdfColor: PdfColor = this.getColorValue(colorName);
|
|
2000
|
-
let brush: PdfBrush = new PdfSolidBrush(pdfColor);
|
|
2001
|
-
this.sBrushes.setValue(colorName, brush);
|
|
2002
|
-
return brush;
|
|
2003
|
-
}
|
|
2004
|
-
/**
|
|
2005
|
-
* Get the color value.
|
|
2006
|
-
* @param colorName The KnownColor name.
|
|
2007
|
-
*/
|
|
2008
|
-
/* tslint:disable */
|
|
2009
|
-
private static getColorValue(colorName : KnownColor): PdfColor {
|
|
2010
|
-
let color : PdfColor = new PdfColor();
|
|
2011
|
-
switch (colorName) {
|
|
2012
|
-
case KnownColor.Transparent:
|
|
2013
|
-
color = new PdfColor(0, 255, 255, 255);
|
|
2014
|
-
break;
|
|
2015
|
-
case KnownColor.AliceBlue:
|
|
2016
|
-
color = new PdfColor(255, 240, 248, 255);
|
|
2017
|
-
break;
|
|
2018
|
-
case KnownColor.AntiqueWhite:
|
|
2019
|
-
color = new PdfColor(255, 250, 235, 215);
|
|
2020
|
-
break;
|
|
2021
|
-
case KnownColor.Aqua:
|
|
2022
|
-
color = new PdfColor(255, 0, 255, 255);
|
|
2023
|
-
break;
|
|
2024
|
-
case KnownColor.Aquamarine:
|
|
2025
|
-
color = new PdfColor(255, 127, 255, 212);
|
|
2026
|
-
break;
|
|
2027
|
-
case KnownColor.Azure:
|
|
2028
|
-
color = new PdfColor(255, 240, 255, 255);
|
|
2029
|
-
break;
|
|
2030
|
-
case KnownColor.Beige:
|
|
2031
|
-
color = new PdfColor(255, 245, 245, 220);
|
|
2032
|
-
break;
|
|
2033
|
-
case KnownColor.Bisque:
|
|
2034
|
-
color = new PdfColor(255, 255, 228, 196);
|
|
2035
|
-
break;
|
|
2036
|
-
case KnownColor.Black:
|
|
2037
|
-
color = new PdfColor(255, 0, 0, 0);
|
|
2038
|
-
break;
|
|
2039
|
-
case KnownColor.BlanchedAlmond:
|
|
2040
|
-
color = new PdfColor(255, 255, 235, 205);
|
|
2041
|
-
break;
|
|
2042
|
-
case KnownColor.Blue:
|
|
2043
|
-
color = new PdfColor(255, 0, 0, 255);
|
|
2044
|
-
break;
|
|
2045
|
-
case KnownColor.BlueViolet:
|
|
2046
|
-
color = new PdfColor(255, 138, 43, 226);
|
|
2047
|
-
break;
|
|
2048
|
-
case KnownColor.Brown:
|
|
2049
|
-
color = new PdfColor(255, 165, 42, 42);
|
|
2050
|
-
break;
|
|
2051
|
-
case KnownColor.BurlyWood:
|
|
2052
|
-
color = new PdfColor(255, 222, 184, 135);
|
|
2053
|
-
break;
|
|
2054
|
-
case KnownColor.CadetBlue:
|
|
2055
|
-
color = new PdfColor(255, 95, 158, 160);
|
|
2056
|
-
break;
|
|
2057
|
-
case KnownColor.Chartreuse:
|
|
2058
|
-
color = new PdfColor(255, 127, 255, 0);
|
|
2059
|
-
break;
|
|
2060
|
-
case KnownColor.Chocolate:
|
|
2061
|
-
color = new PdfColor(255, 210, 105, 30);
|
|
2062
|
-
break;
|
|
2063
|
-
case KnownColor.Coral:
|
|
2064
|
-
color = new PdfColor(255, 255, 127, 80);
|
|
2065
|
-
break;
|
|
2066
|
-
case KnownColor.CornflowerBlue:
|
|
2067
|
-
color = new PdfColor(255, 100, 149, 237);
|
|
2068
|
-
break;
|
|
2069
|
-
case KnownColor.Cornsilk:
|
|
2070
|
-
color = new PdfColor(255, 255, 248, 220);
|
|
2071
|
-
break;
|
|
2072
|
-
case KnownColor.Crimson:
|
|
2073
|
-
color = new PdfColor(255, 220, 20, 60);
|
|
2074
|
-
break;
|
|
2075
|
-
case KnownColor.Cyan:
|
|
2076
|
-
color = new PdfColor(255, 0, 255, 255);
|
|
2077
|
-
break;
|
|
2078
|
-
case KnownColor.DarkBlue:
|
|
2079
|
-
color = new PdfColor(255, 0, 0, 139);
|
|
2080
|
-
break;
|
|
2081
|
-
case KnownColor.DarkCyan:
|
|
2082
|
-
color = new PdfColor(255, 0, 139, 139);
|
|
2083
|
-
break;
|
|
2084
|
-
case KnownColor.DarkGoldenrod:
|
|
2085
|
-
color = new PdfColor(255, 184, 134, 11);
|
|
2086
|
-
break;
|
|
2087
|
-
case KnownColor.DarkGray:
|
|
2088
|
-
color = new PdfColor(255, 169, 169, 169);
|
|
2089
|
-
break;
|
|
2090
|
-
case KnownColor.DarkGreen:
|
|
2091
|
-
color = new PdfColor(255, 0, 100, 0);
|
|
2092
|
-
break;
|
|
2093
|
-
case KnownColor.DarkKhaki:
|
|
2094
|
-
color = new PdfColor(255, 189, 183, 107);
|
|
2095
|
-
break;
|
|
2096
|
-
case KnownColor.DarkMagenta:
|
|
2097
|
-
color = new PdfColor(255, 139, 0, 139);
|
|
2098
|
-
break;
|
|
2099
|
-
case KnownColor.DarkOliveGreen:
|
|
2100
|
-
color = new PdfColor(255, 85, 107, 47);
|
|
2101
|
-
break;
|
|
2102
|
-
case KnownColor.DarkOrange:
|
|
2103
|
-
color = new PdfColor(255, 255, 140, 0);
|
|
2104
|
-
break;
|
|
2105
|
-
case KnownColor.DarkOrchid:
|
|
2106
|
-
color = new PdfColor(255, 153, 50, 204);
|
|
2107
|
-
break;
|
|
2108
|
-
case KnownColor.DarkRed:
|
|
2109
|
-
color = new PdfColor(255, 139, 0, 0);
|
|
2110
|
-
break;
|
|
2111
|
-
case KnownColor.DarkSalmon:
|
|
2112
|
-
color = new PdfColor(255, 233, 150, 122);
|
|
2113
|
-
break;
|
|
2114
|
-
case KnownColor.DarkSeaGreen:
|
|
2115
|
-
color = new PdfColor(255, 143, 188, 139);
|
|
2116
|
-
break;
|
|
2117
|
-
case KnownColor.DarkSlateBlue:
|
|
2118
|
-
color = new PdfColor(255, 72, 61, 139);
|
|
2119
|
-
break;
|
|
2120
|
-
case KnownColor.DarkSlateGray:
|
|
2121
|
-
color = new PdfColor(255, 47, 79, 79);
|
|
2122
|
-
break;
|
|
2123
|
-
case KnownColor.DarkTurquoise:
|
|
2124
|
-
color = new PdfColor(255, 0, 206, 209);
|
|
2125
|
-
break;
|
|
2126
|
-
case KnownColor.DarkViolet:
|
|
2127
|
-
color = new PdfColor(255, 148, 0, 211);
|
|
2128
|
-
break;
|
|
2129
|
-
case KnownColor.DeepPink:
|
|
2130
|
-
color = new PdfColor(255, 255, 20, 147);
|
|
2131
|
-
break;
|
|
2132
|
-
case KnownColor.DeepSkyBlue:
|
|
2133
|
-
color = new PdfColor(255, 0, 191, 255);
|
|
2134
|
-
break;
|
|
2135
|
-
case KnownColor.DimGray:
|
|
2136
|
-
color = new PdfColor(255, 105, 105, 105);
|
|
2137
|
-
break;
|
|
2138
|
-
case KnownColor.DodgerBlue:
|
|
2139
|
-
color = new PdfColor(255, 30, 144, 255);
|
|
2140
|
-
break;
|
|
2141
|
-
case KnownColor.Firebrick:
|
|
2142
|
-
color = new PdfColor(255, 178, 34, 34);
|
|
2143
|
-
break;
|
|
2144
|
-
case KnownColor.FloralWhite:
|
|
2145
|
-
color = new PdfColor(255, 255, 250, 240);
|
|
2146
|
-
break;
|
|
2147
|
-
case KnownColor.ForestGreen:
|
|
2148
|
-
color = new PdfColor(255, 34, 139, 34);
|
|
2149
|
-
break;
|
|
2150
|
-
case KnownColor.Fuchsia:
|
|
2151
|
-
color = new PdfColor(255, 255, 0, 255);
|
|
2152
|
-
break;
|
|
2153
|
-
case KnownColor.Gainsboro:
|
|
2154
|
-
color = new PdfColor(255, 220, 220, 220);
|
|
2155
|
-
break;
|
|
2156
|
-
case KnownColor.GhostWhite:
|
|
2157
|
-
color = new PdfColor(255, 248, 248, 255);
|
|
2158
|
-
break;
|
|
2159
|
-
case KnownColor.Gold:
|
|
2160
|
-
color = new PdfColor(255, 255, 215, 0);
|
|
2161
|
-
break;
|
|
2162
|
-
case KnownColor.Goldenrod:
|
|
2163
|
-
color = new PdfColor(255, 218, 165, 32);
|
|
2164
|
-
break;
|
|
2165
|
-
case KnownColor.Gray:
|
|
2166
|
-
color = new PdfColor(255, 128, 128, 128);
|
|
2167
|
-
break;
|
|
2168
|
-
case KnownColor.Green:
|
|
2169
|
-
color = new PdfColor(255, 0, 128, 0);
|
|
2170
|
-
break;
|
|
2171
|
-
case KnownColor.GreenYellow:
|
|
2172
|
-
color = new PdfColor(255, 173, 255, 47);
|
|
2173
|
-
break;
|
|
2174
|
-
case KnownColor.Honeydew:
|
|
2175
|
-
color = new PdfColor(255, 240, 255, 240);
|
|
2176
|
-
break;
|
|
2177
|
-
case KnownColor.HotPink:
|
|
2178
|
-
color = new PdfColor(255, 255, 105, 180);
|
|
2179
|
-
break;
|
|
2180
|
-
case KnownColor.IndianRed:
|
|
2181
|
-
color = new PdfColor(255, 205, 92, 92);
|
|
2182
|
-
break;
|
|
2183
|
-
case KnownColor.Indigo:
|
|
2184
|
-
color = new PdfColor(255, 75, 0, 130);
|
|
2185
|
-
break;
|
|
2186
|
-
case KnownColor.Ivory:
|
|
2187
|
-
color = new PdfColor(255, 255, 255, 240);
|
|
2188
|
-
break;
|
|
2189
|
-
case KnownColor.Khaki:
|
|
2190
|
-
color = new PdfColor(255, 240, 230, 140);
|
|
2191
|
-
break;
|
|
2192
|
-
case KnownColor.Lavender:
|
|
2193
|
-
color = new PdfColor(255, 230, 230, 250);
|
|
2194
|
-
break;
|
|
2195
|
-
case KnownColor.LavenderBlush:
|
|
2196
|
-
color = new PdfColor(255, 255, 240, 245);
|
|
2197
|
-
break;
|
|
2198
|
-
case KnownColor.LawnGreen:
|
|
2199
|
-
color = new PdfColor(255, 124, 252, 0);
|
|
2200
|
-
break;
|
|
2201
|
-
case KnownColor.LemonChiffon:
|
|
2202
|
-
color = new PdfColor(255, 255, 250, 205);
|
|
2203
|
-
break;
|
|
2204
|
-
case KnownColor.LightBlue:
|
|
2205
|
-
color = new PdfColor(255, 173, 216, 230);
|
|
2206
|
-
break;
|
|
2207
|
-
case KnownColor.LightCoral:
|
|
2208
|
-
color = new PdfColor(255, 240, 128, 128);
|
|
2209
|
-
break;
|
|
2210
|
-
case KnownColor.LightCyan:
|
|
2211
|
-
color = new PdfColor(255, 224, 255, 255);
|
|
2212
|
-
break;
|
|
2213
|
-
case KnownColor.LightGoldenrodYellow:
|
|
2214
|
-
color = new PdfColor(255, 250, 250, 210);
|
|
2215
|
-
break;
|
|
2216
|
-
case KnownColor.LightGreen:
|
|
2217
|
-
color = new PdfColor(255, 144, 238, 144);
|
|
2218
|
-
break;
|
|
2219
|
-
case KnownColor.LightGray:
|
|
2220
|
-
color = new PdfColor(255, 211, 211, 211);
|
|
2221
|
-
break;
|
|
2222
|
-
case KnownColor.LightPink:
|
|
2223
|
-
color = new PdfColor(255, 255, 182, 193);
|
|
2224
|
-
break;
|
|
2225
|
-
case KnownColor.LightSalmon:
|
|
2226
|
-
color = new PdfColor(255, 255, 160, 122);
|
|
2227
|
-
break;
|
|
2228
|
-
case KnownColor.LightSeaGreen:
|
|
2229
|
-
color = new PdfColor(255, 32, 178, 170);
|
|
2230
|
-
break;
|
|
2231
|
-
case KnownColor.LightSkyBlue:
|
|
2232
|
-
color = new PdfColor(255, 135, 206, 250);
|
|
2233
|
-
break;
|
|
2234
|
-
case KnownColor.LightSlateGray:
|
|
2235
|
-
color = new PdfColor(255, 119, 136, 153);
|
|
2236
|
-
break;
|
|
2237
|
-
case KnownColor.LightSteelBlue:
|
|
2238
|
-
color = new PdfColor(255, 176, 196, 222);
|
|
2239
|
-
break;
|
|
2240
|
-
case KnownColor.LightYellow:
|
|
2241
|
-
color = new PdfColor(255, 255, 255, 224);
|
|
2242
|
-
break;
|
|
2243
|
-
case KnownColor.Lime:
|
|
2244
|
-
color = new PdfColor(255, 0, 255, 0);
|
|
2245
|
-
break;
|
|
2246
|
-
case KnownColor.LimeGreen:
|
|
2247
|
-
color = new PdfColor(255, 50, 205, 50);
|
|
2248
|
-
break;
|
|
2249
|
-
case KnownColor.Linen:
|
|
2250
|
-
color = new PdfColor(255, 250, 240, 230);
|
|
2251
|
-
break;
|
|
2252
|
-
case KnownColor.Magenta:
|
|
2253
|
-
color = new PdfColor(255, 255, 0, 255);
|
|
2254
|
-
break;
|
|
2255
|
-
case KnownColor.Maroon:
|
|
2256
|
-
color = new PdfColor(255, 128, 0, 0);
|
|
2257
|
-
break;
|
|
2258
|
-
case KnownColor.MediumAquamarine:
|
|
2259
|
-
color = new PdfColor(255, 102, 205, 170);
|
|
2260
|
-
break;
|
|
2261
|
-
case KnownColor.MediumBlue:
|
|
2262
|
-
color = new PdfColor(255, 0, 0, 205);
|
|
2263
|
-
break;
|
|
2264
|
-
case KnownColor.MediumOrchid:
|
|
2265
|
-
color = new PdfColor(255, 186, 85, 211);
|
|
2266
|
-
break;
|
|
2267
|
-
case KnownColor.MediumPurple:
|
|
2268
|
-
color = new PdfColor(255, 147, 112, 219);
|
|
2269
|
-
break;
|
|
2270
|
-
case KnownColor.MediumSeaGreen:
|
|
2271
|
-
color = new PdfColor(255, 60, 179, 113);
|
|
2272
|
-
break;
|
|
2273
|
-
case KnownColor.MediumSlateBlue:
|
|
2274
|
-
color = new PdfColor(255, 123, 104, 238);
|
|
2275
|
-
break;
|
|
2276
|
-
case KnownColor.MediumSpringGreen:
|
|
2277
|
-
color = new PdfColor(255, 0, 250, 154);
|
|
2278
|
-
break;
|
|
2279
|
-
case KnownColor.MediumTurquoise:
|
|
2280
|
-
color = new PdfColor(255, 72, 209, 204);
|
|
2281
|
-
break;
|
|
2282
|
-
case KnownColor.MediumVioletRed:
|
|
2283
|
-
color = new PdfColor(255, 199, 21, 133);
|
|
2284
|
-
break;
|
|
2285
|
-
case KnownColor.MidnightBlue:
|
|
2286
|
-
color = new PdfColor(255, 25, 25, 112);
|
|
2287
|
-
break;
|
|
2288
|
-
case KnownColor.MintCream:
|
|
2289
|
-
color = new PdfColor(255, 245, 255, 250);
|
|
2290
|
-
break;
|
|
2291
|
-
case KnownColor.MistyRose:
|
|
2292
|
-
color = new PdfColor(255, 255, 228, 225);
|
|
2293
|
-
break;
|
|
2294
|
-
case KnownColor.Moccasin:
|
|
2295
|
-
color = new PdfColor(255, 255, 228, 181);
|
|
2296
|
-
break;
|
|
2297
|
-
case KnownColor.NavajoWhite:
|
|
2298
|
-
color = new PdfColor(255, 255, 222, 173);
|
|
2299
|
-
break;
|
|
2300
|
-
case KnownColor.Navy:
|
|
2301
|
-
color = new PdfColor(255, 0, 0, 128);
|
|
2302
|
-
break;
|
|
2303
|
-
case KnownColor.OldLace:
|
|
2304
|
-
color = new PdfColor(255, 253, 245, 230);
|
|
2305
|
-
break;
|
|
2306
|
-
case KnownColor.Olive:
|
|
2307
|
-
color = new PdfColor(255, 128, 128, 0);
|
|
2308
|
-
break;
|
|
2309
|
-
case KnownColor.OliveDrab:
|
|
2310
|
-
color = new PdfColor(255, 107, 142, 35);
|
|
2311
|
-
break;
|
|
2312
|
-
case KnownColor.Orange:
|
|
2313
|
-
color = new PdfColor(255, 255, 165, 0);
|
|
2314
|
-
break;
|
|
2315
|
-
case KnownColor.OrangeRed:
|
|
2316
|
-
color = new PdfColor(255, 255, 69, 0);
|
|
2317
|
-
break;
|
|
2318
|
-
case KnownColor.Orchid:
|
|
2319
|
-
color = new PdfColor(255, 218, 112, 214);
|
|
2320
|
-
break;
|
|
2321
|
-
case KnownColor.PaleGoldenrod:
|
|
2322
|
-
color = new PdfColor(255, 238, 232, 170);
|
|
2323
|
-
break;
|
|
2324
|
-
case KnownColor.PaleGreen:
|
|
2325
|
-
color = new PdfColor(255, 152, 251, 152);
|
|
2326
|
-
break;
|
|
2327
|
-
case KnownColor.PaleTurquoise:
|
|
2328
|
-
color = new PdfColor(255, 175, 238, 238);
|
|
2329
|
-
break;
|
|
2330
|
-
case KnownColor.PaleVioletRed:
|
|
2331
|
-
color = new PdfColor(255, 219, 112, 147);
|
|
2332
|
-
break;
|
|
2333
|
-
case KnownColor.PapayaWhip:
|
|
2334
|
-
color = new PdfColor(255, 255, 239, 213);
|
|
2335
|
-
break;
|
|
2336
|
-
case KnownColor.PeachPuff:
|
|
2337
|
-
color = new PdfColor(255, 255, 218, 185);
|
|
2338
|
-
break;
|
|
2339
|
-
case KnownColor.Peru:
|
|
2340
|
-
color = new PdfColor(255, 205, 133, 63);
|
|
2341
|
-
break;
|
|
2342
|
-
case KnownColor.Pink:
|
|
2343
|
-
color = new PdfColor(255, 255, 192, 203);
|
|
2344
|
-
break;
|
|
2345
|
-
case KnownColor.Plum:
|
|
2346
|
-
color = new PdfColor(255, 221, 160, 221);
|
|
2347
|
-
break;
|
|
2348
|
-
case KnownColor.PowderBlue:
|
|
2349
|
-
color = new PdfColor(255, 176, 224, 230);
|
|
2350
|
-
break;
|
|
2351
|
-
case KnownColor.Purple:
|
|
2352
|
-
color = new PdfColor(255, 128, 0, 128);
|
|
2353
|
-
break;
|
|
2354
|
-
case KnownColor.Red:
|
|
2355
|
-
color = new PdfColor(255, 255, 0, 0);
|
|
2356
|
-
break;
|
|
2357
|
-
case KnownColor.RosyBrown:
|
|
2358
|
-
color = new PdfColor(255, 188, 143, 143);
|
|
2359
|
-
break;
|
|
2360
|
-
case KnownColor.RoyalBlue:
|
|
2361
|
-
color = new PdfColor(255, 65, 105, 225);
|
|
2362
|
-
break;
|
|
2363
|
-
case KnownColor.SaddleBrown:
|
|
2364
|
-
color = new PdfColor(255, 139, 69, 19);
|
|
2365
|
-
break;
|
|
2366
|
-
case KnownColor.Salmon:
|
|
2367
|
-
color = new PdfColor(255, 250, 128, 114);
|
|
2368
|
-
break;
|
|
2369
|
-
case KnownColor.SandyBrown:
|
|
2370
|
-
color = new PdfColor(255, 244, 164, 96);
|
|
2371
|
-
break;
|
|
2372
|
-
case KnownColor.SeaGreen:
|
|
2373
|
-
color = new PdfColor(255, 46, 139, 87);
|
|
2374
|
-
break;
|
|
2375
|
-
case KnownColor.SeaShell:
|
|
2376
|
-
color = new PdfColor(255, 255, 245, 238);
|
|
2377
|
-
break;
|
|
2378
|
-
case KnownColor.Sienna:
|
|
2379
|
-
color = new PdfColor(255, 160, 82, 45);
|
|
2380
|
-
break;
|
|
2381
|
-
case KnownColor.Silver:
|
|
2382
|
-
color = new PdfColor(255, 192, 192, 192);
|
|
2383
|
-
break;
|
|
2384
|
-
case KnownColor.SkyBlue:
|
|
2385
|
-
color = new PdfColor(255, 135, 206, 235);
|
|
2386
|
-
break;
|
|
2387
|
-
case KnownColor.SlateBlue:
|
|
2388
|
-
color = new PdfColor(255, 106, 90, 205);
|
|
2389
|
-
break;
|
|
2390
|
-
case KnownColor.SlateGray:
|
|
2391
|
-
color = new PdfColor(255, 112, 128, 144);
|
|
2392
|
-
break;
|
|
2393
|
-
case KnownColor.Snow:
|
|
2394
|
-
color = new PdfColor(255, 255, 250, 250);
|
|
2395
|
-
break;
|
|
2396
|
-
case KnownColor.SpringGreen:
|
|
2397
|
-
color = new PdfColor(255, 0, 255, 127);
|
|
2398
|
-
break;
|
|
2399
|
-
case KnownColor.SteelBlue:
|
|
2400
|
-
color = new PdfColor(255, 70, 130, 180);
|
|
2401
|
-
break;
|
|
2402
|
-
case KnownColor.Tan:
|
|
2403
|
-
color = new PdfColor(255, 210, 180, 140);
|
|
2404
|
-
break;
|
|
2405
|
-
case KnownColor.Teal:
|
|
2406
|
-
color = new PdfColor(255, 0, 128, 128);
|
|
2407
|
-
break;
|
|
2408
|
-
case KnownColor.Thistle:
|
|
2409
|
-
color = new PdfColor(255, 216, 191, 216);
|
|
2410
|
-
break;
|
|
2411
|
-
case KnownColor.Tomato:
|
|
2412
|
-
color = new PdfColor(255, 255, 99, 71);
|
|
2413
|
-
break;
|
|
2414
|
-
case KnownColor.Turquoise:
|
|
2415
|
-
color = new PdfColor(255, 64, 224, 208);
|
|
2416
|
-
break;
|
|
2417
|
-
case KnownColor.Violet:
|
|
2418
|
-
color = new PdfColor(255, 238, 130, 238);
|
|
2419
|
-
break;
|
|
2420
|
-
case KnownColor.Wheat:
|
|
2421
|
-
color = new PdfColor(255, 245, 222, 179);
|
|
2422
|
-
break;
|
|
2423
|
-
case KnownColor.White:
|
|
2424
|
-
color = new PdfColor(255, 255, 255, 255);
|
|
2425
|
-
break;
|
|
2426
|
-
case KnownColor.WhiteSmoke:
|
|
2427
|
-
color = new PdfColor(255, 245, 245, 245);
|
|
2428
|
-
break;
|
|
2429
|
-
case KnownColor.Yellow:
|
|
2430
|
-
color = new PdfColor(255, 255, 255, 0);
|
|
2431
|
-
break;
|
|
2432
|
-
case KnownColor.YellowGreen:
|
|
2433
|
-
color = new PdfColor(255, 154, 205, 50);
|
|
2434
|
-
break;
|
|
2435
|
-
}
|
|
2436
|
-
return color;
|
|
2437
|
-
}
|
|
2438
|
-
}
|