QGIS Python API Logo

Contents:

  • core
  • gui
  • analysis
  • server
  • processing
  • _3d
  • Frequently Asked Questions
QGIS Python API
  • QgsTextFormat — All Members

QgsTextFormat — All Members¶

All members, including inherited members, for QgsTextFormat.

QgsTextFormat¶

  • Tab

  • TextOrientation

  • allowHtmlFormatting()

  • asCSS()

  • background()

  • blendMode()

  • buffer()

  • capitalization()

  • color()

  • containsAdvancedEffects()

  • dataDefinedProperties()

  • families()

  • font()

  • fontFound()

  • forcedBold()

  • forcedItalic()

  • fromMimeData()

  • fromQFont()

  • hasNonDefaultCompositionMode()

  • isValid()

  • lineHeight()

  • lineHeightUnit()

  • mask()

  • multiplyOpacity()

  • namedStyle()

  • opacity()

  • orientation()

  • previewBackgroundColor()

  • readFromLayer()

  • readXml()

  • referencedFields()

  • resolvedFontFamily()

  • scaledFont()

  • setAllowHtmlFormatting()

  • setBackground()

  • setBlendMode()

  • setBuffer()

  • setCapitalization()

  • setColor()

  • setDataDefinedProperties()

  • setFamilies()

  • setFont()

  • setForcedBold()

  • setForcedItalic()

  • setLineHeight()

  • setLineHeightUnit()

  • setMask()

  • setNamedStyle()

  • setOpacity()

  • setOrientation()

  • setPreviewBackgroundColor()

  • setShadow()

  • setSize()

  • setSizeMapUnitScale()

  • setSizeUnit()

  • setStretchFactor()

  • setTabPositions()

  • setTabStopDistance()

  • setTabStopDistanceMapUnitScale()

  • setTabStopDistanceUnit()

  • setValid()

  • shadow()

  • size()

  • sizeMapUnitScale()

  • sizeUnit()

  • stretchFactor()

  • tabPositions()

  • tabStopDistance()

  • tabStopDistanceMapUnitScale()

  • tabStopDistanceUnit()

  • textFormatPreviewPixmap()

  • toMimeData()

  • toQFont()

  • updateDataDefinedProperties()

  • writeXml()


Last updated on 16:42 Apr 01, 2026.

QGIS Python API v: 3.44
Versions
master
4.0
3.44
On QGIS Project
Project Home
Report Issue
Source Code