Table of Contents

Class CSRoundedRectangle

Rounded Rectangle (2D)

[CurvyShapeInfo("2D/Rounded Rectangle", true)]
[RequireComponent(typeof(CurvySpline))]
[AddComponentMenu("Curvy/Shapes/Rounded Rectangle")]
public class CSRoundedRectangle : CurvyShape2D
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
CSRoundedRectangle
Inherited Members

Properties

Height

public float Height { get; set; }

Property Value

float

Roundness

public float Roundness { get; set; }

Property Value

float

Width

public float Width { get; set; }

Property Value

float

Methods

ApplyShape()

Override this to add custom code

protected override void ApplyShape()