Class TextMetrics
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.windows.forms.visualstyles.TextMetrics
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class TextMetrics extends ValueType
The base .NET class managing System.Windows.Forms.VisualStyles.TextMetrics, System.Windows.Forms.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.VisualStyles.TextMetrics
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Forms.Primitivesstatic java.lang.String
className
Qualified class name: System.Windows.Forms.VisualStyles.TextMetricsstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TextMetrics()
TextMetrics(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextMetrics
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTextMetrics
, a cast assert is made to check if types are compatible.int
getAscent()
int
getAverageCharWidth()
char
getBreakChar()
TextMetricsCharacterSet
getCharSet()
char
getDefaultChar()
int
getDescent()
int
getDigitizedAspectX()
int
getDigitizedAspectY()
int
getExternalLeading()
char
getFirstChar()
int
getHeight()
int
getInternalLeading()
boolean
getItalic()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typechar
getLastChar()
int
getMaxCharWidth()
int
getOverhang()
TextMetricsPitchAndFamilyValues
getPitchAndFamily()
boolean
getStruckOut()
boolean
getUnderlined()
int
getWeight()
void
setAscent(int Ascent)
void
setAverageCharWidth(int AverageCharWidth)
void
setBreakChar(char BreakChar)
void
setCharSet(TextMetricsCharacterSet CharSet)
void
setDefaultChar(char DefaultChar)
void
setDescent(int Descent)
void
setDigitizedAspectX(int DigitizedAspectX)
void
setDigitizedAspectY(int DigitizedAspectY)
void
setExternalLeading(int ExternalLeading)
void
setFirstChar(char FirstChar)
void
setHeight(int Height)
void
setInternalLeading(int InternalLeading)
void
setItalic(boolean Italic)
void
setJCOInstance(JCObject instance)
void
setLastChar(char LastChar)
void
setMaxCharWidth(int MaxCharWidth)
void
setOverhang(int Overhang)
void
setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily)
void
setStruckOut(boolean StruckOut)
void
setUnderlined(boolean Underlined)
void
setWeight(int Weight)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms.Primitives- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.VisualStyles.TextMetrics- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classValueType
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classValueType
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TextMetrics cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTextMetrics
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TextMetrics
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getItalic
public boolean getItalic() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setItalic
public void setItalic(boolean Italic) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStruckOut
public boolean getStruckOut() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setStruckOut
public void setStruckOut(boolean StruckOut) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnderlined
public boolean getUnderlined() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUnderlined
public void setUnderlined(boolean Underlined) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBreakChar
public char getBreakChar() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBreakChar
public void setBreakChar(char BreakChar) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaultChar
public char getDefaultChar() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaultChar
public void setDefaultChar(char DefaultChar) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFirstChar
public char getFirstChar() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFirstChar
public void setFirstChar(char FirstChar) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLastChar
public char getLastChar() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLastChar
public void setLastChar(char LastChar) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAscent
public int getAscent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAscent
public void setAscent(int Ascent) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAverageCharWidth
public int getAverageCharWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAverageCharWidth
public void setAverageCharWidth(int AverageCharWidth) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDescent
public int getDescent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDescent
public void setDescent(int Descent) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDigitizedAspectX
public int getDigitizedAspectX() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDigitizedAspectX
public void setDigitizedAspectX(int DigitizedAspectX) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDigitizedAspectY
public int getDigitizedAspectY() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDigitizedAspectY
public void setDigitizedAspectY(int DigitizedAspectY) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getExternalLeading
public int getExternalLeading() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setExternalLeading
public void setExternalLeading(int ExternalLeading) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHeight
public int getHeight() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setHeight
public void setHeight(int Height) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getInternalLeading
public int getInternalLeading() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setInternalLeading
public void setInternalLeading(int InternalLeading) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMaxCharWidth
public int getMaxCharWidth() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMaxCharWidth
public void setMaxCharWidth(int MaxCharWidth) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOverhang
public int getOverhang() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOverhang
public void setOverhang(int Overhang) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWeight
public int getWeight() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setWeight
public void setWeight(int Weight) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCharSet
public TextMetricsCharacterSet getCharSet() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCharSet
public void setCharSet(TextMetricsCharacterSet CharSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPitchAndFamily
public TextMetricsPitchAndFamilyValues getPitchAndFamily() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPitchAndFamily
public void setPitchAndFamily(TextMetricsPitchAndFamilyValues PitchAndFamily) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-