docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BezierContour

    A chain of bezier paths, optionnally closed.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.VectorGraphics
    Assembly: Unity.VectorGraphics.dll
    Syntax
    public struct BezierContour

    Properties

    Closed

    A boolean indicating if the contour should be closed.

    Declaration
    public bool Closed { readonly get; set; }
    Property Value
    Type Description
    bool
    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 { readonly get; set; }
    Property Value
    Type Description
    BezierPathSegment[]
    Remarks

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)