TextEntityAlignment

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

MTextFlowDirection

class ezdxf.enums.MTextFlowDirection(value, names=None, *, 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=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
BOTTOM
MIDDLE
TOP

MTextStroke

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

MTextBackgroundColor

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

InsertUnits

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

LengthUnits

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

AngularUnits

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

SortEntities

class ezdxf.enums.SortEntities(value, names=None, *, 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=None, *, 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