//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Newtonsoft.Json; namespace Shuttle.Api.AfterEffectsDTO.Misc { /// /// The Shape object encapsulates information describing a shape in a shape layer, or the outline /// shape of a Mask. It is the value of the “Mask Path” AE properties, and of the “Path” AE property of a /// shape layer. Use the constructor, new Shape(), to create a new, empty Shape object, then set the /// attributes individually to define the shape. /// public class Shape { /// /// When true, the first and last vertices are connected to form a closed curve. When false, the /// closing segment is not drawn. /// [JsonProperty("closed")] public bool Closed { get; set; } /// /// An array containing each feather point’s radius interpolation type (0 for non-Hold feather points, /// 1 for Hold feather points). /// [JsonProperty("featherInterps")] public int[] FeatherInterps { get; set; } /// /// An array containing each feather point’s radius (feather amount); inner feather points have /// negative values. /// [JsonProperty("featherRadii")] public float[] FeatherRadii { get; set; } /// /// An array containing each feather point’s relative angle percentage between the two normals on /// either side of a curved outer feather boundary at a corner on a mask path. The angle value is 0% for /// feather points not at corners. /// [JsonProperty("featherRelCornerAngles")] public float[] FeatherRelCornerAngles { get; set; } /// /// An array containing each feather point’s relative position, from 0 to 1, on its mask path segment /// (section of the mask path between vertices, numbered starting at 0). /// [JsonProperty("featherRelSegLocs")] public float[] FeatherRelSegLocs { get; set; } /// /// An array containing each feather point’s mask path segment number (section of the mask path /// between vertices, numbered starting at 0). /// [JsonProperty("featherSegLocs")] public int[] FeatherSegLocs { get; set; } /// /// An array containing each feather point’s tension amount, from 0 (0% tension) to 1 (100% tension). /// [JsonProperty("featherTensions")] public float[] FeatherTensions { get; set; } /// /// An array containing each feather point’s direction, either 0 (outer feather point) or 1 (inner /// feather point). /// [JsonProperty("featherTypes")] public int[] FeatherTypes { get; set; } /// /// The incoming tangent vectors, or direction handles, associated with the vertices of the shape. /// Specify each vector as an array of two floating-point values, and collect the vectors into an array the /// same length as the vertices array. /// [JsonProperty("inTangents")] public float[] InTangents { get; set; } /// /// The outgoing tangent vectors, or direction handles, associated with the vertices of the shape. /// Specify each vector as an array of two floating-point values, and collect the vectors into an array the /// same length as the vertices array. /// [JsonProperty("outTangents")] public float[] OutTangents { get; set; } /// /// The anchor points of the shape. Specify each point as an array of two floating-point values, and /// collect the point pairs into an array for the complete set of points. For example: /// [JsonProperty("vertices")] public float[] Vertices { get; set; } public override string ToString() { return base.ToString(); } } }