Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

docs: describe public typography case and decoration options

MDbc05ea3cb2c2
diff --git a/src/crates/concat-project/src/model.rs b/src/crates/concat-project/src/model.rs
index 53e75608..dafd3e1e 100644
--- a/src/crates/concat-project/src/model.rs
+++ b/src/crates/concat-project/src/model.rs
@@ -1470,9 +1470,13 @@ impl Default for ShapeStyle {
#[derive(Clone, Copy, PartialEq, Eq, Debug, Default, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub enum TextCase {
+ /// Display all cased letters in uppercase.
Upper,
+ /// Display all cased letters in lowercase.
Lower,
+ /// Lowercase the text and capitalize sentence initials.
Sentence,
+ /// Preserve the editable source's capitalization.
#[default]
#[serde(other)]
Original,
diff --git a/src/crates/concat-text/src/lib.rs b/src/crates/concat-text/src/lib.rs
index 87adc72f..209181bd 100644
--- a/src/crates/concat-text/src/lib.rs
+++ b/src/crates/concat-text/src/lib.rs
@@ -73,6 +73,7 @@ pub struct TitleStyle {
pub italic: bool,
/// Decorations share the glyph fill, outline and shadow.
pub underline: bool,
+ /// A rule through each line using the selected face's strike metrics.
pub strikethrough: bool,
/// Fill colour as `#rrggbb` or `#rrggbbaa`.
pub color: String,