コード例 #1
0
ファイル: Bidi.cs プロジェクト: ranganathsb/JavaSharp
 /// <summary>
 /// Return true if the specified text requires bidi analysis.  If this returns false,
 /// the text will display left-to-right.  Clients can then avoid constructing a Bidi object.
 /// Text in the Arabic Presentation Forms area of Unicode is presumed to already be shaped
 /// and ordered for display, and so will not cause this function to return true.
 /// </summary>
 /// <param name="text"> the text containing the characters to test </param>
 /// <param name="start"> the start of the range of characters to test </param>
 /// <param name="limit"> the limit of the range of characters to test </param>
 /// <returns> true if the range of characters requires bidi analysis </returns>
 public static bool RequiresBidi(char[] text, int start, int limit)
 {
     return(BidiBase.requiresBidi(text, start, limit));
 }