Skip to content

Variable: textAlign ​

ts
const textAlign: ((halign, valign) => CdnOperation) & NamedOperationCreator;

Defined in: ops/overlay.ts:161

Alignment state for the following text operation (CDN default center/center).

See ​

https://uploadcare.com/docs/transformations/image/overlay/#overlay-text

Example ​

ts
textAlign('center', 'bottom') // → -/text_align/center/bottom/