1 2 3 4 5 6 7 8 9 10 11 12
horizontal_position

This defines the horizontal position of the Text_box from the specified reference point.

Possible values : "left", "center", "right". "left", "center" and "right"

Default value "right"







vertical_position

This defines the vertical position of the Text_box from the specified reference point.

Possible values : "top", "center", "base_line", "bottom". "top", "center", "base_line" and "bottom"

Default value "base_line"







font

This defines the font to be used when writing text on the drawing board.

Possible values : any object of type Font.

Default value : {bold=false,italic=false,name="SansSerif",size=12}







max_width

This defines the maximum width of the Text_box. When the text exceeds this width, a line break will be inserted.

Possible values : any positive Real number.

Default value : ∞ (infinity).







border_color

If the value for border is a positive Integer, the value defines the border colour.

Possible values : any Color, in {r,g,b} format, or by name if it has been defined.

Default value : {0,0,0} (black)







font_name

This indicates the name of the font type used.

Possible values : "Serif", "SansSerif", "Monospaced". "Serif", "SansSerif" and "Monospaced"

Default value "SansSerif"







font_size

This indicates the size of the font type used.

Possible values : any positive Integer.

Default value : 12







italic_font

This defines whether or not the text on the drawing board should be in italics.

Possible values : true, false. true and false

Default value false







background_color

If the value for background is true, this indicates the colour to paint the background of the object being represented.

Possible values : any Color, in {r,g,b} format, or by name if it has been defined.

Default value : {255,255,255} (white)







bold_font

This defines whether or not the text on the drawing board should be bold.

Possible values : true, false. true and false

Default value false







background

This indicates whether or not the background of the object being represented should be painted.

Possible values : true, false. true and false

Default value false







border

This defines whether or not a border will be applied around the displayed object, and in the former case it defines the border thickness.

Possible values : any non-negative Integerinteger.

Default value 0







More information on options write, options write, options write, options write, options write, options write, options write, options write, options write, options write, options write, options write, text_box, text_box, text_box, text_box, text_box, text_box, text_box, text_box, text_box, text_box, text_box, text_box

mathsformore.com powered by WIRIS

©2003 maths for more sl. All rights reserved. Legal notice