Struct BezierContour | Vector Graphics | 1.0.0-preview.34
docs.unity.cn
    Show / Hide Table of Contents

    Struct BezierContour

    A chain of bezier paths, optionnally closed.

    Namespace: Unity.VectorGraphics
    Syntax
    public struct BezierContour

    Properties

    Closed

    A boolean indicating if the contour should be closed.

    Declaration
    public bool Closed { get; set; }
    Property Value
    Type Description
    Boolean
    Remarks

    When set to true, closed path will connect the last path segment to the first path segment, by using the last path segment's P1 and P2 as control points.

    Segments

    An array of every path segments on the contour.

    Declaration
    public BezierPathSegment[] Segments { get; set; }
    Property Value
    Type Description
    BezierPathSegment[]
    Remarks

    Closed paths should not add a dedicated closing segment. It is implied by the 'closed' property.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX