.. include:: headings.inc .. _GraphicsPen: ========================================================================================================================================== |phoenix_title| **GraphicsPen** ========================================================================================================================================== A :ref:`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:`GraphicsContext.CreatePen` or :meth:`GraphicsRenderer.CreatePen` . | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **GraphicsPen** .. raw:: html

Inheritance diagram of GraphicsPen

| |api| Class API =============== .. class:: GraphicsPen(GraphicsObject) A GraphicsPen is a native representation of a pen.