Class BezierShape
Nombre del espacio: Aspose.Imaging.Shapes Asamblea: Aspose.Imaging.dll (25.4.0)
Represente una espina de bezier.
public sealed class BezierShape : PolygonShape, IOrderedShape
Inheritance
object ← ObjectWithBounds ← Shape ← PolygonShape ← BezierShape
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
BezierShape()
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.BezierShape.
[JsonConstructor]
public BezierShape()
BezierShape(Puntos[])
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points)
Parameters
points
PointF
[][]
Los puntos se arreglan.
BezierShape(Puntos[][], El bool)
Inicia una nueva instancia de la clase Aspose.Imaging.Shapes.BezierShape.
public BezierShape(PointF[] points, bool isClosed)
Parameters
points
PointF
[][]
Los puntos se arreglan.
isClosed
bool
Si se establece para “verdadera” la línea de bezier 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
EndPoint
Obtenga el punto final de forma.
[JsonIgnore]
public override PointF EndPoint { get; }
Valor de la propiedad
HasSegments
Recibe un valor que indica si la forma tiene segmentos.
[JsonIgnore]
public override bool HasSegments { get; }
Valor de la propiedad
Segments
Obtenga los segmentos de forma.
[JsonIgnore]
public override ShapeSegment[] Segments { get; }
Valor de la propiedad
ShapeSegment [][]
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()
Obtener el código hash del objeto actual
public override int GetHashCode()
Returns
El código hash.