.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2017 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.GraphicsFont: ========================================================================================================================================== |phoenix_title| **wx.GraphicsFont** ========================================================================================================================================== A :ref:`wx.GraphicsFont` is a native representation of a font. The contents are specific and private to the respective renderer. Instances are ref counted and can therefore be assigned as usual. The only way to get a valid instance is via :meth:`wx.GraphicsContext.CreateFont` or :meth:`wx.GraphicsRenderer.CreateFont` . | |class_hierarchy| Class Hierarchy ================================= .. raw:: html <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;"> <img id="toggleBlock-trigger" src="_static/images/closed.png"/> Inheritance diagram for class <strong>GraphicsFont</strong>: </div> <div id="toggleBlock-summary" style="display:block;"></div> <div id="toggleBlock-content" style="display:none;"> <p class="graphviz"> <center><img src="_static/images/inheritance/wx.GraphicsFont_inheritance.png" alt="Inheritance diagram of GraphicsFont" usemap="#dummy" class="inheritance"/></center> </div> <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script> <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.GraphicsObject.html" title="This class is the superclass of native graphics objects like pens etc." alt="" coords="5,83,144,112"/> <area shape="rect" id="node3" href="wx.GraphicsFont.html" title="A wx.GraphicsFont is a native representation of a font." alt="" coords="11,160,138,189"/> <area shape="rect" id="node2" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="33,5,116,35"/> </map> </p> | |api| Class API =============== .. class:: wx.GraphicsFont(GraphicsObject) A GraphicsFont is a native representation of a font.