Skip to content

Commit 5ba03f6

Browse files
author
Samer El-Khatib
committed
Merge branch 'main' into production
2 parents cc4ebd7 + bd96155 commit 5ba03f6

File tree

127 files changed

+293
-143
lines changed
  • english
    • java
      • com.aspose.imaging.awt
      • com.aspose.imaging.brushes
      • com.aspose.imaging.coreexceptions.compressors
      • com.aspose.imaging.coreexceptions.imageformats
      • com.aspose.imaging.coreexceptions
      • com.aspose.imaging.customfonthandler
      • com.aspose.imaging.dithering
      • com.aspose.imaging.evalute
      • com.aspose.imaging.exif.enums
      • com.aspose.imaging.exif
      • com.aspose.imaging.extensions
      • com.aspose.imaging.fileformats.apng
      • com.aspose.imaging.fileformats.bigtiff
      • com.aspose.imaging.fileformats.bmp.structures
      • com.aspose.imaging.fileformats.bmp
      • com.aspose.imaging.fileformats.cdr.consts
      • com.aspose.imaging.fileformats.cdr.enums
      • com.aspose.imaging.fileformats.cdr.objects
      • com.aspose.imaging.fileformats.cdr.types
      • com.aspose.imaging.fileformats.cdr
      • com.aspose.imaging.fileformats.cmx.objectmodel.enums
      • com.aspose.imaging.fileformats.cmx.objectmodel.specs
      • com.aspose.imaging.fileformats.cmx.objectmodel.styles
      • com.aspose.imaging.fileformats.cmx.objectmodel
      • com.aspose.imaging.fileformats.cmx
      • com.aspose.imaging.fileformats.core.vectorpaths
      • com.aspose.imaging.fileformats.dicom
      • com.aspose.imaging.fileformats.djvu
      • com.aspose.imaging.fileformats.dng.decoder
      • com.aspose.imaging.fileformats.dng
      • com.aspose.imaging.fileformats.emf.dtyp.commondatastructures
      • com.aspose.imaging.fileformats.emf.emf.consts
      • com.aspose.imaging.fileformats.emf.emf.objects
      • com.aspose.imaging.fileformats.emf.emf.records
      • com.aspose.imaging.fileformats.emf.emfplus.consts
      • com.aspose.imaging.fileformats.emf.emfplus.objects
      • com.aspose.imaging.fileformats.emf.emfplus.records
      • com.aspose.imaging.fileformats.emf.emfspool.records
      • com.aspose.imaging.fileformats.emf.graphics
      • com.aspose.imaging.fileformats.emf
      • com.aspose.imaging.fileformats.eps.consts
      • com.aspose.imaging.fileformats.eps
      • com.aspose.imaging.fileformats.gif.blocks
      • com.aspose.imaging.fileformats.gif
      • com.aspose.imaging.fileformats.ico
      • com.aspose.imaging.fileformats.jpeg2000
      • com.aspose.imaging.fileformats.jpeg
      • com.aspose.imaging.fileformats.opendocument.enums
      • com.aspose.imaging.fileformats.opendocument.objects.brush
      • com.aspose.imaging.fileformats.opendocument.objects.font
      • com.aspose.imaging.fileformats.opendocument.objects.graphic
      • com.aspose.imaging.fileformats.opendocument.objects.pen
      • com.aspose.imaging.fileformats.opendocument.objects
      • com.aspose.imaging.fileformats.opendocument
      • com.aspose.imaging.fileformats.pdf
      • com.aspose.imaging.fileformats.png
      • com.aspose.imaging.fileformats.psd
      • com.aspose.imaging.fileformats.svg.graphics
      • com.aspose.imaging.fileformats.svg
      • com.aspose.imaging.fileformats.tga
      • com.aspose.imaging.fileformats.tiff.enums
      • com.aspose.imaging.fileformats.tiff.filemanagement.bigtiff
      • com.aspose.imaging.fileformats.tiff.filemanagement
      • com.aspose.imaging.fileformats.tiff.instancefactory
      • com.aspose.imaging.fileformats.tiff.pathresources
      • com.aspose.imaging.fileformats.tiff.tifftagtypes
      • com.aspose.imaging.fileformats.tiff
      • com.aspose.imaging.fileformats.webp
      • com.aspose.imaging.fileformats.wmf.consts
      • com.aspose.imaging.fileformats.wmf.graphics
      • com.aspose.imaging.fileformats.wmf.objects.escaperecords
      • com.aspose.imaging.fileformats.wmf.objects
      • com.aspose.imaging.fileformats.wmf
      • com.aspose.imaging.fileformats
      • com.aspose.imaging.flatarray.exceptions
      • com.aspose.imaging.imagefilters.complexutils
      • com.aspose.imaging.imagefilters.convolution
      • com.aspose.imaging.imagefilters.filteroptions
      • com.aspose.imaging.imageloadoptions
      • com.aspose.imaging.imageoptions
      • com.aspose.imaging.interfaces
      • com.aspose.imaging.magicwand.imagemasks
      • com.aspose.imaging.magicwand
      • com.aspose.imaging.masking.exceptions
      • com.aspose.imaging.masking.options
      • com.aspose.imaging.masking.result
      • com.aspose.imaging.masking
      • com.aspose.imaging.memorymanagement
      • com.aspose.imaging.multithreading
      • com.aspose.imaging.palettehelper
      • com.aspose.imaging.progressmanagement
      • com.aspose.imaging.shapesegments
      • com.aspose.imaging.shapes
      • com.aspose.imaging.sources
      • com.aspose.imaging.watermark.options
      • com.aspose.imaging.watermark
      • com.aspose.imaging.xmp.schemas.dicom
      • com.aspose.imaging.xmp.schemas.dublincore
      • com.aspose.imaging.xmp.schemas.pdf
      • com.aspose.imaging.xmp.schemas.photoshop
      • com.aspose.imaging.xmp.schemas.xmpbaseschema
      • com.aspose.imaging.xmp.schemas.xmpdm
      • com.aspose.imaging.xmp.schemas.xmpmm
      • com.aspose.imaging.xmp.schemas.xmprm
      • com.aspose.imaging.xmp.types.basic
      • com.aspose.imaging.xmp.types.complex.colorant
      • com.aspose.imaging.xmp.types.complex.dimensions
      • com.aspose.imaging.xmp.types.complex.font
      • com.aspose.imaging.xmp.types.complex.resourceevent
      • com.aspose.imaging.xmp.types.complex.resourceref
      • com.aspose.imaging.xmp.types.complex.thumbnail
      • com.aspose.imaging.xmp.types.complex.version
      • com.aspose.imaging.xmp.types.complex
      • com.aspose.imaging.xmp.types.derived
      • com.aspose.imaging.xmp.types
      • com.aspose.imaging.xmp
      • com.aspose.imaging
    • net

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+293
-143
lines changed

