QPanda3  0.1.0
Supported by OriginQ
Loading...
Searching...
No Matches
pyqpanda3.profiling.gprof2dot.Theme Class Reference

Output. More...

Public Member Functions

 __init__ (self, bgcolor=(0.0, 0.0, 1.0), mincolor=(0.0, 0.0, 0.0), maxcolor=(0.0, 0.0, 1.0), fontname="Arial", fontcolor="white", nodestyle="filled", minfontsize=10.0, maxfontsize=10.0, minpenwidth=0.5, maxpenwidth=4.0, gamma=2.2, skew=1.0)
 
 graph_bgcolor (self)
 
 graph_fontname (self)
 
 graph_fontcolor (self)
 
 node_bgcolor (self, weight)
 
 node_fgcolor (self, weight)
 
 node_fontsize (self, weight)
 
 node_style (self)
 
 edge_color (self, weight)
 
 edge_fontsize (self, weight)
 
 edge_penwidth (self, weight)
 
 edge_arrowsize (self, weight)
 
 fontsize (self, weight)
 
 color (self, weight)
 
 hsl_to_rgb (self, h, s, l)
 Convert a color from HSL color-model to RGB.
 

Public Attributes

 bgcolor = bgcolor
 
 mincolor = mincolor
 
 maxcolor = maxcolor
 
 fontname = fontname
 
 fontcolor = fontcolor
 
str nodestyle = nodestyle
 
 minfontsize = minfontsize
 
 maxfontsize = maxfontsize
 
 minpenwidth = minpenwidth
 
 maxpenwidth = maxpenwidth
 
 gamma = gamma
 
float skew = skew
 

Protected Member Functions

 _hue_to_rgb (self, m1, m2, h)
 

Detailed Description

Output.

Constructor & Destructor Documentation

◆ __init__()

pyqpanda3.profiling.gprof2dot.Theme.__init__ ( self,
bgcolor = (0.0, 0.0, 1.0),
mincolor = (0.0, 0.0, 0.0),
maxcolor = (0.0, 0.0, 1.0),
fontname = "Arial",
fontcolor = "white",
nodestyle = "filled",
minfontsize = 10.0,
maxfontsize = 10.0,
minpenwidth = 0.5,
maxpenwidth = 4.0,
gamma = 2.2,
skew = 1.0 )

Member Function Documentation

◆ _hue_to_rgb()

pyqpanda3.profiling.gprof2dot.Theme._hue_to_rgb ( self,
m1,
m2,
h )
protected

◆ color()

pyqpanda3.profiling.gprof2dot.Theme.color ( self,
weight )

◆ edge_arrowsize()

pyqpanda3.profiling.gprof2dot.Theme.edge_arrowsize ( self,
weight )

◆ edge_color()

pyqpanda3.profiling.gprof2dot.Theme.edge_color ( self,
weight )

◆ edge_fontsize()

pyqpanda3.profiling.gprof2dot.Theme.edge_fontsize ( self,
weight )

◆ edge_penwidth()

pyqpanda3.profiling.gprof2dot.Theme.edge_penwidth ( self,
weight )

◆ fontsize()

pyqpanda3.profiling.gprof2dot.Theme.fontsize ( self,
weight )

◆ graph_bgcolor()

pyqpanda3.profiling.gprof2dot.Theme.graph_bgcolor ( self)

◆ graph_fontcolor()

pyqpanda3.profiling.gprof2dot.Theme.graph_fontcolor ( self)

◆ graph_fontname()

pyqpanda3.profiling.gprof2dot.Theme.graph_fontname ( self)

◆ hsl_to_rgb()

pyqpanda3.profiling.gprof2dot.Theme.hsl_to_rgb ( self,
h,
s,
l )

Convert a color from HSL color-model to RGB.

See also:

◆ node_bgcolor()

pyqpanda3.profiling.gprof2dot.Theme.node_bgcolor ( self,
weight )

◆ node_fgcolor()

pyqpanda3.profiling.gprof2dot.Theme.node_fgcolor ( self,
weight )

◆ node_fontsize()

pyqpanda3.profiling.gprof2dot.Theme.node_fontsize ( self,
weight )

◆ node_style()

pyqpanda3.profiling.gprof2dot.Theme.node_style ( self)

Member Data Documentation

◆ bgcolor

pyqpanda3.profiling.gprof2dot.Theme.bgcolor = bgcolor

◆ fontcolor

pyqpanda3.profiling.gprof2dot.Theme.fontcolor = fontcolor

◆ fontname

pyqpanda3.profiling.gprof2dot.Theme.fontname = fontname

◆ gamma

pyqpanda3.profiling.gprof2dot.Theme.gamma = gamma

◆ maxcolor

pyqpanda3.profiling.gprof2dot.Theme.maxcolor = maxcolor

◆ maxfontsize

pyqpanda3.profiling.gprof2dot.Theme.maxfontsize = maxfontsize

◆ maxpenwidth

pyqpanda3.profiling.gprof2dot.Theme.maxpenwidth = maxpenwidth

◆ mincolor

pyqpanda3.profiling.gprof2dot.Theme.mincolor = mincolor

◆ minfontsize

pyqpanda3.profiling.gprof2dot.Theme.minfontsize = minfontsize

◆ minpenwidth

pyqpanda3.profiling.gprof2dot.Theme.minpenwidth = minpenwidth

◆ nodestyle

str pyqpanda3.profiling.gprof2dot.Theme.nodestyle = nodestyle

◆ skew

float pyqpanda3.profiling.gprof2dot.Theme.skew = skew

The documentation for this class was generated from the following file: