Class CurveShape
Nombre del espacio: Aspose.Imaging.Shapes Asamblea: Aspose.Imaging.dll (25.4.0)
Representa una forma curvada de espina.
public sealed class CurveShape : PolygonShape, IOrderedShape
Inheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← CurveShape
Implements
Miembros heredados
PolygonShape.Reverse() ,y, PolygonShape.GetBounds(Matrix) ,y, PolygonShape.GetBounds(Matrix, Pen) ,y, PolygonShape.Transform(Matrix) ,y, PolygonShape.Equals(object) ,y, PolygonShape.GetHashCode() ,y, PolygonShape.Points ,y, PolygonShape.IsClosed ,y, PolygonShape.Bounds ,y, PolygonShape.Center ,y, PolygonShape.Segments ,y, PolygonShape.HasSegments ,y, PolygonShape.StartPoint ,y, PolygonShape.EndPoint ,y, Shape.Equals(object) ,y, Shape.GetHashCode() ,y, Shape.Center ,y, Shape.Segments ,y, Shape.HasSegments ,y, ObjectWithBounds.GetBounds(Matrix) ,y, ObjectWithBounds.GetBounds(Matrix, Pen) ,y, ObjectWithBounds.Transform(Matrix) ,y, ObjectWithBounds.Equals(object) ,y, ObjectWithBounds.GetHashCode() ,y, ObjectWithBounds.Bounds ,y, object.GetType() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()
Constructors
CurveShape()
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.CurveShape.
[JsonConstructor]
public CurveShape()
CurveShape(Puntos[])
Inicializa una nueva instancia de la clase Aspose.Imaging.Shapes.CurveShape. se utiliza la tensión predeterminada de 0.5.
public CurveShape(PointF[] points)
Parameters
points
PointF
[][]
Los puntos se arreglan.
CurveShape(Puntos[][], El bool)
Inicializa una nueva instancia de la clase Aspose.Imaging.Shapes.CurveShape. se utiliza la tensión predeterminada de 0.5.
public CurveShape(PointF[] points, bool isClosed)
Parameters
points
PointF
[][]
Los puntos se arreglan.
isClosed
bool
Si se establece a “verdad” la curva se cierra.
CurveShape(Puntos[][], La flota)
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.CurveShape.
public CurveShape(PointF[] points, float tension)
Parameters
points
PointF
[][]
Los puntos se arreglan.
tension
float
La tensión de la curva.
CurveShape(Puntos[][], float , bool)
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.CurveShape.
public CurveShape(PointF[] points, float tension, bool isClosed)
Parameters
points
PointF
[][]
Los puntos se arreglan.
tension
float
La tensión de la curva.
isClosed
bool
Si se establece a “verdad” la curva se cierra.
Properties
Bounds
Tiene los límites del objeto.
[JsonIgnore]
public override RectangleF Bounds { get; }
Valor de la propiedad
Center
Tiene el centro de la forma.
[JsonIgnore]
public override PointF Center { get; }
Valor de la propiedad
Segments
Obtenga los segmentos de forma.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
Valor de la propiedad
ShapeSegment [][]
Tension
Tiene o establece la tensión de la curva.
[JsonProperty]
public float Tension { get; set; }
Valor de la propiedad
Methods
Equals(Objeto)
Verifique si los objetos son iguales.
public override bool Equals(object obj)
Parameters
obj
object
El otro objeto.
Returns
El resultado de la igualdad.
GetBounds(Matrix)
Tiene los límites del objeto.
public override RectangleF GetBounds(Matrix matrix)
Parameters
matrix
Matrix
La matrícula a aplicar antes de los límites se calcular.
Returns
Los límites del objeto estimado.
GetBounds(Matrix y Pen)
Tiene los límites del objeto.
public override RectangleF GetBounds(Matrix matrix, Pen pen)
Parameters
matrix
Matrix
La matrícula a aplicar antes de los límites se calcular.
pen
Pen
La pena para usar para el objeto. Esto puede influir en el tamaño de los límites del objeto.
Returns
Los límites del objeto estimado.
GetHashCode()
Obtenga el código hash del objeto actual.
public override int GetHashCode()
Returns
El código hash.