.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2020 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.GraphicsPen:

==========================================================================================================================================
|phoenix_title|  **wx.GraphicsPen**
==========================================================================================================================================

A :ref:`wx.GraphicsPen`  is a native representation of a pen.          

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.CreatePen`   or :meth:`wx.GraphicsRenderer.CreatePen` . 







|

|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>GraphicsPen</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.GraphicsPen_inheritance.png" alt="Inheritance diagram of GraphicsPen" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.GraphicsPen.html" title="wx.GraphicsPen" alt="" coords="14,160,141,189"/> <area shape="rect" id="node2" href="wx.GraphicsObject.html" title="wx.GraphicsObject" alt="" coords="5,83,149,112"/> <area shape="rect" id="node3" href="wx.Object.html" title="wx.Object" alt="" coords="34,5,121,35"/> </map> 
   </p>
   </div>

|


|api| Class API
===============


.. class:: wx.GraphicsPen(GraphicsObject)

   A GraphicsPen is a native representation of a pen.


