adobe-firefly-sdk
    Preparing search index...

    Type Alias TextLayerParagraphStyleDetails

    TextLayerParagraphStyleDetails

    If the same supported attributes apply to all characters in the layer then this will be an array of one item, otherwise each paragraph style object will have a 'from' and 'to' value indicating the range of characters that the style applies to.

    type TextLayerParagraphStyleDetails = {
        alignment?: AlignmentType;
        from?: number;
        to?: number;
    }
    Index

    Properties

    Properties

    alignment?: AlignmentType
    from?: number

    The beginning of the range of characters that this paragraph style applies to. Based on initial index of 0. For example a style applied to only the first two characters would be from=0 and to=1.

    to?: number

    The ending of the range of characters that this paragraph style applies to. Based on initial index of 0. For example a style applied to only the first two characters would be from=0 and to=1.