java.lang.Object
io.qt.QtObject
io.qt.svg.QSvgGenerator
- All Implemented Interfaces:
QPaintDevice,QtObjectInterface
Paint device that is used to create SVG drawings
Java wrapper for Qt's class QSvgGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructorNested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intdepth()final Stringfinal doublefinal doublestatic doublefinal StringfileName()final StringKotlin property getter.final StringKotlin property getter.final QIODeviceKotlin property getter.final intKotlin property getter.final QSizegetSize()Kotlin property getter.final StringgetTitle()Kotlin property getter.final QRectFKotlin property getter.final intheight()final intheightMM()protected voidinitPainter(QPainter painter) final intfinal intprotected intmetric(QPaintDevice.PaintDeviceMetric metric) final QIODevicefinal booleanfinal intfinal intprotected QPaintDeviceredirected(QPoint offset) final intfinal voidsetDescription(String description) final voidsetFileName(String fileName) final voidsetOutputDevice(QIODevice outputDevice) final voidsetResolution(int dpi) final voidfinal voidfinal voidsetViewBox(QRect viewBox) final voidsetViewBox(QRectF viewBox) protected QPainterfinal QSizesize()final Stringtitle()final QRectviewBox()final QRectFviewBoxF()final intwidth()final intwidthMM()Methods inherited from class io.qt.QtObject
dispose, equals, isDisposedMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QSvgGenerator
public QSvgGenerator() -
QSvgGenerator
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
colorCount
- Specified by:
colorCountin interfaceQPaintDevice
-
depth
- Specified by:
depthin interfaceQPaintDevice
-
getDescription
Kotlin property getter. In Java use
description()instead. -
description
-
devicePixelRatio
- Specified by:
devicePixelRatioin interfaceQPaintDevice
-
devicePixelRatioF
- Specified by:
devicePixelRatioFin interfaceQPaintDevice
-
getFileName
Kotlin property getter. In Java use
fileName()instead. -
fileName
-
height
- Specified by:
heightin interfaceQPaintDevice
-
heightMM
- Specified by:
heightMMin interfaceQPaintDevice
-
logicalDpiX
- Specified by:
logicalDpiXin interfaceQPaintDevice
-
logicalDpiY
- Specified by:
logicalDpiYin interfaceQPaintDevice
-
getOutputDevice
Kotlin property getter. In Java use
outputDevice()instead. -
outputDevice
-
paintingActive
- Specified by:
paintingActivein interfaceQPaintDevice
-
physicalDpiX
- Specified by:
physicalDpiXin interfaceQPaintDevice
-
physicalDpiY
- Specified by:
physicalDpiYin interfaceQPaintDevice
-
getResolution
Kotlin property getter. In Java use
resolution()instead. -
resolution
-
setDescription
-
setFileName
-
setOutputDevice
-
setResolution
-
setSize
-
setTitle
-
setViewBox
-
setViewBox
-
getSize
Kotlin property getter. In Java use
size()instead. -
size
-
getTitle
Kotlin property getter. In Java use
title()instead. -
title
-
viewBox
-
getViewBox
Kotlin property getter. In Java use
viewBoxF()instead. -
viewBoxF
-
width
- Specified by:
widthin interfaceQPaintDevice
-
widthMM
- Specified by:
widthMMin interfaceQPaintDevice
-
initPainter
-
metric
-
paintEngine
- Specified by:
paintEnginein interfaceQPaintDevice
-
redirected
-
devicePixelRatioFScale
public static double devicePixelRatioFScale()
-