JD2022-TU1/main/tools/framework/Shuttle.Api/AfterEffectsDTO/Misc/TextDocument.cs

214 lines
7.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using Newtonsoft.Json;
namespace Shuttle.Api.AfterEffectsDTO.Misc
{
/// <summary>
/// The TextDocument object stores a value for a TextLayer’s Source Text property. Create it with the
/// constructor, passing the string to be encapsulated.
/// </summary>
public class TextDocument
{
/// <summary>
/// True if a text layer has allcaps enabled; otherwise false.
/// </summary>
[JsonProperty("allCaps")]
public bool AllCaps { get; private set; }
/// <summary>
/// When true, the text layer shows a fill. Access the fillColor attribute for the actual color. When
/// false, only a stroke is shown.
/// </summary>
[JsonProperty("applyFill")]
public bool ApplyFill { get; set; }
/// <summary>
/// When true, the text layer shows a stroke. Access the strokeColor attribute for the actual color
/// and strokeWidth for its thickness. When false, only a fill is shown.
/// </summary>
[JsonProperty("applyStroke")]
public bool ApplyStroke { get; set; }
/// <summary>
/// The baseline (x,y) locations for a text layer. Line wraps in a paragraph text box are treated as
/// multiple lines.
/// </summary>
[JsonProperty("baselineLocs")]
public float[] BaselineLocs { get; set; }
/// <summary>
/// This text layer’s baseline shift in pixels.
/// </summary>
[JsonProperty("baselineShift")]
public float BaselineShift { get; private set; }
/// <summary>
/// True if a text layer is a layer of paragraph (bounded) text; otherwise false.
/// </summary>
[JsonProperty("boxText")]
public bool BoxText { get; private set; }
/// <summary>
/// The layer coordinates from a paragraph (box) text layer’s anchor point as a [width, height] array
/// of pixel dimensions.
/// </summary>
[JsonProperty("boxTextPos")]
public int[] BoxTextPos { get; private set; }
/// <summary>
/// The size of a paragraph (box) text layer as a [width, height] array of pixel dimensions.
/// </summary>
[JsonProperty("boxTextSize")]
public int[] BoxTextSize { get; set; }
/// <summary>
/// True if a text layer has faux bold enabled; otherwise false.
/// </summary>
[JsonProperty("fauxBold")]
public bool FauxBold { get; private set; }
/// <summary>
/// True if a text layer has faux italic enabled; otherwise false.
/// </summary>
[JsonProperty("fauxItalic")]
public bool FauxItalic { get; private set; }
/// <summary>
/// The text layer’s fill color, as an array of [r, g, b] floating-point values. For example, in an
/// 8-bpc project, a red value of 255 would be 1.0, and in a 32-bpc project, an overbright blue value can
/// be something like 3.2.
/// </summary>
[JsonProperty("fillColor")]
public float[] FillColor { get; set; }
/// <summary>
/// The text layer’s font specified by its PostScript name.
/// </summary>
[JsonProperty("font")]
public string Font { get; set; }
/// <summary>
/// String with with the name of the font family.
/// </summary>
[JsonProperty("fontFamily")]
public string FontFamily { get; private set; }
/// <summary>
/// Path of font file, providing its location on disk.
/// </summary>
[JsonProperty("fontLocation")]
public string FontLocation { get; private set; }
/// <summary>
/// The text layer’s font size in pixels.
/// </summary>
[JsonProperty("fontSize")]
public float FontSize { get; set; }
/// <summary>
/// String with style information, e.g., “bold”, “italic”
/// </summary>
[JsonProperty("fontStyle")]
public string FontStyle { get; private set; }
/// <summary>
/// This text layer’s horizontal scale in pixels.
/// </summary>
[JsonProperty("horizontalScale")]
public float HorizontalScale { get; private set; }
/// <summary>
/// The paragraph justification for the text layer.
/// </summary>
[JsonProperty("justification")]
public int Justification { get; private set; }
/// <summary>
/// The text layer’s spacing between lines.
/// </summary>
[JsonProperty("leading")]
public float Leading { get; set; }
/// <summary>
/// True if a text layer is a layer of point (unbounded) text; otherwise false.
/// </summary>
[JsonProperty("pointText")]
public bool PointText { get; private set; }
/// <summary>
/// True if a text layer has small caps enabled; otherwise false.
/// </summary>
[JsonProperty("smallCaps")]
public bool SmallCaps { get; private set; }
/// <summary>
/// The text layer’s stroke color, as an array of [r, g, b] floating-point values. For example, in an
/// 8-bpc project, a red value of 255 would be 1.0, and in a 32-bpc project, an overbright blue value
/// can be something like 3.2.
/// </summary>
[JsonProperty("strokeColor")]
public float[] StrokeColor { get; set; }
/// <summary>
/// Indicates the rendering order for the fill and stroke of a text layer. When true, the stroke
/// appears over the fill.
/// </summary>
[JsonProperty("strokeOverFill")]
public bool StrokeOverFill { get; set; }
/// <summary>
/// The text layer’s stroke thickness in pixels.
/// </summary>
[JsonProperty("strokeWidth")]
public float StrokeWidth { get; set; }
/// <summary>
/// True if a text layer has subscript enabled; otherwise false.
/// </summary>
[JsonProperty("subscript")]
public bool Subscript { get; private set; }
/// <summary>
/// True if a text layer has superscript enabled; otherwise false.
/// </summary>
[JsonProperty("superscript")]
public bool Superscript { get; private set; }
/// <summary>
/// The text value for the text layer’s Source Text property.
/// </summary>
[JsonProperty("text")]
public string Text { get; set; }
/// <summary>
/// The text layer’s spacing between characters.
/// </summary>
[JsonProperty("tracking")]
public float Tracking { get; set; }
/// <summary>
/// This text layer’s tsume value.
/// </summary>
[JsonProperty("tsume")]
public float Tsume { get; private set; }
/// <summary>
/// This text layer’s vertical scale in pixels.
/// </summary>
[JsonProperty("verticalScale")]
public float VerticalScale { get; private set; }
public override string ToString()
{
return base.ToString();
}
}
}