Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec8b1021 authored by Eric Fischer's avatar Eric Fischer
Browse files

Add documentation for LeadingMarginSpan2.

Bug 2420334

Change-Id: Ica42cc34a938a5ec529da16804d1f0e6fddcc249
parent 842f9df2
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -68,7 +68,20 @@ extends ParagraphStyle
                                  boolean first, Layout layout);


    /**
     * An extended version of {@link LeadingMarginSpan}, which allows
     * the implementor to specify the number of lines of text to which
     * this object is attached that the "first line of paragraph" margin
     * width will be applied to.
     */
    public interface LeadingMarginSpan2 extends LeadingMarginSpan, WrapTogetherSpan {
        /**
         * Returns the number of lines of text to which this object is
         * attached that the "first line" margin will apply to.
         * Note that if this returns N, the first N lines of the region,
         * not the first N lines of each paragraph, will be given the
         * special margin width.
         */
        public int getLeadingMarginLineCount();
    };