What is the meaning of leading margin as in
The documentation for LeadingMarginSpan
says
A paragraph style affecting the leading margin. There can be multiple leading margin spans on a single paragraph; they will be rendered in order, each adding its margin to the ones before it. The leading margin is on the right for lines in a right-to-left paragraph.
But it doesn't really say what leading margin is.
Is it like a tab indent on the first line of the paragraph? Or is it where the whole paragraph is indented? I assume it is /lidɪŋ/ and not /lɛdɪŋ/ as in the space between lines.
The reason I am wondering is that I am trying to make my own TextView with a StaticLayout. I am referring to the Layout and StaticLayout source code for ideas. I'm trying to cut out all unnecessary parts but I didn't know what this was.
Here are a few SO questions that also ask about leading margin, but the askers seem to know what it means.
- margin set to first line of textView
- LeadingMarginSpan2 - how to limit the number of paragraphs with margin
An image would be really helpful, but not strictly necessary.