Forma
Contenuti
[
Nascondere
]Inheritance: java.lang.Object, com.aspose.imaging.ObjectWithBounds
public abstract class Shape extends ObjectWithBounds
La forma. Un insieme continuo di punti collegati mediante una regola specifica.
Costruttori
| Costruttore | Descrizione |
|---|---|
| Shape() |
Metodi
| Metodo | Descrizione |
|---|---|
| getCenter() | Ottiene il centro della forma. |
| getSegments() | Ottiene i segmenti della forma. |
| hasSegments() | Ottiene un valore che indica se la forma ha segmenti. |
Shape()
public Shape()
getCenter()
public abstract PointF getCenter()
Ottiene il centro della forma.
Returns: PointF - The shape’s center.
getSegments()
public abstract ShapeSegment[] getSegments()
Ottiene i segmenti della forma.
Returns: com.aspose.imaging.ShapeSegment[] - I segmenti della forma.
hasSegments()
public abstract boolean hasSegments()
Ottiene un valore che indica se la forma ha segmenti.
Returns:
boolean - True se la forma ha segmenti; altrimenti, false.