VintaSoft Imaging .NET SDK 14.0: Документация для .NET разработчика
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / QuadrilateralWarpCommand Class / DestinationPoints Property
Синтаксис Exceptions Ремарки Требования Смотрите также
В этом разделе
    DestinationPoints Свойство (QuadrilateralWarpCommand)
    В этом разделе
    Возвращает или задает массив из четырех или трех точек, определяющих четырехугольник.
    Синтаксис
    'Declaration
    
    <DefaultValueAttribute(null)>
    <DescriptionAttribute("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")>
    Public Property DestinationPoints As System.Drawing.PointF[]
    
    
    [DefaultValue(null)]
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    public System.Drawing.PointF[] DestinationPoints { get; set; }
    
    
    [DefaultValue(null)]
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    public: __property System.Drawing.PointF[] get_DestinationPoints();
    public: __property void set_DestinationPoints(
    System.Drawing.PointF[]* value
    );
    [DefaultValue(null)]
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    public:
    property System.Drawing.PointF[] DestinationPoints { System.Drawing.PointF[] get(); void set(array<System.Drawing.PointF>^ value); }

    Property Value

    Массив может иметь 3 точки (преобразование с использованием параллелограмма) и 4 точки (преобразование с использованием четырехугольника).
    Значение по умолчанию - null.
    Исключения
    ИсключениеОписание
    Выбрасывается, если длина массива не равна 3 или 4.
    Ремарки

    Точки должны быть установлены в следующем порядке: 0 - верхний левый, 1 - верхний правый, 2 - нижний левый, 3 - нижний правый.
    Если IsInverseTransform равно true, точки являются исходными точками для обратного преобразования.

    Требования

    Целевые платформы: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также