TextEntityAlignment

class ezdxf.enums.TextEntityAlignment(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

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(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

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(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
DEFAULT
LEFT
RIGHT
CENTER
JUSTIFIED
DISTRIBUTED

MTextFlowDirection

class ezdxf.enums.MTextFlowDirection(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
LEFT_TO_RIGHT
TOP_TO_BOTTOM
BY_STYLE

MTextLineAlignment

class ezdxf.enums.MTextLineAlignment(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
BOTTOM
MIDDLE
TOP

MTextStroke

class ezdxf.enums.MTextStroke(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Combination of flags is supported: UNDERLINE + STRIKE_THROUGH

UNDERLINE
STRIKE_THROUGH
OVERLINE

MTextLineSpacing

class ezdxf.enums.MTextLineSpacing(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
AT_LEAST
EXACT

MTextBackgroundColor

class ezdxf.enums.MTextBackgroundColor(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
OFF
COLOR
WINDOW
CANVAS

InsertUnits

class ezdxf.enums.InsertUnits(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
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(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Imperial
Metric

LengthUnits

class ezdxf.enums.LengthUnits(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Scientific
Decimal
Engineering
Architectural
Fractional

AngularUnits

class ezdxf.enums.AngularUnits(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
DecimalDegrees
DegreesMinutesSeconds
Grad
Radians

SortEntities

class ezdxf.enums.SortEntities(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)
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(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

AutoCAD Color Index

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

EndCaps

class ezdxf.enums.EndCaps(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Lineweight end caps setting for new objects.

NONE
ROUND
ANGLE
SQUARE

JoinStyle

class ezdxf.enums.JoinStyle(value, names=_not_given, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Lineweight joint setting for new objects.

NONE
ROUND
ANGLE
FLAT