Enum gds::ElementParameter [] [src]

pub enum ElementParameter {
    Layer(i16),
    XY(Vec<(i32, i32)>),
    Datatype(i16),
    Width(i32),
    StructureName(String),
    ColRow(Vec<i16>),
    TextType(i16),
    Presentation(u16),
    String(String),
    StrTransf(u16),
    Magnification(f64),
    Angle(f64),
    Pathtype(i16),
    EFlags(u16),
    Nodetype(i16),
    BeginExt(i32),
}

Enumeration of possible element parameters.

Variants

The layer of the element.

Vector of points described by tuples consisting of x- and y-coordinate.

A user defined parameter. Can be used for any purpose.

Width of the element.

Name of referenced Structure.

Define colums and rows of array. First number describes the number of columns, the second one the number of rows.

Type of Text.

Flags describing the presentation of text. Bit 10 and 11 are used for the font selection, bit 12 and 13 for the vertical position.

String for text.

Flags describing text transformation.

Magnification factor.

Angle in degrees. Positive numbers mean counterclockwise rotation.

Type of path. Describes end of the path.

  • 0 - square ends
  • 1 - rounded ends
  • 2 - square ends with half width
  • 4 - variable square ends (describe using BeginExt and EndExt)

Flags. Bit 15 is used to specity template data, bit 14 for external data.

Type of the node element.

Extension of the first point of the path. Is used in conjunction with pathtype 4.

Trait Implementations

impl Debug for ElementParameter
[src]

Formats the value using the given formatter.

impl Clone for ElementParameter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more