TextEntityAlignment

class ezdxf.enums.TextEntityAlignment

Text alignment enum for the Text, Attrib and AttDef entities.

LEFT
CENTER
RIGHT
ALIGNED
MIDDLE
FIT
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT
MIDDLE_LEFT
MIDDLE_CENTER
MIDDLE_RIGHT
TOP_LEFT
TOP_CENTER
TOP_RIGHT

MTextEntityAlignment

class ezdxf.enums.MTextEntityAlignment

Text alignment enum for the MText entity.

TOP_LEFT
TOP_CENTER
TOP_RIGHT
MIDDLE_LEFT
MIDDLE_CENTER
MIDDLE_RIGHT
BOTTOM_LEFT
BOTTOM_CENTER
BOTTOM_RIGHT

MTextParagraphAlignment

class ezdxf.enums.MTextParagraphAlignment

An enumeration.

DEFAULT
LEFT
RIGHT
CENTER
JUSTIFIED
DISTRIBUTED

MTextFlowDirection

class ezdxf.enums.MTextFlowDirection

An enumeration.

LEFT_TO_RIGHT
TOP_TO_BOTTOM
BY_STYLE

MTextLineAlignment

class ezdxf.enums.MTextLineAlignment

An enumeration.

BOTTOM
MIDDLE
TOP

MTextStroke

class ezdxf.enums.MTextStroke

Combination of flags is supported: UNDERLINE + STRIKE_THROUGH

UNDERLINE
STRIKE_THROUGH
OVERLINE

MTextLineSpacing

class ezdxf.enums.MTextLineSpacing

An enumeration.

AT_LEAST
EXACT

MTextBackgroundColor

class ezdxf.enums.MTextBackgroundColor

An enumeration.

OFF
COLOR
WINDOW
CANVAS

InsertUnits

class ezdxf.enums.InsertUnits

An enumeration.

Unitless
Inches
Feet
Miles
Millimeters
Centimeters
Meters
Kilometers
Microinches
Mils
Yards
Angstroms
Nanometers
Microns
Decimeters
Decameters
Hectometers
Gigameters
AstronomicalUnits
Lightyears
Parsecs
USSurveyFeet
USSurveyInch
USSurveyYard
USSurveyMile

Measurement

class ezdxf.enums.Measurement

An enumeration.

Imperial
Metric

LengthUnits

class ezdxf.enums.LengthUnits

An enumeration.

Scientific
Decimal
Engineering
Architectural
Fractional

AngularUnits

class ezdxf.enums.AngularUnits

An enumeration.

DecimalDegrees
DegreesMinutesSeconds
Grad
Radians

SortEntities

class ezdxf.enums.SortEntities

An enumeration.

DISABLE
SELECTION

Sorts for object selection

SNAP

Sorts for object snap

REDRAW

Sorts for redraws; obsolete

MSLIDE

Sorts for MSLIDE command slide creation; obsolete

REGEN

Sorts for REGEN commands

PLOT

Sorts for plotting

POSTSCRIPT

Sorts for PostScript output; obsolete

ACI

class ezdxf.enums.ACI

AutoCAD Color Index

BYBLOCK
BYLAYER
BYOBJECT
RED
YELLOW
GREEN
CYAN
BLUE
MAGENTA
BLACK
WHITE
GRAY
LIGHT_GRAY