Condividi tramite


Layout.FillCharacterBounds(Int32, Int32, Single[], Int32) Method

Definition

Return the characters' bounds in the given range.

[Android.Runtime.Register("fillCharacterBounds", "(II[FI)V", "GetFillCharacterBounds_IIarrayFIHandler", ApiSince=34)]
public virtual void FillCharacterBounds (int start, int end, float[] bounds, int boundsStart);
[<Android.Runtime.Register("fillCharacterBounds", "(II[FI)V", "GetFillCharacterBounds_IIarrayFIHandler", ApiSince=34)>]
abstract member FillCharacterBounds : int * int * single[] * int -> unit
override this.FillCharacterBounds : int * int * single[] * int -> unit

Parameters

start
Int32

the start index to compute the character bounds, inclusive.

end
Int32

the end index to compute the character bounds, exclusive.

bounds
Single[]

the array to fill in the character bounds. The array is divided into segments of four where each index in that segment represents left, top, right and bottom of the character.

boundsStart
Int32

the inclusive start index in the array to start filling in the values from.

Attributes

Remarks

Return the characters' bounds in the given range. The bounds array will be filled starting from boundsStart (inclusive). The coordinates are in local text layout.

Java documentation for android.text.Layout.fillCharacterBounds(int, int, float[], int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to