Draft AnnotationStyleEditor/es

Descripción
El comando Borrador EditorEstiloAnotación permite definir estilos que afectan a las propiedades visuales de los objetos tipo anotación, como los creados por los comandos Borrador Texto, Borrador Dimensión y Borrador Etiqueta.


 * Several bugs have been fixed and a separate Text color button has been added.



Uso

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) The  dialog box opens.
 * 5) Select a style from the  dropdown list, or choose  to define a new style.
 * 6) Optionally adjust the properties of the style.
 * 7) Optionally press the  button to rename the style.
 * 8) Optionally press the  button to delete the style.
 * 9) Optionally press the  button to import all styles from a  file. This will overwrite existing styles with the same name.
 * 10) Optionally press the  button to export all styles to a  file.
 * 11) Press the  button to close the dialog box and finish the command.

Guión
See also: Autogenerated API documentation and FreeCAD Scripting Basics.


 * The information in this paragraph has been updated and reflects FreeCAD version 1.0.

The annotation styles are saved as serialized dictionaries in the attribute of the document. This attribute is inspected by the annotation style editor when it is opened.

Each style that appears in the editor is internally saved with the style name prefixed by ; this will prevent name clashes with other keys that may be saved in, which can hold arbitrary information.

You may define any new style by adding the necessary information to a key that starts with. The corresponding value of this key must be a dictionary serialized using.

The properties not entered will be filled automatically when this style is selected in the style editor and the button is pressed.

In a similar way, any serialized dictionary can be unpacked for edition.

The properties must have the following types:

Strings:

Floats (must be supplied with a decimal point):

Integers:

The and  correspond to a 32-bit integer, from which the individual RGBA values can be extracted. The is an enumerator.

Booleans: