Skip to content

Commit aa6ecec

Browse files
author
Samer El-Khatib
committedSep 5, 2024·
Merge branch 'main' into production
2 parents 5ba03f6 + 4f8ddf3 commit aa6ecec

File tree

1,165 files changed

+994
-3097
lines changed

Some content is hidden

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

1,165 files changed

+994
-3097
lines changed
 

Diff for: ‎english/java/com.aspose.imaging/graphics/_index.md

+20-20
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ Represents the graphics according to the graphics engine used in the current ass
152152
| [fillPolygon(Brush brush, Point[] points)](#fillPolygon-com.aspose.imaging.Brush-com.aspose.imaging.Point---) | Fills the interior of a polygon defined by an array of points specified by `com.aspose.imaging.Point` structures and `FillMode.Alternate`. |
153153
| [fillPolygon(Brush brush, Point[] points, int fillMode)](#fillPolygon-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-) | Fills the interior of a polygon defined by an array of points specified by `com.aspose.imaging.Point` structures using the specified fill mode. |
154154
| [fillClosedCurve(Brush brush, PointF[] points)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.PointF` structures. |
155-
| [fillClosedCurve(Brush brush, PointF[] points, int fillmode)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.PointF` structures using the specified fill mode. |
156-
| [fillClosedCurve(Brush brush, PointF[] points, int fillmode, float tension)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-float-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.PointF` structures using the specified fill mode and tension. |
155+
| [fillClosedCurve(Brush brush, PointF[] points, int fillMode)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.PointF` structures using the specified fill mode. |
156+
| [fillClosedCurve(Brush brush, PointF[] points, int fillMode, float tension)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-float-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.PointF` structures using the specified fill mode and tension. |
157157
| [fillClosedCurve(Brush brush, Point[] points)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.Point` structures. |
158-
| [fillClosedCurve(Brush brush, Point[] points, int fillmode)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.Point` structures using the specified fill mode. |
159-
| [fillClosedCurve(Brush brush, Point[] points, int fillmode, float tension)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-float-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.Point` structures using the specified fill mode and tension. |
158+
| [fillClosedCurve(Brush brush, Point[] points, int fillMode)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.Point` structures using the specified fill mode. |
159+
| [fillClosedCurve(Brush brush, Point[] points, int fillMode, float tension)](#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-float-) | Fills the interior of a closed cardinal spline curve defined by an array of `com.aspose.imaging.Point` structures using the specified fill mode and tension. |
160160
| [drawPath(Pen pen, GraphicsPath path)](#drawPath-com.aspose.imaging.Pen-com.aspose.imaging.GraphicsPath-) | Draws a `com.aspose.imaging.graphicsPath`. |
161161
| [fillPath(Brush brush, GraphicsPath path)](#fillPath-com.aspose.imaging.Brush-com.aspose.imaging.GraphicsPath-) | Fills the interior of a `com.aspose.imaging.graphicsPath`. |
162-
| [fillRegion(Brush brush, Region region)](#fillRegion-com.aspose.imaging.Brush-com.aspose.imaging.Region-) | Fills the interior of a `com.aspose.imaging.region`. |
162+
| [fillRegion(Brush brush, Region region)](#fillRegion-com.aspose.imaging.Brush-com.aspose.imaging.Region-) | Fills the interior of a [Region](../../com.aspose.imaging/region). |
163163
| [measureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat)](#measureString-java.lang.String-com.aspose.imaging.Font-com.aspose.imaging.SizeF-com.aspose.imaging.StringFormat-) | Measures the specified text string with specified parameters |
164164

165165
## Example: This example uses Graphics class to create primitive shapes on the Image surface.
@@ -3402,9 +3402,9 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34023402
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34033403
| points | [PointF\[\]](../../com.aspose.imaging/pointf) | Array of `com.aspose.imaging.PointF` structures that define the spline. |
34043404

3405-
### fillClosedCurve(Brush brush, PointF[] points, int fillmode) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-}
3405+
### fillClosedCurve(Brush brush, PointF[] points, int fillMode) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-}
34063406
```
3407-
public void fillClosedCurve(Brush brush, PointF[] points, int fillmode)
3407+
public void fillClosedCurve(Brush brush, PointF[] points, int fillMode)
34083408
```
34093409

34103410

@@ -3415,11 +3415,11 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34153415
| --- | --- | --- |
34163416
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34173417
| points | [PointF\[\]](../../com.aspose.imaging/pointf) | Array of `com.aspose.imaging.PointF` structures that define the spline. |
3418-
| fillmode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
3418+
| fillMode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
34193419

3420-
### fillClosedCurve(Brush brush, PointF[] points, int fillmode, float tension) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-float-}
3420+
### fillClosedCurve(Brush brush, PointF[] points, int fillMode, float tension) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.PointF---int-float-}
34213421
```
3422-
public void fillClosedCurve(Brush brush, PointF[] points, int fillmode, float tension)
3422+
public void fillClosedCurve(Brush brush, PointF[] points, int fillMode, float tension)
34233423
```
34243424

34253425

@@ -3430,7 +3430,7 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34303430
| --- | --- | --- |
34313431
| brush | [Brush](../../com.aspose.imaging/brush) | A `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34323432
| points | [PointF\[\]](../../com.aspose.imaging/pointf) | Array of `com.aspose.imaging.PointF` structures that define the spline. |
3433-
| fillmode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
3433+
| fillMode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
34343434
| tension | float | Value greater than or equal to 0.0F that specifies the tension of the curve. |
34353435

34363436
### fillClosedCurve(Brush brush, Point[] points) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---}
@@ -3447,9 +3447,9 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34473447
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34483448
| points | [Point\[\]](../../com.aspose.imaging/point) | Array of `com.aspose.imaging.Point` structures that define the spline. |
34493449

3450-
### fillClosedCurve(Brush brush, Point[] points, int fillmode) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-}
3450+
### fillClosedCurve(Brush brush, Point[] points, int fillMode) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-}
34513451
```
3452-
public void fillClosedCurve(Brush brush, Point[] points, int fillmode)
3452+
public void fillClosedCurve(Brush brush, Point[] points, int fillMode)
34533453
```
34543454

34553455

@@ -3460,11 +3460,11 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34603460
| --- | --- | --- |
34613461
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34623462
| points | [Point\[\]](../../com.aspose.imaging/point) | Array of `com.aspose.imaging.Point` structures that define the spline. |
3463-
| fillmode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
3463+
| fillMode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
34643464

3465-
### fillClosedCurve(Brush brush, Point[] points, int fillmode, float tension) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-float-}
3465+
### fillClosedCurve(Brush brush, Point[] points, int fillMode, float tension) {#fillClosedCurve-com.aspose.imaging.Brush-com.aspose.imaging.Point---int-float-}
34663466
```
3467-
public void fillClosedCurve(Brush brush, Point[] points, int fillmode, float tension)
3467+
public void fillClosedCurve(Brush brush, Point[] points, int fillMode, float tension)
34683468
```
34693469

34703470

@@ -3475,7 +3475,7 @@ Fills the interior of a closed cardinal spline curve defined by an array of `com
34753475
| --- | --- | --- |
34763476
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
34773477
| points | [Point\[\]](../../com.aspose.imaging/point) | Array of `com.aspose.imaging.Point` structures that define the spline. |
3478-
| fillmode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
3478+
| fillMode | int | Member of the `com.aspose.imaging.FillMode` enumeration that determines how the curve is filled. |
34793479
| tension | float | Value greater than or equal to 0.0F that specifies the tension of the curve. |
34803480

34813481
### drawPath(Pen pen, GraphicsPath path) {#drawPath-com.aspose.imaging.Pen-com.aspose.imaging.GraphicsPath-}
@@ -3565,13 +3565,13 @@ public void fillRegion(Brush brush, Region region)
35653565
```
35663566

35673567

3568-
Fills the interior of a `com.aspose.imaging.region`.
3568+
Fills the interior of a [Region](../../com.aspose.imaging/region).
35693569

35703570
**Parameters:**
35713571
| Parameter | Type | Description |
35723572
| --- | --- | --- |
3573-
| brush | [Brush](../../com.aspose.imaging/brush) | `com.aspose.imaging.Brush` that determines the characteristics of the fill. |
3574-
| region | [Region](../../com.aspose.imaging/region) | `com.aspose.imaging.Region` that represents the area to fill. |
3573+
| brush | [Brush](../../com.aspose.imaging/brush) | [Brush](../../com.aspose.imaging/brush) that determines the characteristics of the fill. |
3574+
| region | [Region](../../com.aspose.imaging/region) | [Region](../../com.aspose.imaging/region) that represents the area to fill. |
35753575

35763576
### measureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat) {#measureString-java.lang.String-com.aspose.imaging.Font-com.aspose.imaging.SizeF-com.aspose.imaging.StringFormat-}
35773577
```

Diff for: ‎english/java/com.aspose.imaging/point/_index.md

+94-94
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ Represents an ordered pair of integer x- and y-coordinates that defines a point
2626
| Method | Description |
2727
| --- | --- |
2828
| [getEmpty()](#getEmpty--) | Gets a new instance of the `Aspose.Imaging.Point` structure that has `Aspose.Imaging.Point.X` and `Aspose.Imaging.Point.Y` values set to zero. |
29-
| [isEmpty()](#isEmpty--) | Gets a value indicating whether this `Aspose.Imaging.Point` is empty. |
30-
| [getX()](#getX--) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
31-
| [setX(int value)](#setX-int-) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
32-
| [getY()](#getY--) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
33-
| [setY(int value)](#setY-int-) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
3429
| [add(Point point, Size size)](#add-com.aspose.imaging.Point-com.aspose.imaging.Size-) | Adds the specified `Aspose.Imaging.Size` to the specified `Aspose.Imaging.Point`. |
3530
| [subtract(Point point, Size size)](#subtract-com.aspose.imaging.Point-com.aspose.imaging.Size-) | Returns the result of subtracting specified `Aspose.Imaging.Size` from the specified `Aspose.Imaging.Point`. |
3631
| [ceiling(PointF point)](#ceiling-com.aspose.imaging.PointF-) | Converts the specified `Aspose.Imaging.PointF` to a `Aspose.Imaging.Point` by rounding the values of the `Aspose.Imaging.PointF` to the next higher integer values. |
@@ -42,16 +37,21 @@ Represents an ordered pair of integer x- and y-coordinates that defines a point
4237
| [op_Inequality(Point point1, Point point2)](#op-Inequality-com.aspose.imaging.Point-com.aspose.imaging.Point-) | Compares two `Aspose.Imaging.Point` objects. |
4338
| [to_Size(Point point)](#to-Size-com.aspose.imaging.Point-) | Converts the specified `Aspose.Imaging.Point` structure to a `Aspose.Imaging.Size` structure. |
4439
| [to_PointF(Point point)](#to-PointF-com.aspose.imaging.Point-) | Converts the specified `Point` structure to the `PointF` structure. |
40+
| [fromLong(long packedPoint, int[] x, int[] y)](#fromLong-long-int---int---) | Deconstruct a Point object packed into a long object to separate X and Y int values. |
41+
| [isEquals(Point obj1, Point obj2)](#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-) | |
42+
| [isEmpty()](#isEmpty--) | Gets a value indicating whether this `Aspose.Imaging.Point` is empty. |
43+
| [getX()](#getX--) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
44+
| [setX(int value)](#setX-int-) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
45+
| [getY()](#getY--) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
46+
| [setY(int value)](#setY-int-) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
4547
| [offset(Point point)](#offset-com.aspose.imaging.Point-) | Translates this `Aspose.Imaging.Point` by the specified `Aspose.Imaging.Point`. |
4648
| [offset(int dx, int dy)](#offset-int-int-) | Translates this `Aspose.Imaging.Point` by the specified amount. |
4749
| [equals(Object obj)](#equals-java.lang.Object-) | Specifies whether this `Aspose.Imaging.Point` contains the same coordinates as the specified `System.Object`. |
4850
| [hashCode()](#hashCode--) | Returns a hash code for this `Aspose.Imaging.Point`. |
4951
| [toLong()](#toLong--) | Convert this Point to a single long value, containing X and Y coordinates in high and low bits. |
50-
| [fromLong(long packedPoint, int[] x, int[] y)](#fromLong-long-int---int---) | Deconstruct a Point object packed into a long object to separate X and Y int values. |
5152
| [toString()](#toString--) | Converts this `Aspose.Imaging.Point` to a human-readable string. |
5253
| [CloneTo(Point that)](#CloneTo-com.aspose.imaging.Point-) | |
5354
| [Clone()](#Clone--) | |
54-
| [isEquals(Point obj1, Point obj2)](#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-) | |
5555
### Point() {#Point--}
5656
```
5757
public Point()
@@ -108,62 +108,6 @@ Gets a new instance of the `Aspose.Imaging.Point` structure that has `Aspose.Ima
108108

109109
**Returns:**
110110
[Point](../../com.aspose.imaging/point)
111-
### isEmpty() {#isEmpty--}
112-
```
113-
public boolean isEmpty()
114-
```
115-
116-
117-
Gets a value indicating whether this `Aspose.Imaging.Point` is empty.
118-
119-
**Returns:**
120-
boolean - True if both `Aspose.Imaging.Point.X` and `Aspose.Imaging.Point.Y` are 0; otherwise, false.
121-
### getX() {#getX--}
122-
```
123-
public int getX()
124-
```
125-
126-
127-
Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.
128-
129-
**Returns:**
130-
int
131-
### setX(int value) {#setX-int-}
132-
```
133-
public void setX(int value)
134-
```
135-
136-
137-
Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.
138-
139-
**Parameters:**
140-
| Parameter | Type | Description |
141-
| --- | --- | --- |
142-
| value | int | |
143-
144-
### getY() {#getY--}
145-
```
146-
public int getY()
147-
```
148-
149-
150-
Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.
151-
152-
**Returns:**
153-
int
154-
### setY(int value) {#setY-int-}
155-
```
156-
public void setY(int value)
157-
```
158-
159-
160-
Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.
161-
162-
**Parameters:**
163-
| Parameter | Type | Description |
164-
| --- | --- | --- |
165-
| value | int | |
166-
167111
### add(Point point, Size size) {#add-com.aspose.imaging.Point-com.aspose.imaging.Size-}
168112
```
169113
public static Point add(Point point, Size size)
@@ -335,6 +279,93 @@ Converts the specified `Point` structure to the `PointF` structure.
335279

336280
**Returns:**
337281
[PointF](../../com.aspose.imaging/pointf) - The `PointF` that results from the conversion.
282+
### fromLong(long packedPoint, int[] x, int[] y) {#fromLong-long-int---int---}
283+
```
284+
public static void fromLong(long packedPoint, int[] x, int[] y)
285+
```
286+
287+
288+
Deconstruct a Point object packed into a long object to separate X and Y int values.
289+
290+
**Parameters:**
291+
| Parameter | Type | Description |
292+
| --- | --- | --- |
293+
| packedPoint | long | The Point object packed into one long value. |
294+
| x | int[] | The extracted from the packed Point X value. |
295+
| y | int[] | The extracted from the packed Point Y value. |
296+
297+
### isEquals(Point obj1, Point obj2) {#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-}
298+
```
299+
public static boolean isEquals(Point obj1, Point obj2)
300+
```
301+
302+
303+
304+
305+
**Parameters:**
306+
| Parameter | Type | Description |
307+
| --- | --- | --- |
308+
| obj1 | [Point](../../com.aspose.imaging/point) | |
309+
| obj2 | [Point](../../com.aspose.imaging/point) | |
310+
311+
**Returns:**
312+
boolean
313+
### isEmpty() {#isEmpty--}
314+
```
315+
public boolean isEmpty()
316+
```
317+
318+
319+
Gets a value indicating whether this `Aspose.Imaging.Point` is empty.
320+
321+
**Returns:**
322+
boolean - True if both `Aspose.Imaging.Point.X` and `Aspose.Imaging.Point.Y` are 0; otherwise, false.
323+
### getX() {#getX--}
324+
```
325+
public int getX()
326+
```
327+
328+
329+
Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.
330+
331+
**Returns:**
332+
int
333+
### setX(int value) {#setX-int-}
334+
```
335+
public void setX(int value)
336+
```
337+
338+
339+
Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.
340+
341+
**Parameters:**
342+
| Parameter | Type | Description |
343+
| --- | --- | --- |
344+
| value | int | |
345+
346+
### getY() {#getY--}
347+
```
348+
public int getY()
349+
```
350+
351+
352+
Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.
353+
354+
**Returns:**
355+
int
356+
### setY(int value) {#setY-int-}
357+
```
358+
public void setY(int value)
359+
```
360+
361+
362+
Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.
363+
364+
**Parameters:**
365+
| Parameter | Type | Description |
366+
| --- | --- | --- |
367+
| value | int | |
368+
338369
### offset(Point point) {#offset-com.aspose.imaging.Point-}
339370
```
340371
public void offset(Point point)
@@ -397,21 +428,6 @@ Convert this Point to a single long value, containing X and Y coordinates in hig
397428

398429
**Returns:**
399430
long - The Point object packed into one long value.
400-
### fromLong(long packedPoint, int[] x, int[] y) {#fromLong-long-int---int---}
401-
```
402-
public static void fromLong(long packedPoint, int[] x, int[] y)
403-
```
404-
405-
406-
Deconstruct a Point object packed into a long object to separate X and Y int values.
407-
408-
**Parameters:**
409-
| Parameter | Type | Description |
410-
| --- | --- | --- |
411-
| packedPoint | long | The Point object packed into one long value. |
412-
| x | int[] | The extracted from the packed Point X value. |
413-
| y | int[] | The extracted from the packed Point Y value. |
414-
415431
### toString() {#toString--}
416432
```
417433
public String toString()
@@ -445,19 +461,3 @@ public Point Clone()
445461

446462
**Returns:**
447463
[Point](../../com.aspose.imaging/point)
448-
### isEquals(Point obj1, Point obj2) {#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-}
449-
```
450-
public static boolean isEquals(Point obj1, Point obj2)
451-
```
452-
453-
454-
455-
456-
**Parameters:**
457-
| Parameter | Type | Description |
458-
| --- | --- | --- |
459-
| obj1 | [Point](../../com.aspose.imaging/point) | |
460-
| obj2 | [Point](../../com.aspose.imaging/point) | |
461-
462-
**Returns:**
463-
boolean

0 commit comments

Comments
 (0)
Please sign in to comment.