Class ClipperOffset | Package Manager UI website
docs.unity.cn
    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 © 2015-2018 Unity
    Generated by DocFX