File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
tehreer-android/src/main/java/com/mta/tehreer Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,11 @@ private void loadTypefaces() {
142142 mTypefaces = allTypefaces ;
143143 }
144144
145+ /**
146+ * Returns named typefaces of this font file.
147+ *
148+ * @return Named typefaces of this font file.
149+ */
145150 public List <Typeface > getTypefaces () {
146151 if (mTypefaces == null ) {
147152 synchronized (this ) {
Original file line number Diff line number Diff line change @@ -223,10 +223,21 @@ public int getGlyphCount() {
223223 return new UIntPtrBufferIntList (this , pointer , size );
224224 }
225225
226+ /**
227+ * Returns a list of caret edges having caret stop on every code unit.
228+ *
229+ * @return A list of caret edges having caret stop on every code unit.
230+ */
226231 public @ NonNull FloatList getCaretEdges () {
227232 return getCaretEdges (null );
228233 }
229234
235+ /**
236+ * Returns a list of caret edges.
237+ *
238+ * @param caretStops An array for caret stops of the code units represented by this object.
239+ * @return A list of caret edges.
240+ */
230241 public @ NonNull FloatList getCaretEdges (boolean [] caretStops ) {
231242 int charCount = getCharCount ();
232243 float [] caretEdges = new float [charCount + 1 ];
You can’t perform that action at this time.
0 commit comments