Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pyzza-0.2.15/examples/graph/draw.py   pyzza(Download)
from flash.text.engine import (TextElement, ElementFormat, FontDescription,
    TextBlock)
from graph import Colors
 
@package('graph')
    def label_node(self, node):
        font = FontDescription("Arial")
        format = ElementFormat(font)
        format.fontSize = 14
        el = TextElement(node.label or node.name, format)