english/java/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ is_root: true
1313
| [com.aspose.imaging](./com.aspose.imaging) | The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing. |
1414
| [com.aspose.imaging.apsbuilder.dib](./com.aspose.imaging.apsbuilder.dib) | The package DIB header processing. |
1515
| [com.aspose.imaging.asynctask](./com.aspose.imaging.asynctask) | The package handles AsyncTask processing. |
16+
| [com.aspose.imaging.awt](./com.aspose.imaging.awt) | The package contains specific features for cooperating with java.awt.Graphic2D render. |
1617
| [com.aspose.imaging.brushes](./com.aspose.imaging.brushes) | The package provides helper classes and methods to work with different brush types. |
1718
| [com.aspose.imaging.coreexceptions](./com.aspose.imaging.coreexceptions) | The package contains exceptions thrown by any of the core Imaging components. |
1819
| [com.aspose.imaging.coreexceptions.compressors](./com.aspose.imaging.coreexceptions.compressors) | The package contains exceptions thrown by one of the compression algorithms supported. |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: com.aspose.imaging.awt
3+
second_title: Aspose.Imaging for Java API Reference
4+
description: The package contains specific features for cooperating with java.awt.Graphic2D render.
5+
type: docs
6+
weight: 13
7+
url: /java/com.aspose.imaging.awt/
8+
---
9+
10+
The package contains specific features for cooperating with java.awt.Graphic2D render.
11+
12+
13+
## Classes
14+
15+
| Class | Description |
16+
| --- | --- |
17+
| [GraphicsRenderer](../com.aspose.imaging.awt/graphicsrenderer) | The class handles drawing com.aspose.imaging.Image directly upon the java.awt.Graphic2D. |
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
title: GraphicsRenderer
3+
second_title: Aspose.Imaging for Java API Reference
4+
description: The class handles drawing com.aspose.imaging.Image directly upon the java.awt.Graphic2D.
5+
type: docs
6+
weight: 10
7+
url: /java/com.aspose.imaging.awt/graphicsrenderer/
8+
---
9+
**Inheritance:**
10+
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject)
11+
```
12+
public class GraphicsRenderer extends DisposableObject
13+
```
14+
15+
The class handles drawing com.aspose.imaging.Image directly upon the java.awt.Graphic2D. Using this class it is possible to avoid multiple allocations and coping the pixels between com.aspose.Imaging buffers into java.awt.BufferImage in case of VectorImage.
16+
## Constructors
17+
18+
| Constructor | Description |
19+
| --- | --- |
20+
| [GraphicsRenderer(Image image)](#GraphicsRenderer-com.aspose.imaging.Image-) | Creates a new render. |
21+
| [GraphicsRenderer(Image image, ImageOptionsBase exportOptions)](#GraphicsRenderer-com.aspose.imaging.Image-com.aspose.imaging.ImageOptionsBase-) | Creates a new render. |
22+
| [GraphicsRenderer(Image image, Color backgroundColor, int smoothingMode, int textRendering)](#GraphicsRenderer-com.aspose.imaging.Image-com.aspose.imaging.Color-int-int-) | Creates a new render. |
23+
## Methods
24+
25+
| Method | Description |
26+
| --- | --- |
27+
| [render(Graphics2D graphics)](#render-java.awt.Graphics2D-) | Performs the rendering on the given `graphics` with scale factor 1.0. |
28+
| [render(Graphics2D graphics, float scaleFactor)](#render-java.awt.Graphics2D-float-) | Performs the rendering on the given `graphics`. |
29+
### GraphicsRenderer(Image image) {#GraphicsRenderer-com.aspose.imaging.Image-}
30+
```
31+
public GraphicsRenderer(Image image)
32+
```
33+
34+
35+
Creates a new render. By default render will be proceed using the [SmoothingMode.HighQuality](../../com.aspose.imaging/smoothingmode\#HighQuality), [TextRenderingHint.ClearTypeGridFit](../../com.aspose.imaging/textrenderinghint\#ClearTypeGridFit), and with a white background color.
36+
37+
**Parameters:**
38+
| Parameter | Type | Description |
39+
| --- | --- | --- |
40+
| image | [Image](../../com.aspose.imaging/image) | The image which will be rendered on the java.awt.Graphics2D |
41+
42+
### GraphicsRenderer(Image image, ImageOptionsBase exportOptions) {#GraphicsRenderer-com.aspose.imaging.Image-com.aspose.imaging.ImageOptionsBase-}
43+
```
44+
public GraphicsRenderer(Image image, ImageOptionsBase exportOptions)
45+
```
46+
47+
48+
Creates a new render.
49+
50+
**Parameters:**
51+
| Parameter | Type | Description |
52+
| --- | --- | --- |
53+
| image | [Image](../../com.aspose.imaging/image) | The image which will be rendered on the java.awt.Graphics2D |
54+
| exportOptions | [ImageOptionsBase](../../com.aspose.imaging/imageoptionsbase) | The export options for adjusting the exporting image. |
55+
56+
### GraphicsRenderer(Image image, Color backgroundColor, int smoothingMode, int textRendering) {#GraphicsRenderer-com.aspose.imaging.Image-com.aspose.imaging.Color-int-int-}
57+
```
58+
public GraphicsRenderer(Image image, Color backgroundColor, int smoothingMode, int textRendering)
59+
```
60+
61+
62+
Creates a new render.
63+
64+
**Parameters:**
65+
| Parameter | Type | Description |
66+
| --- | --- | --- |
67+
| image | [Image](../../com.aspose.imaging/image) | The image which will be rendered on the java.awt.Graphics2D |
68+
| backgroundColor | [Color](../../com.aspose.imaging/color) | The background color. |
69+
| smoothingMode | int | The smoothing mode. |
70+
| textRendering | int | The text rendering mode. |
71+
72+
### render(Graphics2D graphics) {#render-java.awt.Graphics2D-}
73+
```
74+
public void render(Graphics2D graphics)
75+
```
76+
77+
78+
Performs the rendering on the given `graphics` with scale factor 1.0.
79+
80+
**Parameters:**
81+
| Parameter | Type | Description |
82+
| --- | --- | --- |
83+
| graphics | java.awt.Graphics2D | The graphics for drawing. |
84+
85+
### render(Graphics2D graphics, float scaleFactor) {#render-java.awt.Graphics2D-float-}
86+
```
87+
public void render(Graphics2D graphics, float scaleFactor)
88+
```
89+
90+
91+
Performs the rendering on the given `graphics`.
92+
93+
**Parameters:**
94+
| Parameter | Type | Description |
95+
| --- | --- | --- |
96+
| graphics | java.awt.Graphics2D | The graphics for drawing. |
97+
| scaleFactor | float | The scale factor. |
98+

english/java/com.aspose.imaging.brushes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.brushes
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package provides helper classes and methods to work with different brush types.
55
type: docs
6-
weight: 13
6+
weight: 14
77
url: /java/com.aspose.imaging.brushes/
88
---
99

english/java/com.aspose.imaging.coreexceptions.compressors/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.coreexceptions.compressors
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package contains exceptions thrown by one of the compression algorithms supported.
55
type: docs
6-
weight: 15
6+
weight: 16
77
url: /java/com.aspose.imaging.coreexceptions.compressors/
88
---
99

english/java/com.aspose.imaging.coreexceptions.imageformats/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.coreexceptions.imageformats
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package contains exceptions thrown by one of the file formats supported.
55
type: docs
6-
weight: 16
6+
weight: 17
77
url: /java/com.aspose.imaging.coreexceptions.imageformats/
88
---
99

english/java/com.aspose.imaging.coreexceptions/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.coreexceptions
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package contains exceptions thrown by any of the core Imaging components.
55
type: docs
6-
weight: 14
6+
weight: 15
77
url: /java/com.aspose.imaging.coreexceptions/
88
---
99

english/java/com.aspose.imaging.customfonthandler/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.customfonthandler
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package handles custom fonts processing.
55
type: docs
6-
weight: 17
6+
weight: 18
77
url: /java/com.aspose.imaging.customfonthandler/
88
---
99

english/java/com.aspose.imaging.dithering/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.dithering
33
second_title: Aspose.Imaging for Java API Reference
44
description: The package provides different helper classes for color dithering.
55
type: docs
6-
weight: 18
6+
weight: 19
77
url: /java/com.aspose.imaging.dithering/
88
---
99

english/java/com.aspose.imaging.evalute/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: com.aspose.imaging.evalute
33
second_title: Aspose.Imaging for Java API Reference
44
description:
55
type: docs
6-
weight: 19
6+
weight: 20
77
url: /java/com.aspose.imaging.evalute/
88
---
99

0 commit comments

Comments
 (0)