TTS-Mimosa Docs
    Preparing search index...

    Class Petiole

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    flattening:
        | "not dorsiventrally flattened"
        | "slightly dorsiventrally flattened"
        | "dorsiventrally flattened"
        | (
            | "not dorsiventrally flattened"
            | "slightly dorsiventrally flattened"
            | "dorsiventrally flattened"
        )[]

    Flattening of petiole.

    length: { max?: number; min?: number; value?: number }

    Petiole length in milimeters (mm).

    It should be null when present is false.

    persistance: "persistent" | "caducous"

    Persistance of petiole.

    present: boolean

    Petiole can be present or absent.

    If present is false, the length should be null.

    prickles: Prickles

    Prickles in petiole.

    sources: Source[]

    Source.

    transversalShape:
        | "cylindric"
        | "4-gonal"
        | "4-ribbed"
        | "5-ribbed"
        | ("cylindric" | "4-gonal" | "4-ribbed" | "5-ribbed")[]

    Transversal shape of petiole.

    The shape of petiole when viewed from a cross-sectional perspective.

    trichomes: Trichomes

    Trichomes in petiole.

    Methods

    • Sets a single value for length.

      Parameters

      • value: number

        The length value in milimeters (mm).

      Returns void

      Error if present is false and value is not null.

    • Sets the length values, considering the value of present.

      Parameters

      • min: number

        The minimum length value in milimeters (mm).

      • max: number

        The maximum length value in milimeters (mm).

      Returns void

      Error if present is false and either min or max is not null.

      Error if min is greater than or equal to max.