Character.IsMirrored Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsMirrored(Int32) |
Determines whether the specified character (Unicode code point) is mirrored according to the Unicode specification. |
IsMirrored(Char) |
Determines whether the character is mirrored according to the Unicode specification. |
IsMirrored(Int32)
Determines whether the specified character (Unicode code point) is mirrored according to the Unicode specification.
[Android.Runtime.Register("isMirrored", "(I)Z", "")]
public static bool IsMirrored (int codePoint);
[<Android.Runtime.Register("isMirrored", "(I)Z", "")>]
static member IsMirrored : int -> bool
Parameters
- codePoint
- Int32
the character (Unicode code point) to be tested.
Returns
true
if the character is mirrored, false
if the character is not mirrored or is not defined.
- Attributes
Remarks
Determines whether the specified character (Unicode code point) is mirrored according to the Unicode specification. Mirrored characters should have their glyphs horizontally mirrored when displayed in text that is right-to-left. For example, '\u005Cu0028'
LEFT PARENTHESIS is semantically defined to be an opening parenthesis. This will appear as a "(" in text that is left-to-right but as a ")" in text that is right-to-left.
Added in 1.5.
Java documentation for java.lang.Character.isMirrored(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
IsMirrored(Char)
Determines whether the character is mirrored according to the Unicode specification.
[Android.Runtime.Register("isMirrored", "(C)Z", "")]
public static bool IsMirrored (char ch);
[<Android.Runtime.Register("isMirrored", "(C)Z", "")>]
static member IsMirrored : char -> bool
Parameters
- ch
- Char
char
for which the mirrored property is requested
Returns
true
if the char is mirrored, false
if the char
is not mirrored or is not defined.
- Attributes
Remarks
Determines whether the character is mirrored according to the Unicode specification. Mirrored characters should have their glyphs horizontally mirrored when displayed in text that is right-to-left. For example, '\u005Cu0028'
LEFT PARENTHESIS is semantically defined to be an opening parenthesis. This will appear as a "(" in text that is left-to-right but as a ")" in text that is right-to-left.
<b>Note:</b> This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the #isMirrored(int)
method.
Added in 1.4.
Java documentation for java.lang.Character.isMirrored(char)
.
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.