Class ClipperOffset | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ClipperOffset

    Inheritance
    System.Object
    ClipperOffset
    Namespace: UnityEngine.U2D.SpriteShapeClipperLib
    Syntax
    public class ClipperOffset

    Constructors

    ClipperOffset(Double, Double)

    Declaration
    public ClipperOffset(double miterLimit = 2, double arcTolerance = 0.25)
    Parameters
    Type Name Description
    System.Double miterLimit
    System.Double arcTolerance

    Properties

    ArcTolerance

    Declaration
    public double ArcTolerance { get; set; }
    Property Value
    Type Description
    System.Double

    MiterLimit

    Declaration
    public double MiterLimit { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    AddPath(List<IntPoint>, JoinType, EndType)

    Declaration
    public void AddPath(List<IntPoint> path, JoinType joinType, EndType endType)
    Parameters
    Type Name Description
    System.Collections.Generic.List<IntPoint> path
    JoinType joinType
    EndType endType

    AddPaths(List<List<IntPoint>>, JoinType, EndType)

    Declaration
    public void AddPaths(List<List<IntPoint>> paths, JoinType joinType, EndType endType)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Collections.Generic.List<IntPoint>> paths
    JoinType joinType
    EndType endType

    Clear()

    Declaration
    public void Clear()

    Execute(ref List<List<IntPoint>>, Double)

    Declaration
    public void Execute(ref List<List<IntPoint>> solution, double delta)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Collections.Generic.List<IntPoint>> solution
    System.Double delta

    Execute(ref PolyTree, Double)

    Declaration
    public void Execute(ref PolyTree solution, double delta)
    Parameters
    Type Name Description
    PolyTree solution
    System.Double delta
    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