Struct BezierContour | Vector Graphics | 1.0.0-preview.34
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023