Class ImageTraceSmoother
Tên không gian: Aspose.Svg.ImageVectorization Tổng hợp: Aspose.SVG.dll (25.5.0)
Lớp ImageTraceSimplifier chịu trách nhiệm làm dịu số điểm trong một curve được gần với một loạt các điểm theo dõi.Lớp này thực hiện phương pháp gần gũi nhất.
[ComVisible(true)]
public class ImageTraceSmoother : IImageTraceSmoother
Inheritance
Implements
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
ImageTraceSmoother()
Bắt đầu một trường hợp mới của lớp Aspose.Svg.ImageVectorization. ImageTraceSmoother.
public ImageTraceSmoother()
ImageTraceSmoother(int)
Bắt đầu một trường hợp mới của lớp Aspose.Svg.ImageVectorization. ImageTraceSmoother.
public ImageTraceSmoother(int severity)
Parameters
severity
int
Sự nghiêm trọng
Properties
Extent
Nhận các thiết lập phạm vi của khu vực được xem xét bởi điểm truy vấn.Nó phải nằm trong phạm vi từ 1 đến 20. bất kỳ giá trị cao hơn hoặc thấp hơn nào sẽ được phù hợp với các mức tối thiểu và tối đa của phạm hình này, tương ứng.
public int Extent { get; set; }
Giá trị bất động sản
Methods
Smooth(Đánh giá )
Giảm dấu vết.
public virtual IEnumerable<pointf> Smooth(IEnumerable<pointf> trace)
Parameters
trace
IEnumerable
<
PointF
>
Danh sách các điểm theo dõi.
Returns
IEnumerable < PointF >
Danh sách các điểm theo dõi mịn màng.