CHAPTER 7 VCS Secondary Objects

Secondary objects help to specify and define primary objects in VCS. The list of secondary objects include: colormap, fill area, format, line, marker, list, text-combined, text-orientation, and text-table. Note, although the colormap is considered a secondary object, it is acessed differenly. Therefore, the colormap object will not be described below. See the VCS Command Reference Guide for colormap commands.

Note, to see the list of object attributes, use the list() function. For example:

import vcs

a=vcs.init()

ln=a.createline('new')
ln.list() # This call will list the line attributes and their values

tt=a.createtexttable('new')
tt.list() # This call will list the text-table attributes and their values

Attributes (or Members)

Exception Type(s)

Object: fillarea (graphics method class name is Tf)
name StringType
style Either: 'solid', 'hatch', 'pattern'
index IntType: (Range 1 to 20)
color IntType: (Range 0 to 255)
Object: line (graphics method class name is Tl)
name StringType
type Either: 'solid', 'dash', 'dot', 'dash-dot', 'long-dash', 0, 1, 2, 3, 4
width IntType: (Range 1 to 300)
color IntType: (Range 0 to 255)
Object: marker (graphics method class name is Tm)
name StringType
type Either: "dot", "plus", "star", "circle", "cross", "diamond", "triangle_up", "triangle_down", "triangle_left", "triangle_right", "square", "diamond_fill", "triangle_up_fill", "triangle_down_fill", "triangle_left_fill", "triangle_right_fill", "square_fill", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
size IntType: (Range 1 to 300)
color IntType: (Range 0 to 255)
Object: text-combined (graphics method class name is Tc)
name StringType
font IntType: (Range 1 to 9)
spacing IntType: (Range -50 to 50)
expansion IntType: (Range 50 to 150)
color IntType: (Range 0 to 255)
name StringType
height IntType: (Range 1 to 100)
angel IntType: (Range 0 to 360)
path Either: 'right', 'left', 'up', 'down', 0, 1, 2, 3
halign Either: 'left', 'center', 'right', 0, 1, 2
valign Either: 'top', 'cap', 'half', 'base', 'bottom', 0, 1, 2, 3, 4
Object: text-orientation (graphics method class name is To)
name StringType
height IntType: (Range 1 to 100)
angle IntType: (Range 0 to 360)
path Either: 'right', 'left', 'up', 'down', 0, 1, 2, 3
halign Either: 'left', 'center', 'right', 0, 1, 2
valign Either: 'top', 'cap', 'half', 'base', 'bottom', 0, 1, 2, 3, 4
Object: text-table (graphics method class name is Tt)
name StringType
font IntType: (Range 1 to 9)
spacing IntType: (Range -50 to 50)
expansion IntType: (Range 50 to 150)
color IntType: (Range 0 to 255)
Previous Table of Contents Next