- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QRawFont extends QtObject implements Cloneable
Access to a single physical instance of a font
Java wrapper for Qt class QRawFont
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QRawFont.AntialiasingType
Java wrapper for Qt enum QRawFont::AntialiasingTypestatic class
QRawFont.LayoutFlag
Java wrapper for Qt enum QRawFont::LayoutFlagstatic class
QRawFont.LayoutFlags
QFlags type for enumQRawFont.LayoutFlag
-
Constructor Summary
Constructors Modifier Constructor Description QRawFont()
QRawFont(QByteArray fontData, double pixelSize)
Overloaded constructor forQRawFont(io.qt.core.QByteArray, double, io.qt.gui.QFont.HintingPreference)
withhintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting
.QRawFont(QByteArray fontData, double pixelSize, QFont.HintingPreference hintingPreference)
QRawFont(QRawFont other)
protected
QRawFont(QtObject.QPrivateConstructor p)
Constructor for internal use only.QRawFont(String fileName, double pixelSize)
Overloaded constructor forQRawFont(java.lang.String, double, io.qt.gui.QFont.HintingPreference)
withhintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting
.QRawFont(String fileName, double pixelSize, QFont.HintingPreference hintingPreference)
-
Method Summary
-
Constructor Details
-
QRawFont
public QRawFont() -
QRawFont
Overloaded constructor for
QRawFont(io.qt.core.QByteArray, double, io.qt.gui.QFont.HintingPreference)
withhintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting
. -
QRawFont
-
QRawFont
-
QRawFont
Overloaded constructor for
QRawFont(java.lang.String, double, io.qt.gui.QFont.HintingPreference)
withhintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting
. -
QRawFont
-
QRawFont
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
advancesForGlyphIndexes
@QtUninvokable public final QVector<QPointF> advancesForGlyphIndexes(Collection<Integer> glyphIndexes) -
advancesForGlyphIndexes
@QtUninvokable public final QVector<QPointF> advancesForGlyphIndexes(Collection<Integer> glyphIndexes, QRawFont.LayoutFlag... layoutFlags)Overloaded function for
advancesForGlyphIndexes(java.util.Collection, io.qt.gui.QRawFont.LayoutFlags)
. -
advancesForGlyphIndexes
@QtUninvokable public final QVector<QPointF> advancesForGlyphIndexes(Collection<Integer> glyphIndexes, QRawFont.LayoutFlags layoutFlags) -
alphaMapForGlyph
@QtUninvokable public final QImage alphaMapForGlyph(int glyphIndex, QRawFont.AntialiasingType antialiasingType)Overloaded function for
alphaMapForGlyph(int, io.qt.gui.QRawFont.AntialiasingType, io.qt.gui.QTransform)
withtransform = new io.qt.gui.QTransform()
. -
alphaMapForGlyph
Overloaded function for
alphaMapForGlyph(int, io.qt.gui.QRawFont.AntialiasingType, io.qt.gui.QTransform)
with:
antialiasingType = io.qt.gui.QRawFont.AntialiasingType.SubPixelAntialiasing
transform = new io.qt.gui.QTransform()
-
alphaMapForGlyph
@QtUninvokable public final QImage alphaMapForGlyph(int glyphIndex, QRawFont.AntialiasingType antialiasingType, QTransform transform) -
ascent
-
averageCharWidth
-
boundingRect
-
capHeight
-
descent
-
familyName
-
fontTable
-
glyphIndexesForString
-
hintingPreference
-
isValid
-
leading
-
lineThickness
-
loadFromData
@QtUninvokable public final void loadFromData(QByteArray fontData, double pixelSize, QFont.HintingPreference hintingPreference) -
loadFromFile
@QtUninvokable public final void loadFromFile(String fileName, double pixelSize, QFont.HintingPreference hintingPreference) -
maxCharWidth
-
pathForGlyph
-
pixelSize
-
setPixelSize
-
style
-
styleName
-
supportedWritingSystems
-
supportsCharacter
-
supportsCharacter
-
swap
-
underlinePosition
-
unitsPerEm
-
weight
-
xHeight
-
fromFont
Overloaded function for
fromFont(io.qt.gui.QFont, io.qt.gui.QFontDatabase.WritingSystem)
withwritingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any
. -
fromFont
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-