Skip to content

Commit d8cb9c7

Browse files
ars18wrwiText-CI
authored andcommitted
Fix issues identified by SQ
DEVSIX-5011 Autoported commit. Original commit hash: [7fc8a9489]
1 parent 6f7b7ae commit d8cb9c7

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

itext/itext.kernel/itext/kernel/pdf/colorspace/PdfPattern.cs

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace iText.Kernel.Pdf.Colorspace {
5959
public abstract class PdfPattern : PdfObjectWrapper<PdfDictionary> {
6060
/// <summary>
6161
/// Wraps the passed
62-
/// <see cref="iText.Kernel.Pdf.PdfDictionary"/>
62+
/// <see cref="iText.Kernel.Pdf.PdfDictionary"/>.
6363
/// </summary>
6464
/// <param name="pdfObject">
6565
/// the
@@ -219,6 +219,7 @@ public Tiling(PdfStream pdfObject)
219219
/// <summary>Creates a new Tiling Pattern instance.</summary>
220220
/// <remarks>
221221
/// Creates a new Tiling Pattern instance.
222+
/// <para />
222223
/// By default the pattern will be colored.
223224
/// </remarks>
224225
/// <param name="width">the width of the pattern cell's bounding box</param>
@@ -238,6 +239,7 @@ public Tiling(float width, float height, bool colored)
238239
/// <summary>Creates a new Tiling instance.</summary>
239240
/// <remarks>
240241
/// Creates a new Tiling instance.
242+
/// <para />
241243
/// By default the pattern will be colored.
242244
/// </remarks>
243245
/// <param name="bbox">the pattern cell's bounding box</param>
@@ -255,6 +257,7 @@ public Tiling(Rectangle bbox, bool colored)
255257
/// <summary>Creates a new Tiling Pattern instance.</summary>
256258
/// <remarks>
257259
/// Creates a new Tiling Pattern instance.
260+
/// <para />
258261
/// By default the pattern will be colored.
259262
/// </remarks>
260263
/// <param name="width">the width of the pattern cell's bounding box</param>
@@ -278,6 +281,7 @@ public Tiling(float width, float height, float xStep, float yStep, bool colored)
278281
/// <summary>Creates a new Tiling instance.</summary>
279282
/// <remarks>
280283
/// Creates a new Tiling instance.
284+
/// <para />
281285
/// By default the pattern will be colored.
282286
/// </remarks>
283287
/// <param name="bbox">the pattern cell's bounding box</param>
@@ -376,19 +380,19 @@ public virtual void SetBBox(Rectangle bbox) {
376380
SetModified();
377381
}
378382

379-
/// <summary>Gets the desired horizontal space between pattern cells</summary>
383+
/// <summary>Gets the desired horizontal space between pattern cells.</summary>
380384
/// <returns>the desired horizontal space between pattern cells</returns>
381385
public virtual float GetXStep() {
382386
return GetPdfObject().GetAsNumber(PdfName.XStep).FloatValue();
383387
}
384388

385-
/// <summary>Sets the desired horizontal space between pattern cells</summary>
389+
/// <summary>Sets the desired horizontal space between pattern cells.</summary>
386390
public virtual void SetXStep(float xStep) {
387391
GetPdfObject().Put(PdfName.XStep, new PdfNumber(xStep));
388392
SetModified();
389393
}
390394

391-
/// <summary>Gets the desired vertical space between pattern cells</summary>
395+
/// <summary>Gets the desired vertical space between pattern cells.</summary>
392396
/// <returns>the desired vertical space between pattern cells</returns>
393397
public virtual float GetYStep() {
394398
return GetPdfObject().GetAsNumber(PdfName.YStep).FloatValue();
@@ -400,7 +404,7 @@ public virtual void SetYStep(float yStep) {
400404
SetModified();
401405
}
402406

403-
/// <summary>Gets the Tiling Pattern's resources</summary>
407+
/// <summary>Gets the Tiling Pattern's resources.</summary>
404408
/// <returns>the Tiling Pattern's resources</returns>
405409
public virtual PdfResources GetResources() {
406410
if (this.resources == null) {
@@ -469,7 +473,7 @@ public Shading(PdfShading shading)
469473

470474
/// <summary>
471475
/// Gets the dictionary of the pattern's
472-
/// <see cref="PdfShading"/>
476+
/// <see cref="PdfShading"/>.
473477
/// </summary>
474478
/// <returns>
475479
/// the dictionary of the pattern's
@@ -482,7 +486,7 @@ public virtual PdfDictionary GetShading() {
482486
/// <summary>
483487
/// Sets the
484488
/// <see cref="PdfShading"/>
485-
/// that specifies the details of a particular gradient fill
489+
/// that specifies the details of a particular gradient fill.
486490
/// </summary>
487491
/// <param name="shading">
488492
/// the
@@ -494,7 +498,7 @@ public virtual void SetShading(PdfShading shading) {
494498
SetModified();
495499
}
496500

497-
/// <summary>Sets the dictionary which specifies the details of a particular gradient fill</summary>
501+
/// <summary>Sets the dictionary which specifies the details of a particular gradient fill.</summary>
498502
/// <param name="shading">
499503
/// the dictionary of the pattern's
500504
/// <see cref="PdfShading"/>

itext/itext.kernel/itext/kernel/pdf/colorspace/PdfShading.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ protected internal PdfShading(PdfDictionary pdfObject)
181181
/// object from the existing
182182
/// <see cref="iText.Kernel.Pdf.PdfDictionary"/>
183183
/// ,
184-
/// using provided type and colorspace
184+
/// using provided type and colorspace.
185185
/// </summary>
186186
/// <param name="pdfObject">
187187
///

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0cbf7594898d154bbc4db887eccf358ef7f81220
1+
7fc8a9489959dbcc31cadfb1eff1c918bad2c2eb

0 commit comments

Comments
 (0)