Class FontMetrics
public class FontMetrics : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>FontMetrics
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
FontMetrics()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("FontMetrics class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public FontMetrics()
FontMetrics(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("FontMetrics class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public FontMetrics(params object[] args)
Parameters
args
object[]
Properties
Ascent
public int Ascent { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Descent
public int Descent { get; }
Property Value
Font
public Font Font { get; }
Property Value
FontRenderContext
public FontRenderContext FontRenderContext { get; }
Property Value
Height
public int Height { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Leading
public int Leading { get; }
Property Value
MaxAdvance
public int MaxAdvance { get; }
Property Value
MaxAscent
public int MaxAscent { get; }
Property Value
MaxDescent
public int MaxDescent { get; }
Property Value
Widths
public int[] Widths { get; }
Property Value
- int[]
Methods
BytesWidth(byte[], int, int)
public int BytesWidth(byte[] arg0, int arg1, int arg2)
Parameters
Returns
CharWidth(char)
public int CharWidth(char arg0)
Parameters
Returns
CharWidth(int)
public int CharWidth(int arg0)
Parameters
Returns
CharsWidth(char[], int, int)
public int CharsWidth(char[] arg0, int arg1, int arg2)
Parameters
Returns
GetLineMetrics(String, Graphics)
public LineMetrics GetLineMetrics(String arg0, Graphics arg1)
Parameters
Returns
GetLineMetrics(String, int, int, Graphics)
public LineMetrics GetLineMetrics(String arg0, int arg1, int arg2, Graphics arg3)
Parameters
Returns
GetLineMetrics(CharacterIterator, int, int, Graphics)
public LineMetrics GetLineMetrics(CharacterIterator arg0, int arg1, int arg2, Graphics arg3)
Parameters
arg0
CharacterIteratorarg1
intarg2
intarg3
Graphics
Returns
GetLineMetrics(char[], int, int, Graphics)
public LineMetrics GetLineMetrics(char[] arg0, int arg1, int arg2, Graphics arg3)
Parameters
Returns
GetMaxCharBounds(Graphics)
public Rectangle2D GetMaxCharBounds(Graphics arg0)
Parameters
Returns
GetStringBounds(String, Graphics)
public Rectangle2D GetStringBounds(String arg0, Graphics arg1)
Parameters
Returns
GetStringBounds(String, int, int, Graphics)
public Rectangle2D GetStringBounds(String arg0, int arg1, int arg2, Graphics arg3)
Parameters
Returns
GetStringBounds(CharacterIterator, int, int, Graphics)
public Rectangle2D GetStringBounds(CharacterIterator arg0, int arg1, int arg2, Graphics arg3)
Parameters
arg0
CharacterIteratorarg1
intarg2
intarg3
Graphics
Returns
GetStringBounds(char[], int, int, Graphics)
public Rectangle2D GetStringBounds(char[] arg0, int arg1, int arg2, Graphics arg3)
Parameters
Returns
HasUniformLineMetrics()
public bool HasUniformLineMetrics()
Returns
StringWidth(String)
public int StringWidth(String arg0)