Skip to content

Commit

Permalink
Merge branch 'main' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
Samer El-Khatib committed Sep 5, 2024
2 parents 5ba03f6 + 4f8ddf3 commit aa6ecec
Show file tree
Hide file tree
Showing 1,165 changed files with 994 additions and 3,097 deletions.
40 changes: 20 additions & 20 deletions english/java/com.aspose.imaging/graphics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ Represents the graphics according to the graphics engine used in the current ass
| [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`. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [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. |
| [drawPath(Pen pen, GraphicsPath path)](#drawPath-com.aspose.imaging.Pen-com.aspose.imaging.GraphicsPath-) | Draws a `com.aspose.imaging.graphicsPath`. |
| [fillPath(Brush brush, GraphicsPath path)](#fillPath-com.aspose.imaging.Brush-com.aspose.imaging.GraphicsPath-) | Fills the interior of a `com.aspose.imaging.graphicsPath`. |
| [fillRegion(Brush brush, Region region)](#fillRegion-com.aspose.imaging.Brush-com.aspose.imaging.Region-) | Fills the interior of a `com.aspose.imaging.region`. |
| [fillRegion(Brush brush, Region region)](#fillRegion-com.aspose.imaging.Brush-com.aspose.imaging.Region-) | Fills the interior of a [Region](../../com.aspose.imaging/region). |
| [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 |

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

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


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

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


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

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

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


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

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


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

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


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

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

### 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-}
```
Expand Down
188 changes: 94 additions & 94 deletions english/java/com.aspose.imaging/point/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ Represents an ordered pair of integer x- and y-coordinates that defines a point
| Method | Description |
| --- | --- |
| [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. |
| [isEmpty()](#isEmpty--) | Gets a value indicating whether this `Aspose.Imaging.Point` is empty. |
| [getX()](#getX--) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
| [setX(int value)](#setX-int-) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
| [getY()](#getY--) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
| [setY(int value)](#setY-int-) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
| [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`. |
| [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`. |
| [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. |
Expand All @@ -42,16 +37,21 @@ Represents an ordered pair of integer x- and y-coordinates that defines a point
| [op_Inequality(Point point1, Point point2)](#op-Inequality-com.aspose.imaging.Point-com.aspose.imaging.Point-) | Compares two `Aspose.Imaging.Point` objects. |
| [to_Size(Point point)](#to-Size-com.aspose.imaging.Point-) | Converts the specified `Aspose.Imaging.Point` structure to a `Aspose.Imaging.Size` structure. |
| [to_PointF(Point point)](#to-PointF-com.aspose.imaging.Point-) | Converts the specified `Point` structure to the `PointF` structure. |
| [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. |
| [isEquals(Point obj1, Point obj2)](#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-) | |
| [isEmpty()](#isEmpty--) | Gets a value indicating whether this `Aspose.Imaging.Point` is empty. |
| [getX()](#getX--) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
| [setX(int value)](#setX-int-) | Gets or sets the x-coordinate of this `Aspose.Imaging.Point`. |
| [getY()](#getY--) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
| [setY(int value)](#setY-int-) | Gets or sets the y-coordinate of this `Aspose.Imaging.Point`. |
| [offset(Point point)](#offset-com.aspose.imaging.Point-) | Translates this `Aspose.Imaging.Point` by the specified `Aspose.Imaging.Point`. |
| [offset(int dx, int dy)](#offset-int-int-) | Translates this `Aspose.Imaging.Point` by the specified amount. |
| [equals(Object obj)](#equals-java.lang.Object-) | Specifies whether this `Aspose.Imaging.Point` contains the same coordinates as the specified `System.Object`. |
| [hashCode()](#hashCode--) | Returns a hash code for this `Aspose.Imaging.Point`. |
| [toLong()](#toLong--) | Convert this Point to a single long value, containing X and Y coordinates in high and low bits. |
| [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. |
| [toString()](#toString--) | Converts this `Aspose.Imaging.Point` to a human-readable string. |
| [CloneTo(Point that)](#CloneTo-com.aspose.imaging.Point-) | |
| [Clone()](#Clone--) | |
| [isEquals(Point obj1, Point obj2)](#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-) | |
### Point() {#Point--}
```
public Point()
Expand Down Expand Up @@ -108,62 +108,6 @@ Gets a new instance of the `Aspose.Imaging.Point` structure that has `Aspose.Ima

**Returns:**
[Point](../../com.aspose.imaging/point)
### isEmpty() {#isEmpty--}
```
public boolean isEmpty()
```


Gets a value indicating whether this `Aspose.Imaging.Point` is empty.

**Returns:**
boolean - True if both `Aspose.Imaging.Point.X` and `Aspose.Imaging.Point.Y` are 0; otherwise, false.
### getX() {#getX--}
```
public int getX()
```


Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.

**Returns:**
int
### setX(int value) {#setX-int-}
```
public void setX(int value)
```


Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |

### getY() {#getY--}
```
public int getY()
```


Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.

**Returns:**
int
### setY(int value) {#setY-int-}
```
public void setY(int value)
```


Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |

### add(Point point, Size size) {#add-com.aspose.imaging.Point-com.aspose.imaging.Size-}
```
public static Point add(Point point, Size size)
Expand Down Expand Up @@ -335,6 +279,93 @@ Converts the specified `Point` structure to the `PointF` structure.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The `PointF` that results from the conversion.
### fromLong(long packedPoint, int[] x, int[] y) {#fromLong-long-int---int---}
```
public static void fromLong(long packedPoint, int[] x, int[] y)
```


Deconstruct a Point object packed into a long object to separate X and Y int values.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| packedPoint | long | The Point object packed into one long value. |
| x | int[] | The extracted from the packed Point X value. |
| y | int[] | The extracted from the packed Point Y value. |

### isEquals(Point obj1, Point obj2) {#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-}
```
public static boolean isEquals(Point obj1, Point obj2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj1 | [Point](../../com.aspose.imaging/point) | |
| obj2 | [Point](../../com.aspose.imaging/point) | |

**Returns:**
boolean
### isEmpty() {#isEmpty--}
```
public boolean isEmpty()
```


Gets a value indicating whether this `Aspose.Imaging.Point` is empty.

**Returns:**
boolean - True if both `Aspose.Imaging.Point.X` and `Aspose.Imaging.Point.Y` are 0; otherwise, false.
### getX() {#getX--}
```
public int getX()
```


Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.

**Returns:**
int
### setX(int value) {#setX-int-}
```
public void setX(int value)
```


Gets or sets the x-coordinate of this `Aspose.Imaging.Point`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |

### getY() {#getY--}
```
public int getY()
```


Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.

**Returns:**
int
### setY(int value) {#setY-int-}
```
public void setY(int value)
```


Gets or sets the y-coordinate of this `Aspose.Imaging.Point`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | |

### offset(Point point) {#offset-com.aspose.imaging.Point-}
```
public void offset(Point point)
Expand Down Expand Up @@ -397,21 +428,6 @@ Convert this Point to a single long value, containing X and Y coordinates in hig

**Returns:**
long - The Point object packed into one long value.
### fromLong(long packedPoint, int[] x, int[] y) {#fromLong-long-int---int---}
```
public static void fromLong(long packedPoint, int[] x, int[] y)
```


Deconstruct a Point object packed into a long object to separate X and Y int values.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| packedPoint | long | The Point object packed into one long value. |
| x | int[] | The extracted from the packed Point X value. |
| y | int[] | The extracted from the packed Point Y value. |

### toString() {#toString--}
```
public String toString()
Expand Down Expand Up @@ -445,19 +461,3 @@ public Point Clone()

**Returns:**
[Point](../../com.aspose.imaging/point)
### isEquals(Point obj1, Point obj2) {#isEquals-com.aspose.imaging.Point-com.aspose.imaging.Point-}
```
public static boolean isEquals(Point obj1, Point obj2)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| obj1 | [Point](../../com.aspose.imaging/point) | |
| obj2 | [Point](../../com.aspose.imaging/point) | |

**Returns:**
boolean
Loading

0 comments on commit aa6ecec

Please sign in to comment.