aspose.barcode 25.7.0 → 25.9.0
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/lib/AsposeBarcode.js
CHANGED
|
@@ -4,7 +4,7 @@ const joint_ = require('./Joint');
|
|
|
4
4
|
const complexbarcode_ = require("./ComplexBarcode");
|
|
5
5
|
const generation_ = require("./Generation");
|
|
6
6
|
const recognition_ = require("./Recognition");
|
|
7
|
-
const jar_name_ = "/aspose-barcode-nodejs-25.
|
|
7
|
+
const jar_name_ = "/aspose-barcode-nodejs-25.9.jar";
|
|
8
8
|
const jar_path_ = __dirname + jar_name_;
|
|
9
9
|
const fs = require("fs");
|
|
10
10
|
|
package/lib/Generation.js
CHANGED
|
@@ -5465,63 +5465,115 @@ class PdfParameters extends joint.BaseJavaClass
|
|
|
5465
5465
|
/** no-op initializer */
|
|
5466
5466
|
init() {}
|
|
5467
5467
|
|
|
5468
|
-
/**
|
|
5468
|
+
/**
|
|
5469
|
+
* CMYK color value of bar code. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5470
|
+
* @returns {CMYKColor|null}
|
|
5471
|
+
*/
|
|
5469
5472
|
getCMYKBarColor()
|
|
5470
5473
|
{
|
|
5471
|
-
return
|
|
5474
|
+
return CMYKColor.parseCMYK(this.getJavaClass().getCMYKBarColorSync());
|
|
5472
5475
|
}
|
|
5473
5476
|
|
|
5474
|
-
/**
|
|
5477
|
+
/**
|
|
5478
|
+
* CMYK color value of bar code. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5479
|
+
* @param {CMYKColor|null} value
|
|
5480
|
+
*/
|
|
5475
5481
|
setCMYKBarColor(value)
|
|
5476
5482
|
{
|
|
5477
5483
|
this.getJavaClass().setCMYKBarColorSync(value != null ? value.formatCMYK() : null);
|
|
5478
5484
|
}
|
|
5479
5485
|
|
|
5480
|
-
/**
|
|
5486
|
+
/**
|
|
5487
|
+
* CMYK back color value. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5488
|
+
* @returns {CMYKColor|null}
|
|
5489
|
+
*/
|
|
5481
5490
|
getCMYKBackColor()
|
|
5482
5491
|
{
|
|
5483
|
-
return
|
|
5492
|
+
return CMYKColor.parseCMYK(this.getJavaClass().getCMYKBackColorSync());
|
|
5484
5493
|
}
|
|
5485
5494
|
|
|
5486
|
-
/**
|
|
5495
|
+
/**
|
|
5496
|
+
* CMYK back color value. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5497
|
+
* @param {CMYKColor|null} value
|
|
5498
|
+
*/
|
|
5487
5499
|
setCMYKBackColor(value)
|
|
5488
5500
|
{
|
|
5489
5501
|
this.getJavaClass().setCMYKBackColorSync(value != null ? value.formatCMYK() : null);
|
|
5490
5502
|
}
|
|
5491
5503
|
|
|
5492
|
-
/**
|
|
5504
|
+
/**
|
|
5505
|
+
* CMYK color value of Codetext. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5506
|
+
* @returns {CMYKColor|null}
|
|
5507
|
+
*/
|
|
5493
5508
|
getCMYKCodetextColor()
|
|
5494
5509
|
{
|
|
5495
|
-
return
|
|
5510
|
+
return CMYKColor.parseCMYK(this.getJavaClass().getCMYKCodetextColorSync());
|
|
5496
5511
|
}
|
|
5497
5512
|
|
|
5498
|
-
/**
|
|
5513
|
+
/**
|
|
5514
|
+
* CMYK color value of Codetext. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5515
|
+
* @param {CMYKColor|null} value
|
|
5516
|
+
*/
|
|
5499
5517
|
setCMYKCodetextColor(value)
|
|
5500
5518
|
{
|
|
5501
5519
|
this.getJavaClass().setCMYKCodetextColorSync(value != null ? value.formatCMYK() : null);
|
|
5502
5520
|
}
|
|
5503
5521
|
|
|
5504
|
-
/**
|
|
5522
|
+
/**
|
|
5523
|
+
* CMYK color value of caption above. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5524
|
+
* @returns {CMYKColor|null}
|
|
5525
|
+
*/
|
|
5505
5526
|
getCMYKCaptionAboveColor() {
|
|
5506
5527
|
return CMYKColor.parseCMYK(this.getJavaClass().getCMYKCaptionAboveColorSync());
|
|
5507
5528
|
}
|
|
5508
5529
|
|
|
5509
|
-
/**
|
|
5530
|
+
/**
|
|
5531
|
+
* CMYK color value of caption above. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5532
|
+
* @param {CMYKColor|null} value
|
|
5533
|
+
*/
|
|
5510
5534
|
setCMYKCaptionAboveColor(value) {
|
|
5511
5535
|
this.getJavaClass().setCMYKCaptionAboveColorSync(value != null ? value.formatCMYK() : null);
|
|
5512
5536
|
}
|
|
5513
5537
|
|
|
5514
|
-
/**
|
|
5538
|
+
/**
|
|
5539
|
+
* CMYK color value of caption below. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5540
|
+
* @returns {CMYKColor|null}
|
|
5541
|
+
*/
|
|
5515
5542
|
getCMYKCaptionBelowColor()
|
|
5516
5543
|
{
|
|
5517
5544
|
return CMYKColor.parseCMYK(this.getJavaClass().getCMYKCaptionBelowColorSync());
|
|
5518
5545
|
}
|
|
5519
5546
|
|
|
5520
|
-
/**
|
|
5547
|
+
/**
|
|
5548
|
+
* CMYK color value of caption below. Null means CMYK color is not used, instead normal RGB color is used.
|
|
5549
|
+
* @param {CMYKColor|null} value
|
|
5550
|
+
*/
|
|
5521
5551
|
setCMYKCaptionBelowColor(value)
|
|
5522
5552
|
{
|
|
5523
5553
|
this.getJavaClass().setCMYKCaptionBelowColorSync(value.formatCMYK());
|
|
5524
5554
|
}
|
|
5555
|
+
|
|
5556
|
+
/**
|
|
5557
|
+
* <p>
|
|
5558
|
+
* Are paths used instead of text (use if Unicode characters are not displayed)
|
|
5559
|
+
* Default value: false.
|
|
5560
|
+
* </p>
|
|
5561
|
+
*/
|
|
5562
|
+
isTextAsPath()
|
|
5563
|
+
{
|
|
5564
|
+
return this.getJavaClass().isTextAsPathSync();
|
|
5565
|
+
}
|
|
5566
|
+
|
|
5567
|
+
/**
|
|
5568
|
+
* <p>
|
|
5569
|
+
* Are paths used instead of text (use if Unicode characters are not displayed)
|
|
5570
|
+
* Default value: false.
|
|
5571
|
+
* </p>
|
|
5572
|
+
*/
|
|
5573
|
+
setTextAsPath(value)
|
|
5574
|
+
{
|
|
5575
|
+
this.getJavaClass().setTextAsPathSync(value);
|
|
5576
|
+
}
|
|
5525
5577
|
}
|
|
5526
5578
|
|
|
5527
5579
|
/**
|
|
@@ -5567,7 +5619,7 @@ class CMYKColor {
|
|
|
5567
5619
|
return v;
|
|
5568
5620
|
});
|
|
5569
5621
|
|
|
5570
|
-
return new CMYKColor(nums[0], nums[1], nums[2], nums[3]);
|
|
5622
|
+
return new CMYKColor(nums[0] * 100, nums[1] * 100, nums[2] * 100, nums[3] * 100);
|
|
5571
5623
|
}
|
|
5572
5624
|
|
|
5573
5625
|
/**
|
|
Binary file
|