dxf

package module
v0.0.0-...-105795b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 21 Imported by: 0

README

dxf-go

A go package for reading and writing DXF CAD files.

Usage

Acquisition:

go get -d -t github.com/ixmilia/dxf-go
go generate github.com/ixmilia/dxf-go

Examples

See the example_test.go file.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewdimensionHelper

func NewdimensionHelper() *dimensionHelper

Types

type AcadVersion

type AcadVersion int

AcadVersion represents the minimum version of AutoCAD that is expected to be able to read the file.

const (
	// Version1_0 corresponds to the value "MC0.0"
	Version1_0 AcadVersion = iota

	// Version1_2 corresponds to the value "AC1.2"
	Version1_2

	// Version1_40 corresponds to the value "AC1.40"
	Version1_40

	// Version2_05 corresponds to the value "AC1.50"
	Version2_05

	// Version2_10 corresponds to the value "AC2.10"
	Version2_10

	// Version2_21 corresponds to the value "AC2.21"
	Version2_21

	// Version2_22 corresponds to the value "AC2.22"
	Version2_22

	// Version2_5 corresponds to the value "AC1002"
	Version2_5

	// Version2_6 corresponds to the value "AC1003"
	Version2_6

	// R9 corresponds to the value "AC1004"
	R9

	// R10 corresponds to the value "AC1006"
	R10

	// R11 corresponds to the value "AC1009"
	R11

	// R12 corresponds to the value "AC1009"
	R12

	// R13 corresponds to the value "AC1012"
	R13

	// R14 corresponds to the value "AC1014"
	R14

	// R2000 corresponds to the value "AC1015"
	R2000

	// R2004 corresponds to the value "AC1018"
	R2004

	// R2007 corresponds to the value "AC1021"
	R2007

	// R2010 corresponds to the value "AC1024"
	R2010

	// R2013 corresponds to the value "AC1027"
	R2013

	// R2018 corresponds to the value "AC1032"
	R2018
)

func (AcadVersion) String

func (v AcadVersion) String() string

type AlignedDimension

type AlignedDimension struct {
	DefinitionPoint2 Point
	DefinitionPoint3 Point
	// contains filtered or unexported fields
}

func NewAlignedDimension

func NewAlignedDimension() *AlignedDimension

func (*AlignedDimension) ActualMeasurement

func (this *AlignedDimension) ActualMeasurement() float64

func (*AlignedDimension) AttachmentPoint

func (this *AlignedDimension) AttachmentPoint() AttachmentPoint

func (*AlignedDimension) BlockName

func (this *AlignedDimension) BlockName() string

func (*AlignedDimension) Color

func (this *AlignedDimension) Color() Color

func (*AlignedDimension) Color24Bit

func (this *AlignedDimension) Color24Bit() int

func (*AlignedDimension) ColorName

func (this *AlignedDimension) ColorName() string

func (*AlignedDimension) DefinitionPoint1

func (this *AlignedDimension) DefinitionPoint1() Point

func (*AlignedDimension) DimensionStyleName

func (this *AlignedDimension) DimensionStyleName() string

func (*AlignedDimension) DimensionType

func (this *AlignedDimension) DimensionType() DimensionType

func (*AlignedDimension) Elevation

func (this *AlignedDimension) Elevation() float64

func (*AlignedDimension) Handle

func (this *AlignedDimension) Handle() Handle

func (*AlignedDimension) HorizontalDirectionAngle

func (this *AlignedDimension) HorizontalDirectionAngle() float64

func (*AlignedDimension) ImageByteCount

func (this *AlignedDimension) ImageByteCount() int

func (*AlignedDimension) IsInPaperSpace

func (this *AlignedDimension) IsInPaperSpace() bool

func (*AlignedDimension) IsVisible

func (this *AlignedDimension) IsVisible() bool

func (*AlignedDimension) Layer

func (this *AlignedDimension) Layer() string

func (*AlignedDimension) LineTypeName

func (this *AlignedDimension) LineTypeName() string

func (*AlignedDimension) LineTypeScale

func (this *AlignedDimension) LineTypeScale() float64

func (*AlignedDimension) LineWeight

func (this *AlignedDimension) LineWeight() LineWeight

func (*AlignedDimension) MaterialHandle

func (this *AlignedDimension) MaterialHandle() string

func (*AlignedDimension) Normal

func (this *AlignedDimension) Normal() Vector

func (*AlignedDimension) Owner

func (e *AlignedDimension) Owner() *DrawingItem

func (*AlignedDimension) PlotStyle

func (e *AlignedDimension) PlotStyle() *DrawingItem

func (*AlignedDimension) PreviewImageData

func (this *AlignedDimension) PreviewImageData() []string

func (*AlignedDimension) SetActualMeasurement

func (this *AlignedDimension) SetActualMeasurement(val float64)

func (*AlignedDimension) SetAttachmentPoint

func (this *AlignedDimension) SetAttachmentPoint(val AttachmentPoint)

func (*AlignedDimension) SetBlockName

func (this *AlignedDimension) SetBlockName(val string)

func (*AlignedDimension) SetColor

func (this *AlignedDimension) SetColor(val Color)

func (*AlignedDimension) SetColor24Bit

func (this *AlignedDimension) SetColor24Bit(val int)

func (*AlignedDimension) SetColorName

func (this *AlignedDimension) SetColorName(val string)

func (*AlignedDimension) SetDefinitionPoint1

func (this *AlignedDimension) SetDefinitionPoint1(val Point)

func (*AlignedDimension) SetDimensionStyleName

func (this *AlignedDimension) SetDimensionStyleName(val string)

func (*AlignedDimension) SetDimensionType

func (this *AlignedDimension) SetDimensionType(val DimensionType)

func (*AlignedDimension) SetElevation

func (this *AlignedDimension) SetElevation(val float64)

func (*AlignedDimension) SetHandle

func (this *AlignedDimension) SetHandle(val Handle)

func (*AlignedDimension) SetHorizontalDirectionAngle

func (this *AlignedDimension) SetHorizontalDirectionAngle(val float64)

func (*AlignedDimension) SetImageByteCount

func (this *AlignedDimension) SetImageByteCount(val int)

func (*AlignedDimension) SetIsInPaperSpace

func (this *AlignedDimension) SetIsInPaperSpace(val bool)

func (*AlignedDimension) SetIsVisible

func (this *AlignedDimension) SetIsVisible(val bool)

func (*AlignedDimension) SetLayer

func (this *AlignedDimension) SetLayer(val string)

func (*AlignedDimension) SetLineTypeName

func (this *AlignedDimension) SetLineTypeName(val string)

func (*AlignedDimension) SetLineTypeScale

func (this *AlignedDimension) SetLineTypeScale(val float64)

func (*AlignedDimension) SetLineWeight

func (this *AlignedDimension) SetLineWeight(val LineWeight)

func (*AlignedDimension) SetMaterialHandle

func (this *AlignedDimension) SetMaterialHandle(val string)

func (*AlignedDimension) SetNormal

func (this *AlignedDimension) SetNormal(val Vector)

func (*AlignedDimension) SetOwner

func (e *AlignedDimension) SetOwner(val *DrawingItem)

func (*AlignedDimension) SetPlotStyle

func (e *AlignedDimension) SetPlotStyle(val *DrawingItem)

func (*AlignedDimension) SetPreviewImageData

func (this *AlignedDimension) SetPreviewImageData(val []string)

func (*AlignedDimension) SetShadowMode

func (this *AlignedDimension) SetShadowMode(val ShadowMode)

func (*AlignedDimension) SetText

func (this *AlignedDimension) SetText(val string)

func (*AlignedDimension) SetTextLineSpacingFactor

func (this *AlignedDimension) SetTextLineSpacingFactor(val float64)

func (*AlignedDimension) SetTextLineSpacingStyle

func (this *AlignedDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*AlignedDimension) SetTextMidPoint

func (this *AlignedDimension) SetTextMidPoint(val Point)

func (*AlignedDimension) SetTextRotationAngle

func (this *AlignedDimension) SetTextRotationAngle(val float64)

func (*AlignedDimension) SetTransparency

func (this *AlignedDimension) SetTransparency(val int)

func (*AlignedDimension) SetVersion

func (this *AlignedDimension) SetVersion(val Version)

func (*AlignedDimension) ShadowMode

func (this *AlignedDimension) ShadowMode() ShadowMode

func (*AlignedDimension) Text

func (this *AlignedDimension) Text() string

func (*AlignedDimension) TextLineSpacingFactor

func (this *AlignedDimension) TextLineSpacingFactor() float64

func (*AlignedDimension) TextLineSpacingStyle

func (this *AlignedDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*AlignedDimension) TextMidPoint

func (this *AlignedDimension) TextMidPoint() Point

func (*AlignedDimension) TextRotationAngle

func (this *AlignedDimension) TextRotationAngle() float64

func (*AlignedDimension) Transparency

func (this *AlignedDimension) Transparency() int

func (*AlignedDimension) Version

func (this *AlignedDimension) Version() Version

type AngleDirection

type AngleDirection int16
const (
	AngleDirectionCounterClockwise AngleDirection = iota
	AngleDirectionClockwise
)

func (AngleDirection) String

func (this AngleDirection) String() string

type AngleFormat

type AngleFormat int16
const (
	AngleFormatDecimalDegrees AngleFormat = iota
	AngleFormatDegreesMinutesSeconds
	AngleFormatGradians
	AngleFormatRadians
	AngleFormatSurveyorUnits
)

func (AngleFormat) String

func (this AngleFormat) String() string

type AngularThreePointDimension

type AngularThreePointDimension struct {
	DefinitionPoint2 Point
	DefinitionPoint3 Point
	DefinitionPoint4 Point
	DefinitionPoint5 Point
	// contains filtered or unexported fields
}

func NewAngularThreePointDimension

func NewAngularThreePointDimension() *AngularThreePointDimension

func (*AngularThreePointDimension) ActualMeasurement

func (this *AngularThreePointDimension) ActualMeasurement() float64

func (*AngularThreePointDimension) AttachmentPoint

func (this *AngularThreePointDimension) AttachmentPoint() AttachmentPoint

func (*AngularThreePointDimension) BlockName

func (this *AngularThreePointDimension) BlockName() string

func (*AngularThreePointDimension) Color

func (this *AngularThreePointDimension) Color() Color

func (*AngularThreePointDimension) Color24Bit

func (this *AngularThreePointDimension) Color24Bit() int

func (*AngularThreePointDimension) ColorName

func (this *AngularThreePointDimension) ColorName() string

func (*AngularThreePointDimension) DefinitionPoint1

func (this *AngularThreePointDimension) DefinitionPoint1() Point

func (*AngularThreePointDimension) DimensionStyleName

func (this *AngularThreePointDimension) DimensionStyleName() string

func (*AngularThreePointDimension) DimensionType

func (this *AngularThreePointDimension) DimensionType() DimensionType

func (*AngularThreePointDimension) Elevation

func (this *AngularThreePointDimension) Elevation() float64

func (*AngularThreePointDimension) Handle

func (this *AngularThreePointDimension) Handle() Handle

func (*AngularThreePointDimension) HorizontalDirectionAngle

func (this *AngularThreePointDimension) HorizontalDirectionAngle() float64

func (*AngularThreePointDimension) ImageByteCount

func (this *AngularThreePointDimension) ImageByteCount() int

func (*AngularThreePointDimension) IsInPaperSpace

func (this *AngularThreePointDimension) IsInPaperSpace() bool

func (*AngularThreePointDimension) IsVisible

func (this *AngularThreePointDimension) IsVisible() bool

func (*AngularThreePointDimension) Layer

func (this *AngularThreePointDimension) Layer() string

func (*AngularThreePointDimension) LineTypeName

func (this *AngularThreePointDimension) LineTypeName() string

func (*AngularThreePointDimension) LineTypeScale

func (this *AngularThreePointDimension) LineTypeScale() float64

func (*AngularThreePointDimension) LineWeight

func (this *AngularThreePointDimension) LineWeight() LineWeight

func (*AngularThreePointDimension) MaterialHandle

func (this *AngularThreePointDimension) MaterialHandle() string

func (*AngularThreePointDimension) Normal

func (this *AngularThreePointDimension) Normal() Vector

func (*AngularThreePointDimension) Owner

func (*AngularThreePointDimension) PlotStyle

func (e *AngularThreePointDimension) PlotStyle() *DrawingItem

func (*AngularThreePointDimension) PreviewImageData

func (this *AngularThreePointDimension) PreviewImageData() []string

func (*AngularThreePointDimension) SetActualMeasurement

func (this *AngularThreePointDimension) SetActualMeasurement(val float64)

func (*AngularThreePointDimension) SetAttachmentPoint

func (this *AngularThreePointDimension) SetAttachmentPoint(val AttachmentPoint)

func (*AngularThreePointDimension) SetBlockName

func (this *AngularThreePointDimension) SetBlockName(val string)

func (*AngularThreePointDimension) SetColor

func (this *AngularThreePointDimension) SetColor(val Color)

func (*AngularThreePointDimension) SetColor24Bit

func (this *AngularThreePointDimension) SetColor24Bit(val int)

func (*AngularThreePointDimension) SetColorName

func (this *AngularThreePointDimension) SetColorName(val string)

func (*AngularThreePointDimension) SetDefinitionPoint1

func (this *AngularThreePointDimension) SetDefinitionPoint1(val Point)

func (*AngularThreePointDimension) SetDimensionStyleName

func (this *AngularThreePointDimension) SetDimensionStyleName(val string)

func (*AngularThreePointDimension) SetDimensionType

func (this *AngularThreePointDimension) SetDimensionType(val DimensionType)

func (*AngularThreePointDimension) SetElevation

func (this *AngularThreePointDimension) SetElevation(val float64)

func (*AngularThreePointDimension) SetHandle

func (this *AngularThreePointDimension) SetHandle(val Handle)

func (*AngularThreePointDimension) SetHorizontalDirectionAngle

func (this *AngularThreePointDimension) SetHorizontalDirectionAngle(val float64)

func (*AngularThreePointDimension) SetImageByteCount

func (this *AngularThreePointDimension) SetImageByteCount(val int)

func (*AngularThreePointDimension) SetIsInPaperSpace

func (this *AngularThreePointDimension) SetIsInPaperSpace(val bool)

func (*AngularThreePointDimension) SetIsVisible

func (this *AngularThreePointDimension) SetIsVisible(val bool)

func (*AngularThreePointDimension) SetLayer

func (this *AngularThreePointDimension) SetLayer(val string)

func (*AngularThreePointDimension) SetLineTypeName

func (this *AngularThreePointDimension) SetLineTypeName(val string)

func (*AngularThreePointDimension) SetLineTypeScale

func (this *AngularThreePointDimension) SetLineTypeScale(val float64)

func (*AngularThreePointDimension) SetLineWeight

func (this *AngularThreePointDimension) SetLineWeight(val LineWeight)

func (*AngularThreePointDimension) SetMaterialHandle

func (this *AngularThreePointDimension) SetMaterialHandle(val string)

func (*AngularThreePointDimension) SetNormal

func (this *AngularThreePointDimension) SetNormal(val Vector)

func (*AngularThreePointDimension) SetOwner

func (e *AngularThreePointDimension) SetOwner(val *DrawingItem)

func (*AngularThreePointDimension) SetPlotStyle

func (e *AngularThreePointDimension) SetPlotStyle(val *DrawingItem)

func (*AngularThreePointDimension) SetPreviewImageData

func (this *AngularThreePointDimension) SetPreviewImageData(val []string)

func (*AngularThreePointDimension) SetShadowMode

func (this *AngularThreePointDimension) SetShadowMode(val ShadowMode)

func (*AngularThreePointDimension) SetText

func (this *AngularThreePointDimension) SetText(val string)

func (*AngularThreePointDimension) SetTextLineSpacingFactor

func (this *AngularThreePointDimension) SetTextLineSpacingFactor(val float64)

func (*AngularThreePointDimension) SetTextLineSpacingStyle

func (this *AngularThreePointDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*AngularThreePointDimension) SetTextMidPoint

func (this *AngularThreePointDimension) SetTextMidPoint(val Point)

func (*AngularThreePointDimension) SetTextRotationAngle

func (this *AngularThreePointDimension) SetTextRotationAngle(val float64)

func (*AngularThreePointDimension) SetTransparency

func (this *AngularThreePointDimension) SetTransparency(val int)

func (*AngularThreePointDimension) SetVersion

func (this *AngularThreePointDimension) SetVersion(val Version)

func (*AngularThreePointDimension) ShadowMode

func (this *AngularThreePointDimension) ShadowMode() ShadowMode

func (*AngularThreePointDimension) Text

func (this *AngularThreePointDimension) Text() string

func (*AngularThreePointDimension) TextLineSpacingFactor

func (this *AngularThreePointDimension) TextLineSpacingFactor() float64

func (*AngularThreePointDimension) TextLineSpacingStyle

func (this *AngularThreePointDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*AngularThreePointDimension) TextMidPoint

func (this *AngularThreePointDimension) TextMidPoint() Point

func (*AngularThreePointDimension) TextRotationAngle

func (this *AngularThreePointDimension) TextRotationAngle() float64

func (*AngularThreePointDimension) Transparency

func (this *AngularThreePointDimension) Transparency() int

func (*AngularThreePointDimension) Version

func (this *AngularThreePointDimension) Version() Version

type AppId

type AppId struct {
	Name  string
	Flags int
	// contains filtered or unexported fields
}

func NewAppId

func NewAppId() *AppId

func (*AppId) Handle

func (this *AppId) Handle() Handle

func (*AppId) SetHandle

func (this *AppId) SetHandle(val Handle)

type Arc

type Arc struct {
	Thickness  float64
	Center     Point
	Radius     float64
	Normal     Vector
	StartAngle float64 // Arc start angle in degrees
	EndAngle   float64 // Arc end angle in degrees
	// contains filtered or unexported fields
}

func NewArc

func NewArc() *Arc

func (*Arc) Color

func (this *Arc) Color() Color

func (*Arc) Color24Bit

func (this *Arc) Color24Bit() int

func (*Arc) ColorName

func (this *Arc) ColorName() string

func (*Arc) Elevation

func (this *Arc) Elevation() float64

func (*Arc) Handle

func (this *Arc) Handle() Handle

func (*Arc) ImageByteCount

func (this *Arc) ImageByteCount() int

func (*Arc) IsInPaperSpace

func (this *Arc) IsInPaperSpace() bool

func (*Arc) IsVisible

func (this *Arc) IsVisible() bool

func (*Arc) Layer

func (this *Arc) Layer() string

func (*Arc) LineTypeName

func (this *Arc) LineTypeName() string

func (*Arc) LineTypeScale

func (this *Arc) LineTypeScale() float64

func (*Arc) LineWeight

func (this *Arc) LineWeight() LineWeight

func (*Arc) MaterialHandle

func (this *Arc) MaterialHandle() string

func (*Arc) Owner

func (e *Arc) Owner() *DrawingItem

func (*Arc) PlotStyle

func (e *Arc) PlotStyle() *DrawingItem

func (*Arc) PreviewImageData

func (this *Arc) PreviewImageData() []string

func (*Arc) SetColor

func (this *Arc) SetColor(val Color)

func (*Arc) SetColor24Bit

func (this *Arc) SetColor24Bit(val int)

func (*Arc) SetColorName

func (this *Arc) SetColorName(val string)

func (*Arc) SetElevation

func (this *Arc) SetElevation(val float64)

func (*Arc) SetHandle

func (this *Arc) SetHandle(val Handle)

func (*Arc) SetImageByteCount

func (this *Arc) SetImageByteCount(val int)

func (*Arc) SetIsInPaperSpace

func (this *Arc) SetIsInPaperSpace(val bool)

func (*Arc) SetIsVisible

func (this *Arc) SetIsVisible(val bool)

func (*Arc) SetLayer

func (this *Arc) SetLayer(val string)

func (*Arc) SetLineTypeName

func (this *Arc) SetLineTypeName(val string)

func (*Arc) SetLineTypeScale

func (this *Arc) SetLineTypeScale(val float64)

func (*Arc) SetLineWeight

func (this *Arc) SetLineWeight(val LineWeight)

func (*Arc) SetMaterialHandle

func (this *Arc) SetMaterialHandle(val string)

func (*Arc) SetOwner

func (e *Arc) SetOwner(val *DrawingItem)

func (*Arc) SetPlotStyle

func (e *Arc) SetPlotStyle(val *DrawingItem)

func (*Arc) SetPreviewImageData

func (this *Arc) SetPreviewImageData(val []string)

func (*Arc) SetShadowMode

func (this *Arc) SetShadowMode(val ShadowMode)

func (*Arc) SetTransparency

func (this *Arc) SetTransparency(val int)

func (*Arc) ShadowMode

func (this *Arc) ShadowMode() ShadowMode

func (*Arc) Transparency

func (this *Arc) Transparency() int

type ArcAlignedText

type ArcAlignedText struct {
	Text                     string
	FontName                 string
	BigfontName              string
	TextStyleName            string
	CenterPoint              Point
	ArcRadius                float64
	WidthFactor              float64
	TextHeight               float64
	CharacterSpacing         float64
	OffsetFromArc            float64
	RightOffset              float64
	LeftOffset               float64
	StartAngle               float64
	EndAngle                 float64
	IsCharacterOrderReversed bool
	DirectionFlag            int16
	AlignmentFlag            int16
	SideFlag                 int16
	IsBold                   bool
	IsItalic                 bool
	IsUnderline              bool
	CharacterSetValue        int16
	PitchAndFamilyValue      int16
	FontType                 FontType
	ColorIndex               int
	ExtrusionDirection       Vector
	WizardFlag               int16
	// contains filtered or unexported fields
}

func NewArcAlignedText

func NewArcAlignedText() *ArcAlignedText

func (*ArcAlignedText) Color

func (this *ArcAlignedText) Color() Color

func (*ArcAlignedText) Color24Bit

func (this *ArcAlignedText) Color24Bit() int

func (*ArcAlignedText) ColorName

func (this *ArcAlignedText) ColorName() string

func (*ArcAlignedText) Elevation

func (this *ArcAlignedText) Elevation() float64

func (*ArcAlignedText) Handle

func (this *ArcAlignedText) Handle() Handle

func (*ArcAlignedText) ImageByteCount

func (this *ArcAlignedText) ImageByteCount() int

func (*ArcAlignedText) IsInPaperSpace

func (this *ArcAlignedText) IsInPaperSpace() bool

func (*ArcAlignedText) IsVisible

func (this *ArcAlignedText) IsVisible() bool

func (*ArcAlignedText) Layer

func (this *ArcAlignedText) Layer() string

func (*ArcAlignedText) LineTypeName

func (this *ArcAlignedText) LineTypeName() string

func (*ArcAlignedText) LineTypeScale

func (this *ArcAlignedText) LineTypeScale() float64

func (*ArcAlignedText) LineWeight

func (this *ArcAlignedText) LineWeight() LineWeight

func (*ArcAlignedText) MaterialHandle

func (this *ArcAlignedText) MaterialHandle() string

func (*ArcAlignedText) Owner

func (e *ArcAlignedText) Owner() *DrawingItem

func (*ArcAlignedText) PlotStyle

func (e *ArcAlignedText) PlotStyle() *DrawingItem

func (*ArcAlignedText) PreviewImageData

func (this *ArcAlignedText) PreviewImageData() []string

func (*ArcAlignedText) SetColor

func (this *ArcAlignedText) SetColor(val Color)

func (*ArcAlignedText) SetColor24Bit

func (this *ArcAlignedText) SetColor24Bit(val int)

func (*ArcAlignedText) SetColorName

func (this *ArcAlignedText) SetColorName(val string)

func (*ArcAlignedText) SetElevation

func (this *ArcAlignedText) SetElevation(val float64)

func (*ArcAlignedText) SetHandle

func (this *ArcAlignedText) SetHandle(val Handle)

func (*ArcAlignedText) SetImageByteCount

func (this *ArcAlignedText) SetImageByteCount(val int)

func (*ArcAlignedText) SetIsInPaperSpace

func (this *ArcAlignedText) SetIsInPaperSpace(val bool)

func (*ArcAlignedText) SetIsVisible

func (this *ArcAlignedText) SetIsVisible(val bool)

func (*ArcAlignedText) SetLayer

func (this *ArcAlignedText) SetLayer(val string)

func (*ArcAlignedText) SetLineTypeName

func (this *ArcAlignedText) SetLineTypeName(val string)

func (*ArcAlignedText) SetLineTypeScale

func (this *ArcAlignedText) SetLineTypeScale(val float64)

func (*ArcAlignedText) SetLineWeight

func (this *ArcAlignedText) SetLineWeight(val LineWeight)

func (*ArcAlignedText) SetMaterialHandle

func (this *ArcAlignedText) SetMaterialHandle(val string)

func (*ArcAlignedText) SetOwner

func (e *ArcAlignedText) SetOwner(val *DrawingItem)

func (*ArcAlignedText) SetPlotStyle

func (e *ArcAlignedText) SetPlotStyle(val *DrawingItem)

func (*ArcAlignedText) SetPreviewImageData

func (this *ArcAlignedText) SetPreviewImageData(val []string)

func (*ArcAlignedText) SetShadowMode

func (this *ArcAlignedText) SetShadowMode(val ShadowMode)

func (*ArcAlignedText) SetTransparency

func (this *ArcAlignedText) SetTransparency(val int)

func (*ArcAlignedText) ShadowMode

func (this *ArcAlignedText) ShadowMode() ShadowMode

func (*ArcAlignedText) Transparency

func (this *ArcAlignedText) Transparency() int

type AttachmentPoint

type AttachmentPoint int16
const (
	AttachmentPointTopLeft      AttachmentPoint = 1
	AttachmentPointTopCenter    AttachmentPoint = 2
	AttachmentPointTopRight     AttachmentPoint = 3
	AttachmentPointMiddleLeft   AttachmentPoint = 4
	AttachmentPointMiddleCenter AttachmentPoint = 5
	AttachmentPointMiddleRight  AttachmentPoint = 6
	AttachmentPointBottomLeft   AttachmentPoint = 7
	AttachmentPointBottomCenter AttachmentPoint = 8
	AttachmentPointBottomRight  AttachmentPoint = 9
)

func (AttachmentPoint) String

func (this AttachmentPoint) String() string

type Attribute

type Attribute struct {
	Thickness                   float64
	Location                    Point
	TextHeight                  float64
	Value                       string
	Version                     Version
	AttributeTag                string
	Flags                       int
	FieldLength                 int16
	Rotation                    float64
	RelativeXScaleFactor        float64
	ObliqueAngle                float64
	TextStyleName               string
	TextGenerationFlags         int
	HorizontalTextJustification HorizontalTextJustification
	VerticalTextJustification   VerticalTextJustification
	SecondAlignmentPoint        Point
	Normal                      Vector
	IsLockedInBlock             bool
	KeepDuplicateRecords        bool
	MTextFlag                   MTextFlag
	IsReallyLocked              bool

	AlignmentPoint  Point
	AnnotationScale float64
	XRecordTag      string
	MText           MText
	// contains filtered or unexported fields
}

func NewAttribute

func NewAttribute() *Attribute

func (*Attribute) AddsecondaryAttributeHandles

func (this *Attribute) AddsecondaryAttributeHandles(val string)

func (*Attribute) ClearsecondaryAttributeHandles

func (this *Attribute) ClearsecondaryAttributeHandles()

func (*Attribute) Color

func (this *Attribute) Color() Color

func (*Attribute) Color24Bit

func (this *Attribute) Color24Bit() int

func (*Attribute) ColorName

func (this *Attribute) ColorName() string

func (*Attribute) Elevation

func (this *Attribute) Elevation() float64

func (*Attribute) Handle

func (this *Attribute) Handle() Handle

func (*Attribute) ImageByteCount

func (this *Attribute) ImageByteCount() int

func (*Attribute) IsAttributePresent

func (this *Attribute) IsAttributePresent() bool

IsAttributePresent status flag.

func (*Attribute) IsConstant

func (this *Attribute) IsConstant() bool

IsConstant status flag.

func (*Attribute) IsInPaperSpace

func (this *Attribute) IsInPaperSpace() bool

func (*Attribute) IsInputVerificationRequired

func (this *Attribute) IsInputVerificationRequired() bool

IsInputVerificationRequired status flag.

func (*Attribute) IsInvisible

func (this *Attribute) IsInvisible() bool

IsInvisible status flag.

func (*Attribute) IsTextBackward

func (this *Attribute) IsTextBackward() bool

IsTextBackward status flag.

func (*Attribute) IsTextUpsideDown

func (this *Attribute) IsTextUpsideDown() bool

IsTextUpsideDown status flag.

func (*Attribute) IsVisible

func (this *Attribute) IsVisible() bool

func (*Attribute) Layer

func (this *Attribute) Layer() string

func (*Attribute) LineTypeName

func (this *Attribute) LineTypeName() string

func (*Attribute) LineTypeScale

func (this *Attribute) LineTypeScale() float64

func (*Attribute) LineWeight

func (this *Attribute) LineWeight() LineWeight

func (*Attribute) MaterialHandle

func (this *Attribute) MaterialHandle() string

func (*Attribute) Owner

func (e *Attribute) Owner() *DrawingItem

func (*Attribute) PlotStyle

func (e *Attribute) PlotStyle() *DrawingItem

func (*Attribute) PreviewImageData

func (this *Attribute) PreviewImageData() []string

func (*Attribute) SetColor

func (this *Attribute) SetColor(val Color)

func (*Attribute) SetColor24Bit

func (this *Attribute) SetColor24Bit(val int)

func (*Attribute) SetColorName

func (this *Attribute) SetColorName(val string)

func (*Attribute) SetElevation

func (this *Attribute) SetElevation(val float64)

func (*Attribute) SetHandle

func (this *Attribute) SetHandle(val Handle)

func (*Attribute) SetImageByteCount

func (this *Attribute) SetImageByteCount(val int)

func (*Attribute) SetIsAttributePresent

func (this *Attribute) SetIsAttributePresent(val bool)

IsAttributePresent status flag.

func (*Attribute) SetIsConstant

func (this *Attribute) SetIsConstant(val bool)

IsConstant status flag.

func (*Attribute) SetIsInPaperSpace

func (this *Attribute) SetIsInPaperSpace(val bool)

func (*Attribute) SetIsInputVerificationRequired

func (this *Attribute) SetIsInputVerificationRequired(val bool)

IsInputVerificationRequired status flag.

func (*Attribute) SetIsInvisible

func (this *Attribute) SetIsInvisible(val bool)

IsInvisible status flag.

func (*Attribute) SetIsTextBackward

func (this *Attribute) SetIsTextBackward(val bool)

IsTextBackward status flag.

func (*Attribute) SetIsTextUpsideDown

func (this *Attribute) SetIsTextUpsideDown(val bool)

IsTextUpsideDown status flag.

func (*Attribute) SetIsVisible

func (this *Attribute) SetIsVisible(val bool)

func (*Attribute) SetLayer

func (this *Attribute) SetLayer(val string)

func (*Attribute) SetLineTypeName

func (this *Attribute) SetLineTypeName(val string)

func (*Attribute) SetLineTypeScale

func (this *Attribute) SetLineTypeScale(val float64)

func (*Attribute) SetLineWeight

func (this *Attribute) SetLineWeight(val LineWeight)

func (*Attribute) SetMaterialHandle

func (this *Attribute) SetMaterialHandle(val string)

func (*Attribute) SetOwner

func (e *Attribute) SetOwner(val *DrawingItem)

func (*Attribute) SetPlotStyle

func (e *Attribute) SetPlotStyle(val *DrawingItem)

func (*Attribute) SetPreviewImageData

func (this *Attribute) SetPreviewImageData(val []string)

func (*Attribute) SetShadowMode

func (this *Attribute) SetShadowMode(val ShadowMode)

func (*Attribute) SetTransparency

func (this *Attribute) SetTransparency(val int)

func (*Attribute) ShadowMode

func (this *Attribute) ShadowMode() ShadowMode

func (*Attribute) Transparency

func (this *Attribute) Transparency() int

type AttributeDefinition

type AttributeDefinition struct {
	Thickness                   float64
	Location                    Point
	TextHeight                  float64
	Value                       string
	Rotation                    float64
	RelativeXScaleFactor        float64
	ObliqueAngle                float64
	TextStyleName               string
	TextGenerationFlags         int
	HorizontalTextJustification HorizontalTextJustification
	SecondAlignmentPoint        Point
	Normal                      Vector
	Version                     Version
	Prompt                      string
	TextTag                     string
	Flags                       int
	FieldLength                 int16
	VerticalTextJustification   VerticalTextJustification
	IsLockedInBlock             bool
	KeepDuplicateRecords        bool
	MTextFlag                   MTextFlag
	IsReallyLocked              bool

	SecondaryAttributeHandles []string
	AlignmentPoint            Point
	AnnotationScale           float64
	XRecordTag                string
	MText                     MText
	// contains filtered or unexported fields
}

func NewAttributeDefinition

func NewAttributeDefinition() *AttributeDefinition

func (*AttributeDefinition) AddSecondaryAttributeHandles

func (this *AttributeDefinition) AddSecondaryAttributeHandles(val string)

func (*AttributeDefinition) ClearSecondaryAttributeHandles

func (this *AttributeDefinition) ClearSecondaryAttributeHandles()

func (*AttributeDefinition) Color

func (this *AttributeDefinition) Color() Color

func (*AttributeDefinition) Color24Bit

func (this *AttributeDefinition) Color24Bit() int

func (*AttributeDefinition) ColorName

func (this *AttributeDefinition) ColorName() string

func (*AttributeDefinition) Elevation

func (this *AttributeDefinition) Elevation() float64

func (*AttributeDefinition) Handle

func (this *AttributeDefinition) Handle() Handle

func (*AttributeDefinition) ImageByteCount

func (this *AttributeDefinition) ImageByteCount() int

func (*AttributeDefinition) IsAttributePresent

func (this *AttributeDefinition) IsAttributePresent() bool

IsAttributePresent status flag.

func (*AttributeDefinition) IsConstant

func (this *AttributeDefinition) IsConstant() bool

IsConstant status flag.

func (*AttributeDefinition) IsInPaperSpace

func (this *AttributeDefinition) IsInPaperSpace() bool

func (*AttributeDefinition) IsInputVerificationRequired

func (this *AttributeDefinition) IsInputVerificationRequired() bool

IsInputVerificationRequired status flag.

func (*AttributeDefinition) IsInvisible

func (this *AttributeDefinition) IsInvisible() bool

IsInvisible status flag.

func (*AttributeDefinition) IsTextBackward

func (this *AttributeDefinition) IsTextBackward() bool

IsTextBackward status flag.

func (*AttributeDefinition) IsTextUpsideDown

func (this *AttributeDefinition) IsTextUpsideDown() bool

IsTextUpsideDown status flag.

func (*AttributeDefinition) IsVisible

func (this *AttributeDefinition) IsVisible() bool

func (*AttributeDefinition) Layer

func (this *AttributeDefinition) Layer() string

func (*AttributeDefinition) LineTypeName

func (this *AttributeDefinition) LineTypeName() string

func (*AttributeDefinition) LineTypeScale

func (this *AttributeDefinition) LineTypeScale() float64

func (*AttributeDefinition) LineWeight

func (this *AttributeDefinition) LineWeight() LineWeight

func (*AttributeDefinition) MaterialHandle

func (this *AttributeDefinition) MaterialHandle() string

func (*AttributeDefinition) Owner

func (e *AttributeDefinition) Owner() *DrawingItem

func (*AttributeDefinition) PlotStyle

func (e *AttributeDefinition) PlotStyle() *DrawingItem

func (*AttributeDefinition) PreviewImageData

func (this *AttributeDefinition) PreviewImageData() []string

func (*AttributeDefinition) SetColor

func (this *AttributeDefinition) SetColor(val Color)

func (*AttributeDefinition) SetColor24Bit

func (this *AttributeDefinition) SetColor24Bit(val int)

func (*AttributeDefinition) SetColorName

func (this *AttributeDefinition) SetColorName(val string)

func (*AttributeDefinition) SetElevation

func (this *AttributeDefinition) SetElevation(val float64)

func (*AttributeDefinition) SetHandle

func (this *AttributeDefinition) SetHandle(val Handle)

func (*AttributeDefinition) SetImageByteCount

func (this *AttributeDefinition) SetImageByteCount(val int)

func (*AttributeDefinition) SetIsAttributePresent

func (this *AttributeDefinition) SetIsAttributePresent(val bool)

IsAttributePresent status flag.

func (*AttributeDefinition) SetIsConstant

func (this *AttributeDefinition) SetIsConstant(val bool)

IsConstant status flag.

func (*AttributeDefinition) SetIsInPaperSpace

func (this *AttributeDefinition) SetIsInPaperSpace(val bool)

func (*AttributeDefinition) SetIsInputVerificationRequired

func (this *AttributeDefinition) SetIsInputVerificationRequired(val bool)

IsInputVerificationRequired status flag.

func (*AttributeDefinition) SetIsInvisible

func (this *AttributeDefinition) SetIsInvisible(val bool)

IsInvisible status flag.

func (*AttributeDefinition) SetIsTextBackward

func (this *AttributeDefinition) SetIsTextBackward(val bool)

IsTextBackward status flag.

func (*AttributeDefinition) SetIsTextUpsideDown

func (this *AttributeDefinition) SetIsTextUpsideDown(val bool)

IsTextUpsideDown status flag.

func (*AttributeDefinition) SetIsVisible

func (this *AttributeDefinition) SetIsVisible(val bool)

func (*AttributeDefinition) SetLayer

func (this *AttributeDefinition) SetLayer(val string)

func (*AttributeDefinition) SetLineTypeName

func (this *AttributeDefinition) SetLineTypeName(val string)

func (*AttributeDefinition) SetLineTypeScale

func (this *AttributeDefinition) SetLineTypeScale(val float64)

func (*AttributeDefinition) SetLineWeight

func (this *AttributeDefinition) SetLineWeight(val LineWeight)

func (*AttributeDefinition) SetMaterialHandle

func (this *AttributeDefinition) SetMaterialHandle(val string)

func (*AttributeDefinition) SetOwner

func (e *AttributeDefinition) SetOwner(val *DrawingItem)

func (*AttributeDefinition) SetPlotStyle

func (e *AttributeDefinition) SetPlotStyle(val *DrawingItem)

func (*AttributeDefinition) SetPreviewImageData

func (this *AttributeDefinition) SetPreviewImageData(val []string)

func (*AttributeDefinition) SetShadowMode

func (this *AttributeDefinition) SetShadowMode(val ShadowMode)

func (*AttributeDefinition) SetTransparency

func (this *AttributeDefinition) SetTransparency(val int)

func (*AttributeDefinition) ShadowMode

func (this *AttributeDefinition) ShadowMode() ShadowMode

func (*AttributeDefinition) Transparency

func (this *AttributeDefinition) Transparency() int

type AttributeVisibility

type AttributeVisibility int16
const (
	AttributeVisibilityNone AttributeVisibility = iota
	AttributeVisibilityNormal
	AttributeVisibilityAll
)

func (AttributeVisibility) String

func (this AttributeVisibility) String() string

type BackgroundFillSetting

type BackgroundFillSetting int16
const (
	BackgroundFillSettingOff BackgroundFillSetting = iota
	BackgroundFillSettingUseBackgroundFillColor
	BackgroundFillSettingUseDrawingWindowColor
)

func (BackgroundFillSetting) String

func (this BackgroundFillSetting) String() string

type Block

type Block struct {
	IsInPaperSpace bool
	Layer          string
	Name           string
	BasePoint      Point
	XrefName       string
	Entities       []Entity
	Description    string
	// contains filtered or unexported fields
}

func NewBlock

func NewBlock() *Block

type BlockRecord

type BlockRecord struct {
	Name           string
	LayoutHandle   string
	InsertionUnits Units
	Explodability  bool
	Scalability    bool
	// contains filtered or unexported fields
}

func NewBlockRecord

func NewBlockRecord() *BlockRecord

func (*BlockRecord) Handle

func (this *BlockRecord) Handle() Handle

func (*BlockRecord) SetHandle

func (this *BlockRecord) SetHandle(val Handle)

type Body

type Body struct {
	FormatVersionNumber int16
	CustomData          []string
	CustomData2         []string
	// contains filtered or unexported fields
}

func NewBody

func NewBody() *Body

func (*Body) AddCustomData

func (this *Body) AddCustomData(val string)

func (*Body) AddCustomData2

func (this *Body) AddCustomData2(val string)

func (*Body) ClearCustomData

func (this *Body) ClearCustomData()

func (*Body) ClearCustomData2

func (this *Body) ClearCustomData2()

func (*Body) Color

func (this *Body) Color() Color

func (*Body) Color24Bit

func (this *Body) Color24Bit() int

func (*Body) ColorName

func (this *Body) ColorName() string

func (*Body) Elevation

func (this *Body) Elevation() float64

func (*Body) Handle

func (this *Body) Handle() Handle

func (*Body) ImageByteCount

func (this *Body) ImageByteCount() int

func (*Body) IsInPaperSpace

func (this *Body) IsInPaperSpace() bool

func (*Body) IsVisible

func (this *Body) IsVisible() bool

func (*Body) Layer

func (this *Body) Layer() string

func (*Body) LineTypeName

func (this *Body) LineTypeName() string

func (*Body) LineTypeScale

func (this *Body) LineTypeScale() float64

func (*Body) LineWeight

func (this *Body) LineWeight() LineWeight

func (*Body) MaterialHandle

func (this *Body) MaterialHandle() string

func (*Body) Owner

func (e *Body) Owner() *DrawingItem

func (*Body) PlotStyle

func (e *Body) PlotStyle() *DrawingItem

func (*Body) PreviewImageData

func (this *Body) PreviewImageData() []string

func (*Body) SetColor

func (this *Body) SetColor(val Color)

func (*Body) SetColor24Bit

func (this *Body) SetColor24Bit(val int)

func (*Body) SetColorName

func (this *Body) SetColorName(val string)

func (*Body) SetElevation

func (this *Body) SetElevation(val float64)

func (*Body) SetHandle

func (this *Body) SetHandle(val Handle)

func (*Body) SetImageByteCount

func (this *Body) SetImageByteCount(val int)

func (*Body) SetIsInPaperSpace

func (this *Body) SetIsInPaperSpace(val bool)

func (*Body) SetIsVisible

func (this *Body) SetIsVisible(val bool)

func (*Body) SetLayer

func (this *Body) SetLayer(val string)

func (*Body) SetLineTypeName

func (this *Body) SetLineTypeName(val string)

func (*Body) SetLineTypeScale

func (this *Body) SetLineTypeScale(val float64)

func (*Body) SetLineWeight

func (this *Body) SetLineWeight(val LineWeight)

func (*Body) SetMaterialHandle

func (this *Body) SetMaterialHandle(val string)

func (*Body) SetOwner

func (e *Body) SetOwner(val *DrawingItem)

func (*Body) SetPlotStyle

func (e *Body) SetPlotStyle(val *DrawingItem)

func (*Body) SetPreviewImageData

func (this *Body) SetPreviewImageData(val []string)

func (*Body) SetShadowMode

func (this *Body) SetShadowMode(val ShadowMode)

func (*Body) SetTransparency

func (this *Body) SetTransparency(val int)

func (*Body) ShadowMode

func (this *Body) ShadowMode() ShadowMode

func (*Body) Transparency

func (this *Body) Transparency() int

type BoolCodePairValue

type BoolCodePairValue struct {
	Value bool
}

BoolCodePairValue represents a boolean code pair value.

type Circle

type Circle struct {
	Thickness float64
	Center    Point
	Radius    float64
	Normal    Vector
	// contains filtered or unexported fields
}

func NewCircle

func NewCircle() *Circle

func (*Circle) Color

func (this *Circle) Color() Color

func (*Circle) Color24Bit

func (this *Circle) Color24Bit() int

func (*Circle) ColorName

func (this *Circle) ColorName() string

func (*Circle) Elevation

func (this *Circle) Elevation() float64

func (*Circle) Handle

func (this *Circle) Handle() Handle

func (*Circle) ImageByteCount

func (this *Circle) ImageByteCount() int

func (*Circle) IsInPaperSpace

func (this *Circle) IsInPaperSpace() bool

func (*Circle) IsVisible

func (this *Circle) IsVisible() bool

func (*Circle) Layer

func (this *Circle) Layer() string

func (*Circle) LineTypeName

func (this *Circle) LineTypeName() string

func (*Circle) LineTypeScale

func (this *Circle) LineTypeScale() float64

func (*Circle) LineWeight

func (this *Circle) LineWeight() LineWeight

func (*Circle) MaterialHandle

func (this *Circle) MaterialHandle() string

func (*Circle) Owner

func (e *Circle) Owner() *DrawingItem

func (*Circle) PlotStyle

func (e *Circle) PlotStyle() *DrawingItem

func (*Circle) PreviewImageData

func (this *Circle) PreviewImageData() []string

func (*Circle) SetColor

func (this *Circle) SetColor(val Color)

func (*Circle) SetColor24Bit

func (this *Circle) SetColor24Bit(val int)

func (*Circle) SetColorName

func (this *Circle) SetColorName(val string)

func (*Circle) SetElevation

func (this *Circle) SetElevation(val float64)

func (*Circle) SetHandle

func (this *Circle) SetHandle(val Handle)

func (*Circle) SetImageByteCount

func (this *Circle) SetImageByteCount(val int)

func (*Circle) SetIsInPaperSpace

func (this *Circle) SetIsInPaperSpace(val bool)

func (*Circle) SetIsVisible

func (this *Circle) SetIsVisible(val bool)

func (*Circle) SetLayer

func (this *Circle) SetLayer(val string)

func (*Circle) SetLineTypeName

func (this *Circle) SetLineTypeName(val string)

func (*Circle) SetLineTypeScale

func (this *Circle) SetLineTypeScale(val float64)

func (*Circle) SetLineWeight

func (this *Circle) SetLineWeight(val LineWeight)

func (*Circle) SetMaterialHandle

func (this *Circle) SetMaterialHandle(val string)

func (*Circle) SetOwner

func (e *Circle) SetOwner(val *DrawingItem)

func (*Circle) SetPlotStyle

func (e *Circle) SetPlotStyle(val *DrawingItem)

func (*Circle) SetPreviewImageData

func (this *Circle) SetPreviewImageData(val []string)

func (*Circle) SetShadowMode

func (this *Circle) SetShadowMode(val ShadowMode)

func (*Circle) SetTransparency

func (this *Circle) SetTransparency(val int)

func (*Circle) ShadowMode

func (this *Circle) ShadowMode() ShadowMode

func (*Circle) Transparency

func (this *Circle) Transparency() int

type CodePair

type CodePair struct {
	Code  int
	Value CodePairValue
}

CodePair represents a code and value pair from a DXF drawing.

func NewBoolCodePair

func NewBoolCodePair(code int, value bool) CodePair

NewBoolCodePair creates a code pair representing a boolean value.

func NewDoubleCodePair

func NewDoubleCodePair(code int, value float64) CodePair

NewDoubleCodePair creates a code pair representing a floating point value.

func NewIntCodePair

func NewIntCodePair(code int, value int) CodePair

NewIntCodePair creates a code pair representing an integer value.

func NewLongCodePair

func NewLongCodePair(code int, value int64) CodePair

NewLongCodePair creates a code pair representing a long integer value.

func NewShortCodePair

func NewShortCodePair(code int, value int16) CodePair

NewShortCodePair creates a code pair representing a short integer value.

func NewStringCodePair

func NewStringCodePair(code int, value string) CodePair

NewStringCodePair creates a code pair representing a string value.

func (*CodePair) String

func (pair *CodePair) String() string

type CodePairValue

type CodePairValue interface {
}

CodePairValue represents a value in a single code pair.

func NewBoolCodePairValue

func NewBoolCodePairValue(value bool) CodePairValue

NewBoolCodePairValue creates a boolean code pair value.

func NewDoubleCodePairValue

func NewDoubleCodePairValue(value float64) CodePairValue

NewDoubleCodePairValue creates a floating point code pair value.

func NewIntCodePairValue

func NewIntCodePairValue(value int) CodePairValue

NewIntCodePairValue creates an integer code pair value.

func NewLongCodePairValue

func NewLongCodePairValue(value int64) CodePairValue

NewLongCodePairValue creates a long integer code pair value.

func NewShortCodePairValue

func NewShortCodePairValue(value int16) CodePairValue

NewShortCodePairValue creates a short integer code pair value.

func NewStringCodePairValue

func NewStringCodePairValue(value string) CodePairValue

NewStringCodePairValue creates a string code pair value.

type Color

type Color int16

Color represents a color present in a DXF drawing.

func ByBlock

func ByBlock() Color

ByBlock creates a color that inherits from the item's block.

func ByEntity

func ByEntity() Color

ByEntity creates a color that inherits from the item's entity.

func ByLayer

func ByLayer() Color

ByLayer creates a color that inherits from the item's layer color.

func (*Color) ByBlock

func (c *Color) ByBlock() bool

ByBlock returns true if the color is inherited from the item's block.

func (*Color) ByEntity

func (c *Color) ByEntity() bool

ByEntity returns true if the color is inherited from the item's entity.

func (*Color) ByLayer

func (c *Color) ByLayer() bool

ByLayer returns true if the color is inherited from the item's layer.

func (*Color) SetByBlock

func (c *Color) SetByBlock()

SetByBlock sets the color to inherit from the item's block.

func (*Color) SetByEntity

func (c *Color) SetByEntity()

SetByEntity sets the color to inherit from the item's entity.

func (*Color) SetByLayer

func (c *Color) SetByLayer()

SetByLayer sets the color to inherit from the item's layer.

func (*Color) String

func (c *Color) String() string

func (*Color) TurnOff

func (c *Color) TurnOff()

TurnOff sets the color to be disabled.

func (*Color) TurnedOff

func (c *Color) TurnedOff() bool

TurnedOff returns true if the item's color is disabled.

type ControlPoint

type ControlPoint struct {
	Point  Point
	Weight float64
}

ControlPoint represents a control point of a Spline

func NewControlPoint

func NewControlPoint() *ControlPoint

NewControlPoint creates a new ControlPoint for a Spline

type CoordinateDisplay

type CoordinateDisplay int16
const (
	CoordinateDisplayStatic CoordinateDisplay = iota
	CoordinateDisplayContinuousUpdate
	CoordinateDisplayDistanceAngleFormat
)

func (CoordinateDisplay) String

func (this CoordinateDisplay) String() string

type DefaultLightingType

type DefaultLightingType int16
const (
	DefaultLightingTypeOneDistantLight DefaultLightingType = iota
	DefaultLightingTypeTwoDistanceLights
)

func (DefaultLightingType) String

func (this DefaultLightingType) String() string

type DgnUnderlay

type DgnUnderlay struct {
	// contains filtered or unexported fields
}

func NewDgnUnderlay

func NewDgnUnderlay() *DgnUnderlay

func (*DgnUnderlay) BoundaryPoints

func (this *DgnUnderlay) BoundaryPoints() []Point

func (*DgnUnderlay) Color

func (this *DgnUnderlay) Color() Color

func (*DgnUnderlay) Color24Bit

func (this *DgnUnderlay) Color24Bit() int

func (*DgnUnderlay) ColorName

func (this *DgnUnderlay) ColorName() string

func (*DgnUnderlay) Contrast

func (this *DgnUnderlay) Contrast() int16

func (*DgnUnderlay) Elevation

func (this *DgnUnderlay) Elevation() float64

func (*DgnUnderlay) Fade

func (this *DgnUnderlay) Fade() int16

func (*DgnUnderlay) Flags

func (this *DgnUnderlay) Flags() int

func (*DgnUnderlay) Handle

func (this *DgnUnderlay) Handle() Handle

func (*DgnUnderlay) ImageByteCount

func (this *DgnUnderlay) ImageByteCount() int

func (*DgnUnderlay) InsertionPoint

func (this *DgnUnderlay) InsertionPoint() Point

func (*DgnUnderlay) IsInPaperSpace

func (this *DgnUnderlay) IsInPaperSpace() bool

func (*DgnUnderlay) IsVisible

func (this *DgnUnderlay) IsVisible() bool

func (*DgnUnderlay) Layer

func (this *DgnUnderlay) Layer() string

func (*DgnUnderlay) LineTypeName

func (this *DgnUnderlay) LineTypeName() string

func (*DgnUnderlay) LineTypeScale

func (this *DgnUnderlay) LineTypeScale() float64

func (*DgnUnderlay) LineWeight

func (this *DgnUnderlay) LineWeight() LineWeight

func (*DgnUnderlay) MaterialHandle

func (this *DgnUnderlay) MaterialHandle() string

func (*DgnUnderlay) Normal

func (this *DgnUnderlay) Normal() Vector

func (*DgnUnderlay) ObjectHandle

func (this *DgnUnderlay) ObjectHandle() string

func (*DgnUnderlay) Owner

func (e *DgnUnderlay) Owner() *DrawingItem

func (*DgnUnderlay) PlotStyle

func (e *DgnUnderlay) PlotStyle() *DrawingItem

func (*DgnUnderlay) PreviewImageData

func (this *DgnUnderlay) PreviewImageData() []string

func (*DgnUnderlay) RotationAngle

func (this *DgnUnderlay) RotationAngle() float64

func (*DgnUnderlay) SetBoundaryPoints

func (this *DgnUnderlay) SetBoundaryPoints(val []Point)

func (*DgnUnderlay) SetColor

func (this *DgnUnderlay) SetColor(val Color)

func (*DgnUnderlay) SetColor24Bit

func (this *DgnUnderlay) SetColor24Bit(val int)

func (*DgnUnderlay) SetColorName

func (this *DgnUnderlay) SetColorName(val string)

func (*DgnUnderlay) SetContrast

func (this *DgnUnderlay) SetContrast(val int16)

func (*DgnUnderlay) SetElevation

func (this *DgnUnderlay) SetElevation(val float64)

func (*DgnUnderlay) SetFade

func (this *DgnUnderlay) SetFade(val int16)

func (*DgnUnderlay) SetFlags

func (this *DgnUnderlay) SetFlags(val int)

func (*DgnUnderlay) SetHandle

func (this *DgnUnderlay) SetHandle(val Handle)

func (*DgnUnderlay) SetImageByteCount

func (this *DgnUnderlay) SetImageByteCount(val int)

func (*DgnUnderlay) SetInsertionPoint

func (this *DgnUnderlay) SetInsertionPoint(val Point)

func (*DgnUnderlay) SetIsInPaperSpace

func (this *DgnUnderlay) SetIsInPaperSpace(val bool)

func (*DgnUnderlay) SetIsVisible

func (this *DgnUnderlay) SetIsVisible(val bool)

func (*DgnUnderlay) SetLayer

func (this *DgnUnderlay) SetLayer(val string)

func (*DgnUnderlay) SetLineTypeName

func (this *DgnUnderlay) SetLineTypeName(val string)

func (*DgnUnderlay) SetLineTypeScale

func (this *DgnUnderlay) SetLineTypeScale(val float64)

func (*DgnUnderlay) SetLineWeight

func (this *DgnUnderlay) SetLineWeight(val LineWeight)

func (*DgnUnderlay) SetMaterialHandle

func (this *DgnUnderlay) SetMaterialHandle(val string)

func (*DgnUnderlay) SetNormal

func (this *DgnUnderlay) SetNormal(val Vector)

func (*DgnUnderlay) SetObjectHandle

func (this *DgnUnderlay) SetObjectHandle(val string)

func (*DgnUnderlay) SetOwner

func (e *DgnUnderlay) SetOwner(val *DrawingItem)

func (*DgnUnderlay) SetPlotStyle

func (e *DgnUnderlay) SetPlotStyle(val *DrawingItem)

func (*DgnUnderlay) SetPreviewImageData

func (this *DgnUnderlay) SetPreviewImageData(val []string)

func (*DgnUnderlay) SetRotationAngle

func (this *DgnUnderlay) SetRotationAngle(val float64)

func (*DgnUnderlay) SetShadowMode

func (this *DgnUnderlay) SetShadowMode(val ShadowMode)

func (*DgnUnderlay) SetTransparency

func (this *DgnUnderlay) SetTransparency(val int)

func (*DgnUnderlay) SetXScale

func (this *DgnUnderlay) SetXScale(val float64)

func (*DgnUnderlay) SetYScale

func (this *DgnUnderlay) SetYScale(val float64)

func (*DgnUnderlay) SetZScale

func (this *DgnUnderlay) SetZScale(val float64)

func (*DgnUnderlay) SetpointX

func (this *DgnUnderlay) SetpointX(val []float64)

func (*DgnUnderlay) SetpointY

func (this *DgnUnderlay) SetpointY(val []float64)

func (*DgnUnderlay) ShadowMode

func (this *DgnUnderlay) ShadowMode() ShadowMode

func (*DgnUnderlay) Transparency

func (this *DgnUnderlay) Transparency() int

func (*DgnUnderlay) XScale

func (this *DgnUnderlay) XScale() float64

func (*DgnUnderlay) YScale

func (this *DgnUnderlay) YScale() float64

func (*DgnUnderlay) ZScale

func (this *DgnUnderlay) ZScale() float64

type DiameterDimension

type DiameterDimension struct {
	DefinitionPoint2 Point
	LeaderLength     float64
	// contains filtered or unexported fields
}

func NewDiameterDimension

func NewDiameterDimension() *DiameterDimension

func (*DiameterDimension) ActualMeasurement

func (this *DiameterDimension) ActualMeasurement() float64

func (*DiameterDimension) AttachmentPoint

func (this *DiameterDimension) AttachmentPoint() AttachmentPoint

func (*DiameterDimension) BlockName

func (this *DiameterDimension) BlockName() string

func (*DiameterDimension) Color

func (this *DiameterDimension) Color() Color

func (*DiameterDimension) Color24Bit

func (this *DiameterDimension) Color24Bit() int

func (*DiameterDimension) ColorName

func (this *DiameterDimension) ColorName() string

func (*DiameterDimension) DefinitionPoint1

func (this *DiameterDimension) DefinitionPoint1() Point

func (*DiameterDimension) DimensionStyleName

func (this *DiameterDimension) DimensionStyleName() string

func (*DiameterDimension) DimensionType

func (this *DiameterDimension) DimensionType() DimensionType

func (*DiameterDimension) Elevation

func (this *DiameterDimension) Elevation() float64

func (*DiameterDimension) Handle

func (this *DiameterDimension) Handle() Handle

func (*DiameterDimension) HorizontalDirectionAngle

func (this *DiameterDimension) HorizontalDirectionAngle() float64

func (*DiameterDimension) ImageByteCount

func (this *DiameterDimension) ImageByteCount() int

func (*DiameterDimension) IsInPaperSpace

func (this *DiameterDimension) IsInPaperSpace() bool

func (*DiameterDimension) IsVisible

func (this *DiameterDimension) IsVisible() bool

func (*DiameterDimension) Layer

func (this *DiameterDimension) Layer() string

func (*DiameterDimension) LineTypeName

func (this *DiameterDimension) LineTypeName() string

func (*DiameterDimension) LineTypeScale

func (this *DiameterDimension) LineTypeScale() float64

func (*DiameterDimension) LineWeight

func (this *DiameterDimension) LineWeight() LineWeight

func (*DiameterDimension) MaterialHandle

func (this *DiameterDimension) MaterialHandle() string

func (*DiameterDimension) Normal

func (this *DiameterDimension) Normal() Vector

func (*DiameterDimension) Owner

func (e *DiameterDimension) Owner() *DrawingItem

func (*DiameterDimension) PlotStyle

func (e *DiameterDimension) PlotStyle() *DrawingItem

func (*DiameterDimension) PreviewImageData

func (this *DiameterDimension) PreviewImageData() []string

func (*DiameterDimension) SetActualMeasurement

func (this *DiameterDimension) SetActualMeasurement(val float64)

func (*DiameterDimension) SetAttachmentPoint

func (this *DiameterDimension) SetAttachmentPoint(val AttachmentPoint)

func (*DiameterDimension) SetBlockName

func (this *DiameterDimension) SetBlockName(val string)

func (*DiameterDimension) SetColor

func (this *DiameterDimension) SetColor(val Color)

func (*DiameterDimension) SetColor24Bit

func (this *DiameterDimension) SetColor24Bit(val int)

func (*DiameterDimension) SetColorName

func (this *DiameterDimension) SetColorName(val string)

func (*DiameterDimension) SetDefinitionPoint1

func (this *DiameterDimension) SetDefinitionPoint1(val Point)

func (*DiameterDimension) SetDimensionStyleName

func (this *DiameterDimension) SetDimensionStyleName(val string)

func (*DiameterDimension) SetDimensionType

func (this *DiameterDimension) SetDimensionType(val DimensionType)

func (*DiameterDimension) SetElevation

func (this *DiameterDimension) SetElevation(val float64)

func (*DiameterDimension) SetHandle

func (this *DiameterDimension) SetHandle(val Handle)

func (*DiameterDimension) SetHorizontalDirectionAngle

func (this *DiameterDimension) SetHorizontalDirectionAngle(val float64)

func (*DiameterDimension) SetImageByteCount

func (this *DiameterDimension) SetImageByteCount(val int)

func (*DiameterDimension) SetIsInPaperSpace

func (this *DiameterDimension) SetIsInPaperSpace(val bool)

func (*DiameterDimension) SetIsVisible

func (this *DiameterDimension) SetIsVisible(val bool)

func (*DiameterDimension) SetLayer

func (this *DiameterDimension) SetLayer(val string)

func (*DiameterDimension) SetLineTypeName

func (this *DiameterDimension) SetLineTypeName(val string)

func (*DiameterDimension) SetLineTypeScale

func (this *DiameterDimension) SetLineTypeScale(val float64)

func (*DiameterDimension) SetLineWeight

func (this *DiameterDimension) SetLineWeight(val LineWeight)

func (*DiameterDimension) SetMaterialHandle

func (this *DiameterDimension) SetMaterialHandle(val string)

func (*DiameterDimension) SetNormal

func (this *DiameterDimension) SetNormal(val Vector)

func (*DiameterDimension) SetOwner

func (e *DiameterDimension) SetOwner(val *DrawingItem)

func (*DiameterDimension) SetPlotStyle

func (e *DiameterDimension) SetPlotStyle(val *DrawingItem)

func (*DiameterDimension) SetPreviewImageData

func (this *DiameterDimension) SetPreviewImageData(val []string)

func (*DiameterDimension) SetShadowMode

func (this *DiameterDimension) SetShadowMode(val ShadowMode)

func (*DiameterDimension) SetText

func (this *DiameterDimension) SetText(val string)

func (*DiameterDimension) SetTextLineSpacingFactor

func (this *DiameterDimension) SetTextLineSpacingFactor(val float64)

func (*DiameterDimension) SetTextLineSpacingStyle

func (this *DiameterDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*DiameterDimension) SetTextMidPoint

func (this *DiameterDimension) SetTextMidPoint(val Point)

func (*DiameterDimension) SetTextRotationAngle

func (this *DiameterDimension) SetTextRotationAngle(val float64)

func (*DiameterDimension) SetTransparency

func (this *DiameterDimension) SetTransparency(val int)

func (*DiameterDimension) SetVersion

func (this *DiameterDimension) SetVersion(val Version)

func (*DiameterDimension) ShadowMode

func (this *DiameterDimension) ShadowMode() ShadowMode

func (*DiameterDimension) Text

func (this *DiameterDimension) Text() string

func (*DiameterDimension) TextLineSpacingFactor

func (this *DiameterDimension) TextLineSpacingFactor() float64

func (*DiameterDimension) TextLineSpacingStyle

func (this *DiameterDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*DiameterDimension) TextMidPoint

func (this *DiameterDimension) TextMidPoint() Point

func (*DiameterDimension) TextRotationAngle

func (this *DiameterDimension) TextRotationAngle() float64

func (*DiameterDimension) Transparency

func (this *DiameterDimension) Transparency() int

func (*DiameterDimension) Version

func (this *DiameterDimension) Version() Version

type DimStyle

type DimStyle struct {
	Name                                            string
	Flags                                           int
	DimensioningSuffix                              string
	AlternateDimensioningSuffix                     string
	ArrowBlockName                                  string
	FirstArrowBlockName                             string
	SecondArrowBlockName                            string
	DimensioningScaleFactor                         float64
	DimensioningArrowSize                           float64
	DimensionExtensionLineOffset                    float64
	DimensionLineIncrement                          float64
	DimensionExtensionLineIncrement                 float64
	DimensionDistanceRoundingValue                  float64
	DimensionLineExtension                          float64
	DimensionPlusTolerance                          float64
	DimensionMinusTolerance                         float64
	GenerateDimensionTolerances                     bool
	GenerateDimensionLimits                         bool
	DimensionTextInsideHorizontal                   bool
	DimensionTextOutsideHorizontal                  bool
	SuppressFirstDimensionExtensionLine             bool
	SuppressSecondDimensionExtensionLine            bool
	TextAboveDimensionLine                          bool
	DimensionUnitZeroSuppression                    UnitZeroSuppression
	DimensionAngleZeroSuppression                   UnitZeroSuppression
	DimensioningTextHeight                          float64
	CenterMarkSize                                  float64
	DimensioningTickSize                            float64
	AlternateDimensioningScaleFactor                float64
	DimensionLinearMeasurementScaleFactor           float64
	DimensionVerticalTextPosition                   float64
	DimensionToleranceDisplaceScaleFactor           float64
	DimensionLineGap                                float64
	AlternateDimensioningUnitRounding               float64
	UseAlternateDimensioning                        bool
	AlternateDimensioningDecimalPlaces              int16
	ForceDimensionLineExtensionsOutsideIfTextExists bool
	UseSeparateArrowBlocksForDimensions             bool
	ForceDimensionTextInsideExtensions              bool
	SuppressOutsideExtensionDimensionLines          bool
	DimensionLineColor                              Color
	DimensionExtensionLineColor                     Color
	DimensionTextColor                              Color
	AngularDimensionPrecision                       int16
	DimensionUnitFormat                             UnitFormat
	DimensionUnitToleranceDecimalPlaces             int16
	DimensionToleraceDecimalPlaces                  int16
	AlternateDimensioningUnits                      UnitFormat
	AlternateDimensioningToleranceDecimalPlaces     int16
	DimensioningAngleFormat                         AngleFormat
	DimensionPrecision                              int16
	DimensionNonAngularUnits                        NonAngularUnits
	DimensionDecilamSeparatorChar                   rune
	DimensionTextMovementRule                       DimensionTextMovementRule
	DimensionTextJustification                      DimensionTextJustification
	DimensionToleranceVerticalJustification         Justification
	DimensionToleranceZeroSuppression               UnitZeroSuppression
	AlternateDimensioningZeroSuppression            UnitZeroSuppression
	AlternateDimensioningToleranceZeroSuppression   UnitZeroSuppression
	DimensionTextAndArrowPlacement                  DimensionFit
	DimensionCursorControlsTextPosition             bool
	DimensionTextStyle                              string
	DimensionLeaderBlockName                        string
	DimensionLineWeight                             LineWeight
	DimensionExtensionLineWeight                    LineWeight
	// contains filtered or unexported fields
}

func NewDimStyle

func NewDimStyle() *DimStyle

func (*DimStyle) Handle

func (this *DimStyle) Handle() Handle

func (*DimStyle) SetHandle

func (this *DimStyle) SetHandle(val Handle)

type Dimension

type Dimension interface {
	Version() Version
	SetVersion(val Version)
	BlockName() string
	SetBlockName(val string)
	DefinitionPoint1() Point
	SetDefinitionPoint1(val Point)
	TextMidPoint() Point
	SetTextMidPoint(val Point)
	DimensionType() DimensionType
	SetDimensionType(val DimensionType)
	AttachmentPoint() AttachmentPoint
	SetAttachmentPoint(val AttachmentPoint)
	TextLineSpacingStyle() TextLineSpacingStyle
	SetTextLineSpacingStyle(val TextLineSpacingStyle)
	TextLineSpacingFactor() float64
	SetTextLineSpacingFactor(val float64)
	ActualMeasurement() float64
	SetActualMeasurement(val float64)
	Text() string
	SetText(val string)
	TextRotationAngle() float64
	SetTextRotationAngle(val float64)
	HorizontalDirectionAngle() float64
	SetHorizontalDirectionAngle(val float64)
	Normal() Vector
	SetNormal(val Vector)
	DimensionStyleName() string
	SetDimensionStyleName(val string)
}

type DimensionArcSymbolDisplayMode

type DimensionArcSymbolDisplayMode int16
const (
	DimensionArcSymbolDisplayModeSymbolBeforeText DimensionArcSymbolDisplayMode = iota
	DimensionArcSymbolDisplayModeSymbolAboveText
	DimensionArcSymbolDisplayModeSuppress
)

func (DimensionArcSymbolDisplayMode) String

func (this DimensionArcSymbolDisplayMode) String() string

type DimensionAssociativity

type DimensionAssociativity int16
const (
	DimensionAssociativityNoAssociationExploded DimensionAssociativity = iota
	DimensionAssociativityNonAssociativeObjects
	DimensionAssociativityAssociativeObjects
)

func (DimensionAssociativity) String

func (this DimensionAssociativity) String() string

type DimensionFit

type DimensionFit int16
const (
	DimensionFitTextAndArrowsOutsideLines DimensionFit = iota
	DimensionFitMoveArrowsFirst
	DimensionFitMoveTextFirst
	DimensionFitMoveEitherForBestFit
)

func (DimensionFit) String

func (this DimensionFit) String() string

type DimensionFractionFormat

type DimensionFractionFormat int16
const (
	DimensionFractionFormatHorizontalStacking DimensionFractionFormat = iota
	DimensionFractionFormatDiagonalStacking
	DimensionFractionFormatNotStacked
)

func (DimensionFractionFormat) String

func (this DimensionFractionFormat) String() string

type DimensionTextBackgroundColorMode

type DimensionTextBackgroundColorMode int16
const (
	DimensionTextBackgroundColorModeNone DimensionTextBackgroundColorMode = iota
	DimensionTextBackgroundColorModeUseDrawingBackground
	DimensionTextBackgroundColorModeCustom
)

func (DimensionTextBackgroundColorMode) String

type DimensionTextJustification

type DimensionTextJustification int16
const (
	DimensionTextJustificationAboveLineCenter DimensionTextJustification = iota
	DimensionTextJustificationAboveLineNextToFirstExtension
	DimensionTextJustificationAboveLineNextToSecondExtension
	DimensionTextJustificationAboveLineCenteredOnFirstExtension
	DimensionTextJustificationAboveLineCenteredOnSecondExtension
)

func (DimensionTextJustification) String

func (this DimensionTextJustification) String() string

type DimensionTextMovementRule

type DimensionTextMovementRule int16
const (
	DimensionTextMovementRuleMoveLineWithText DimensionTextMovementRule = iota
	DimensionTextMovementRuleAddLeaderWhenTextIsMoved
	DimensionTextMovementRuleMoveTextFreely
)

func (DimensionTextMovementRule) String

func (this DimensionTextMovementRule) String() string

type DimensionType

type DimensionType int16
const (
	DimensionTypeRotatedHorizontalOrVertical DimensionType = iota
	DimensionTypeAligned
	DimensionTypeAngular
	DimensionTypeDiameter
	DimensionTypeRadius
	DimensionTypeAngularThreePoint
	DimensionTypeOrdinate
)

func (DimensionType) String

func (this DimensionType) String() string

type DoubleCodePairValue

type DoubleCodePairValue struct {
	Value float64
}

DoubleCodePairValue represents a floating point code pair value.

type DragMode

type DragMode int16
const (
	DragModeOff DragMode = iota
	DragModeOn
	DragModeAuto
)

func (DragMode) String

func (this DragMode) String() string

type Drawing

type Drawing struct {
	Header Header

	AppIds       []AppId
	BlockRecords []BlockRecord
	DimStyles    []DimStyle
	Layers       []Layer
	LineTypes    []LineType
	Styles       []Style
	Ucss         []Ucs
	Views        []View
	ViewPorts    []ViewPort

	Blocks []Block

	Entities []Entity
	// contains filtered or unexported fields
}

The Drawing struct represents a complete DXF drawing.

func NewDrawing

func NewDrawing() *Drawing

NewDrawing returns a new, fully initialized drawing.

func ParseDrawing

func ParseDrawing(content string) (Drawing, error)

ParseDrawing returns a drawing as parsed from a `string`.

func ParseDrawingFromCodePairs

func ParseDrawingFromCodePairs(codePairs ...CodePair) (Drawing, error)

ParseDrawingFromCodePairs returns a drawing as parsed from a sequence of `CodePair`.

func ReadFile

func ReadFile(path string) (Drawing, error)

ReadFile reads a DXF drawing from the specified path.

func ReadFromReader

func ReadFromReader(reader io.Reader) (drawing Drawing, err error)

ReadFromReader reads a DXF drawing from the specified io.Reader.

func ReadFromReaderWithEncoding

func ReadFromReaderWithEncoding(reader io.Reader, e encoding.Encoding) (drawing Drawing, err error)

ReadFromReaderWithEncoding reads a DXF drawing from the specified io.Reader with the specified default text encoding.

func (*Drawing) CodePairs

func (d *Drawing) CodePairs() (codePairs []CodePair, err error)

CodePairs returns the series of `CodePair` that represents the drawing.

func (*Drawing) GetItemByHandle

func (d *Drawing) GetItemByHandle(h Handle) (item *DrawingItem, err error)

GetItemByHandle gets a `DrawingItem` with the appropriate handle.

func (*Drawing) Normalize

func (d *Drawing) Normalize()

func (*Drawing) SaveFile

func (d *Drawing) SaveFile(path string) error

SaveFile writes the current drawing to the specified path.

func (*Drawing) SaveFileBinary

func (d *Drawing) SaveFileBinary(path string) error

SaveFileBinary writes the current drawing to the specified path as a binary DXF.

func (*Drawing) SaveToWriter

func (d *Drawing) SaveToWriter(writer io.Writer) error

SaveToWriter writes the current drawing to the specified io.Writer.

func (*Drawing) SaveToWriterBinary

func (d *Drawing) SaveToWriterBinary(writer io.Writer) error

SaveToWriterBinary writes the current drawing to the specified io.Writer as a binary DXF.

func (*Drawing) String

func (d *Drawing) String() string

type DrawingDirection

type DrawingDirection int16
const (
	DrawingDirectionLeftToRight DrawingDirection = 1
	DrawingDirectionTopToBottom DrawingDirection = 3
	DrawingDirectionByStyle     DrawingDirection = 5
)

func (DrawingDirection) String

func (this DrawingDirection) String() string

type DrawingItem

type DrawingItem interface {
	Handle() Handle
	SetHandle(h Handle)
	Owner() *DrawingItem
	SetOwner(val *DrawingItem)
}

DrawingItem represents an item in a DXF drawing that has a `Handle` value.

type DrawingUnits

type DrawingUnits int16
const (
	DrawingUnitsEnglish DrawingUnits = iota
	DrawingUnitsMetric
)

func (DrawingUnits) String

func (this DrawingUnits) String() string

type Dwf3DPrecision

type Dwf3DPrecision int16
const (
	Dwf3DPrecision_ Dwf3DPrecision = iota
	Dwf3DPrecisionDeviation1
	Dwf3DPrecisionDeviation0_5
	Dwf3DPrecisionDeviation0_2
	Dwf3DPrecisionDeviation0_1
	Dwf3DPrecisionDeviation0_01
	Dwf3DPrecisionDeviation0_001
)

func (Dwf3DPrecision) String

func (this Dwf3DPrecision) String() string

type DwfUnderlay

type DwfUnderlay struct {
	// contains filtered or unexported fields
}

func NewDwfUnderlay

func NewDwfUnderlay() *DwfUnderlay

func (*DwfUnderlay) BoundaryPoints

func (this *DwfUnderlay) BoundaryPoints() []Point

func (*DwfUnderlay) Color

func (this *DwfUnderlay) Color() Color

func (*DwfUnderlay) Color24Bit

func (this *DwfUnderlay) Color24Bit() int

func (*DwfUnderlay) ColorName

func (this *DwfUnderlay) ColorName() string

func (*DwfUnderlay) Contrast

func (this *DwfUnderlay) Contrast() int16

func (*DwfUnderlay) Elevation

func (this *DwfUnderlay) Elevation() float64

func (*DwfUnderlay) Fade

func (this *DwfUnderlay) Fade() int16

func (*DwfUnderlay) Flags

func (this *DwfUnderlay) Flags() int

func (*DwfUnderlay) Handle

func (this *DwfUnderlay) Handle() Handle

func (*DwfUnderlay) ImageByteCount

func (this *DwfUnderlay) ImageByteCount() int

func (*DwfUnderlay) InsertionPoint

func (this *DwfUnderlay) InsertionPoint() Point

func (*DwfUnderlay) IsInPaperSpace

func (this *DwfUnderlay) IsInPaperSpace() bool

func (*DwfUnderlay) IsVisible

func (this *DwfUnderlay) IsVisible() bool

func (*DwfUnderlay) Layer

func (this *DwfUnderlay) Layer() string

func (*DwfUnderlay) LineTypeName

func (this *DwfUnderlay) LineTypeName() string

func (*DwfUnderlay) LineTypeScale

func (this *DwfUnderlay) LineTypeScale() float64

func (*DwfUnderlay) LineWeight

func (this *DwfUnderlay) LineWeight() LineWeight

func (*DwfUnderlay) MaterialHandle

func (this *DwfUnderlay) MaterialHandle() string

func (*DwfUnderlay) Normal

func (this *DwfUnderlay) Normal() Vector

func (*DwfUnderlay) ObjectHandle

func (this *DwfUnderlay) ObjectHandle() string

func (*DwfUnderlay) Owner

func (e *DwfUnderlay) Owner() *DrawingItem

func (*DwfUnderlay) PlotStyle

func (e *DwfUnderlay) PlotStyle() *DrawingItem

func (*DwfUnderlay) PreviewImageData

func (this *DwfUnderlay) PreviewImageData() []string

func (*DwfUnderlay) RotationAngle

func (this *DwfUnderlay) RotationAngle() float64

func (*DwfUnderlay) SetBoundaryPoints

func (this *DwfUnderlay) SetBoundaryPoints(val []Point)

func (*DwfUnderlay) SetColor

func (this *DwfUnderlay) SetColor(val Color)

func (*DwfUnderlay) SetColor24Bit

func (this *DwfUnderlay) SetColor24Bit(val int)

func (*DwfUnderlay) SetColorName

func (this *DwfUnderlay) SetColorName(val string)

func (*DwfUnderlay) SetContrast

func (this *DwfUnderlay) SetContrast(val int16)

func (*DwfUnderlay) SetElevation

func (this *DwfUnderlay) SetElevation(val float64)

func (*DwfUnderlay) SetFade

func (this *DwfUnderlay) SetFade(val int16)

func (*DwfUnderlay) SetFlags

func (this *DwfUnderlay) SetFlags(val int)

func (*DwfUnderlay) SetHandle

func (this *DwfUnderlay) SetHandle(val Handle)

func (*DwfUnderlay) SetImageByteCount

func (this *DwfUnderlay) SetImageByteCount(val int)

func (*DwfUnderlay) SetInsertionPoint

func (this *DwfUnderlay) SetInsertionPoint(val Point)

func (*DwfUnderlay) SetIsInPaperSpace

func (this *DwfUnderlay) SetIsInPaperSpace(val bool)

func (*DwfUnderlay) SetIsVisible

func (this *DwfUnderlay) SetIsVisible(val bool)

func (*DwfUnderlay) SetLayer

func (this *DwfUnderlay) SetLayer(val string)

func (*DwfUnderlay) SetLineTypeName

func (this *DwfUnderlay) SetLineTypeName(val string)

func (*DwfUnderlay) SetLineTypeScale

func (this *DwfUnderlay) SetLineTypeScale(val float64)

func (*DwfUnderlay) SetLineWeight

func (this *DwfUnderlay) SetLineWeight(val LineWeight)

func (*DwfUnderlay) SetMaterialHandle

func (this *DwfUnderlay) SetMaterialHandle(val string)

func (*DwfUnderlay) SetNormal

func (this *DwfUnderlay) SetNormal(val Vector)

func (*DwfUnderlay) SetObjectHandle

func (this *DwfUnderlay) SetObjectHandle(val string)

func (*DwfUnderlay) SetOwner

func (e *DwfUnderlay) SetOwner(val *DrawingItem)

func (*DwfUnderlay) SetPlotStyle

func (e *DwfUnderlay) SetPlotStyle(val *DrawingItem)

func (*DwfUnderlay) SetPreviewImageData

func (this *DwfUnderlay) SetPreviewImageData(val []string)

func (*DwfUnderlay) SetRotationAngle

func (this *DwfUnderlay) SetRotationAngle(val float64)

func (*DwfUnderlay) SetShadowMode

func (this *DwfUnderlay) SetShadowMode(val ShadowMode)

func (*DwfUnderlay) SetTransparency

func (this *DwfUnderlay) SetTransparency(val int)

func (*DwfUnderlay) SetXScale

func (this *DwfUnderlay) SetXScale(val float64)

func (*DwfUnderlay) SetYScale

func (this *DwfUnderlay) SetYScale(val float64)

func (*DwfUnderlay) SetZScale

func (this *DwfUnderlay) SetZScale(val float64)

func (*DwfUnderlay) SetpointX

func (this *DwfUnderlay) SetpointX(val []float64)

func (*DwfUnderlay) SetpointY

func (this *DwfUnderlay) SetpointY(val []float64)

func (*DwfUnderlay) ShadowMode

func (this *DwfUnderlay) ShadowMode() ShadowMode

func (*DwfUnderlay) Transparency

func (this *DwfUnderlay) Transparency() int

func (*DwfUnderlay) XScale

func (this *DwfUnderlay) XScale() float64

func (*DwfUnderlay) YScale

func (this *DwfUnderlay) YScale() float64

func (*DwfUnderlay) ZScale

func (this *DwfUnderlay) ZScale() float64

type Ellipse

type Ellipse struct {
	Center         Point
	MajorAxis      Vector
	Normal         Vector
	MinorAxisRatio float64
	StartAngle     float64 // Ellipse start angle in radians.
	EndAngle       float64 // Ellipse end angle in radians.
	// contains filtered or unexported fields
}

func NewEllipse

func NewEllipse() *Ellipse

func (*Ellipse) Color

func (this *Ellipse) Color() Color

func (*Ellipse) Color24Bit

func (this *Ellipse) Color24Bit() int

func (*Ellipse) ColorName

func (this *Ellipse) ColorName() string

func (*Ellipse) Elevation

func (this *Ellipse) Elevation() float64

func (*Ellipse) Handle

func (this *Ellipse) Handle() Handle

func (*Ellipse) ImageByteCount

func (this *Ellipse) ImageByteCount() int

func (*Ellipse) IsInPaperSpace

func (this *Ellipse) IsInPaperSpace() bool

func (*Ellipse) IsVisible

func (this *Ellipse) IsVisible() bool

func (*Ellipse) Layer

func (this *Ellipse) Layer() string

func (*Ellipse) LineTypeName

func (this *Ellipse) LineTypeName() string

func (*Ellipse) LineTypeScale

func (this *Ellipse) LineTypeScale() float64

func (*Ellipse) LineWeight

func (this *Ellipse) LineWeight() LineWeight

func (*Ellipse) MaterialHandle

func (this *Ellipse) MaterialHandle() string

func (*Ellipse) Owner

func (e *Ellipse) Owner() *DrawingItem

func (*Ellipse) PlotStyle

func (e *Ellipse) PlotStyle() *DrawingItem

func (*Ellipse) PreviewImageData

func (this *Ellipse) PreviewImageData() []string

func (*Ellipse) SetColor

func (this *Ellipse) SetColor(val Color)

func (*Ellipse) SetColor24Bit

func (this *Ellipse) SetColor24Bit(val int)

func (*Ellipse) SetColorName

func (this *Ellipse) SetColorName(val string)

func (*Ellipse) SetElevation

func (this *Ellipse) SetElevation(val float64)

func (*Ellipse) SetHandle

func (this *Ellipse) SetHandle(val Handle)

func (*Ellipse) SetImageByteCount

func (this *Ellipse) SetImageByteCount(val int)

func (*Ellipse) SetIsInPaperSpace

func (this *Ellipse) SetIsInPaperSpace(val bool)

func (*Ellipse) SetIsVisible

func (this *Ellipse) SetIsVisible(val bool)

func (*Ellipse) SetLayer

func (this *Ellipse) SetLayer(val string)

func (*Ellipse) SetLineTypeName

func (this *Ellipse) SetLineTypeName(val string)

func (*Ellipse) SetLineTypeScale

func (this *Ellipse) SetLineTypeScale(val float64)

func (*Ellipse) SetLineWeight

func (this *Ellipse) SetLineWeight(val LineWeight)

func (*Ellipse) SetMaterialHandle

func (this *Ellipse) SetMaterialHandle(val string)

func (*Ellipse) SetOwner

func (e *Ellipse) SetOwner(val *DrawingItem)

func (*Ellipse) SetPlotStyle

func (e *Ellipse) SetPlotStyle(val *DrawingItem)

func (*Ellipse) SetPreviewImageData

func (this *Ellipse) SetPreviewImageData(val []string)

func (*Ellipse) SetShadowMode

func (this *Ellipse) SetShadowMode(val ShadowMode)

func (*Ellipse) SetTransparency

func (this *Ellipse) SetTransparency(val int)

func (*Ellipse) ShadowMode

func (this *Ellipse) ShadowMode() ShadowMode

func (*Ellipse) Transparency

func (this *Ellipse) Transparency() int

type EndCapSetting

type EndCapSetting int16
const (
	EndCapSettingNone EndCapSetting = iota
	EndCapSettingRound
	EndCapSettingAngle
	EndCapSettingSquare
)

func (EndCapSetting) String

func (this EndCapSetting) String() string

type Entity

type Entity interface {
	Handle() Handle
	SetHandle(val Handle)
	IsInPaperSpace() bool
	SetIsInPaperSpace(val bool)
	Layer() string
	SetLayer(val string)
	LineTypeName() string
	SetLineTypeName(val string)
	Elevation() float64
	SetElevation(val float64)
	MaterialHandle() string
	SetMaterialHandle(val string)
	Color() Color
	SetColor(val Color)
	LineWeight() LineWeight
	SetLineWeight(val LineWeight)
	LineTypeScale() float64
	SetLineTypeScale(val float64)
	IsVisible() bool
	SetIsVisible(val bool)
	ImageByteCount() int
	SetImageByteCount(val int)
	PreviewImageData() []string
	SetPreviewImageData(val []string)
	Color24Bit() int
	SetColor24Bit(val int)
	ColorName() string
	SetColorName(val string)
	Transparency() int
	SetTransparency(val int)
	ShadowMode() ShadowMode
	SetShadowMode(val ShadowMode)
	Owner() *DrawingItem
	SetOwner(val *DrawingItem)

	PlotStyle() *DrawingItem
	SetPlotStyle(val *DrawingItem)
	// contains filtered or unexported methods
}

type Face

type Face struct {
	FirstCorner  Point
	SecondCorner Point
	ThirdCorner  Point
	FourthCorner Point
	EdgeFlags    int
	// contains filtered or unexported fields
}

func NewFace

func NewFace() *Face

func (*Face) Color

func (this *Face) Color() Color

func (*Face) Color24Bit

func (this *Face) Color24Bit() int

func (*Face) ColorName

func (this *Face) ColorName() string

func (*Face) Elevation

func (this *Face) Elevation() float64

func (*Face) FirstEdgeInvisible

func (this *Face) FirstEdgeInvisible() bool

FirstEdgeInvisible status flag.

func (*Face) FourthEdgeInvisible

func (this *Face) FourthEdgeInvisible() bool

FourthEdgeInvisible status flag.

func (*Face) Handle

func (this *Face) Handle() Handle

func (*Face) ImageByteCount

func (this *Face) ImageByteCount() int

func (*Face) IsInPaperSpace

func (this *Face) IsInPaperSpace() bool

func (*Face) IsVisible

func (this *Face) IsVisible() bool

func (*Face) Layer

func (this *Face) Layer() string

func (*Face) LineTypeName

func (this *Face) LineTypeName() string

func (*Face) LineTypeScale

func (this *Face) LineTypeScale() float64

func (*Face) LineWeight

func (this *Face) LineWeight() LineWeight

func (*Face) MaterialHandle

func (this *Face) MaterialHandle() string

func (*Face) Owner

func (e *Face) Owner() *DrawingItem

func (*Face) PlotStyle

func (e *Face) PlotStyle() *DrawingItem

func (*Face) PreviewImageData

func (this *Face) PreviewImageData() []string

func (*Face) SecondEdgeInvisible

func (this *Face) SecondEdgeInvisible() bool

SecondEdgeInvisible status flag.

func (*Face) SetColor

func (this *Face) SetColor(val Color)

func (*Face) SetColor24Bit

func (this *Face) SetColor24Bit(val int)

func (*Face) SetColorName

func (this *Face) SetColorName(val string)

func (*Face) SetElevation

func (this *Face) SetElevation(val float64)

func (*Face) SetFirstEdgeInvisible

func (this *Face) SetFirstEdgeInvisible(val bool)

FirstEdgeInvisible status flag.

func (*Face) SetFourthEdgeInvisible

func (this *Face) SetFourthEdgeInvisible(val bool)

FourthEdgeInvisible status flag.

func (*Face) SetHandle

func (this *Face) SetHandle(val Handle)

func (*Face) SetImageByteCount

func (this *Face) SetImageByteCount(val int)

func (*Face) SetIsInPaperSpace

func (this *Face) SetIsInPaperSpace(val bool)

func (*Face) SetIsVisible

func (this *Face) SetIsVisible(val bool)

func (*Face) SetLayer

func (this *Face) SetLayer(val string)

func (*Face) SetLineTypeName

func (this *Face) SetLineTypeName(val string)

func (*Face) SetLineTypeScale

func (this *Face) SetLineTypeScale(val float64)

func (*Face) SetLineWeight

func (this *Face) SetLineWeight(val LineWeight)

func (*Face) SetMaterialHandle

func (this *Face) SetMaterialHandle(val string)

func (*Face) SetOwner

func (e *Face) SetOwner(val *DrawingItem)

func (*Face) SetPlotStyle

func (e *Face) SetPlotStyle(val *DrawingItem)

func (*Face) SetPreviewImageData

func (this *Face) SetPreviewImageData(val []string)

func (*Face) SetSecondEdgeInvisible

func (this *Face) SetSecondEdgeInvisible(val bool)

SecondEdgeInvisible status flag.

func (*Face) SetShadowMode

func (this *Face) SetShadowMode(val ShadowMode)

func (*Face) SetThirdEdgeInvisible

func (this *Face) SetThirdEdgeInvisible(val bool)

ThirdEdgeInvisible status flag.

func (*Face) SetTransparency

func (this *Face) SetTransparency(val int)

func (*Face) ShadowMode

func (this *Face) ShadowMode() ShadowMode

func (*Face) ThirdEdgeInvisible

func (this *Face) ThirdEdgeInvisible() bool

ThirdEdgeInvisible status flag.

func (*Face) Transparency

func (this *Face) Transparency() int

type FontType

type FontType int16
const (
	FontTypeTTF FontType = iota
	FontTypeSHX
)

func (FontType) String

func (this FontType) String() string

type Handle

type Handle uint64

Handle represents a unique identifier for various drawing elements.

type Header struct {
	// The $ACADVER header variable.  The AutoCAD drawing database version number.
	Version AcadVersion
	// The $ACADMAINTVER header variable.  Maintenance version number (should be ignored).  Minimum AutoCAD version R14.
	MaintenanceVersion int16
	// The $DWGCODEPAGE header variable.  Drawing code page; set to the system code page when a new drawing is created, but not otherwise maintained by AutoCAD.  Minimum AutoCAD version R13.
	DrawingCodePage string
	// The $LASTSAVEDBY header variable.  Name of the last user to modify the file.  Minimum AutoCAD version R2004.
	LastSavedBy string
	// The $REQUIREDVERSIONS header variable.  Unknown.  Minimum AutoCAD version R2013.
	RequiredVersions int64
	// The $INSBASE header variable.  Insertion base set by BASE command (in WCS).
	InsertionBase Point
	// The $EXTMIN header variable.  X, Y, and Z drawing extents lower-left corner (in WCS).
	MinimumDrawingExtents Point
	// The $EXTMAX header variable.  X, Y, and Z drawing extents upper-right corner (in WCS).
	MaximumDrawingExtents Point
	// The $LIMMIN header variable.  XY drawing limits lower-left corner (in WCS).
	MinimumDrawingLimits Point
	// The $LIMMAX header variable.  XY drawing limits upper-right corner (in WCS).
	MaximumDrawingLimits Point
	// The $ORTHOMODE header variable.  Ortho mode on.
	DrawOrthoganalLines bool
	// The $REGENMODE header variable.  REGENAUTO mode on.
	UseRegenMode bool
	// The $FILLMODE header variable.  Fill mode on.
	FillModeOn bool
	// The $QTEXTMODE header variable.  Quick text mode on.
	UseQuickTextMode bool
	// The $MIRRTEXT header variable.  Mirror text.
	MirrorText bool
	// The $DRAGMODE header variable.  Controls the way dragged objects are displayed.  Maximum AutoCAD version R14.
	DragMode DragMode
	// The $LTSCALE header variable.  Global line type scale.
	LineTypeScale float64
	// The $OSMODE header variable.  Running object snap modes.  Maximum AutoCAD version R14.
	ObjectSnapFlags int
	// The $ATTMODE header variable.  Attribute visibility.
	AttributeVisibility AttributeVisibility
	// The $TEXTSIZE header variable.  Default text height.
	DefaultTextHeight float64
	// The $TRACEWID header variable.  Default trace width.
	TraceWidth float64
	// The $TEXTSTYLE header variable.  Current text style name.
	TextStyle string
	// The $CLAYER header variable.  Current layer name.
	CurrentLayer string
	// The $CELTYPE header variable.  Entity line type name, or BYBLOCK or BYLAYER.
	CurrentEntityLineType string
	// The $CECOLOR header variable.  Current entity color.
	CurrentEntityColor Color
	// The $CELTSCALE header variable.  Current entity line type scale.  Minimum AutoCAD version R13.
	CurrentEntityLineTypeScale float64
	// The $DELOBJ header variable.  Controls object deletion.  Minimum AutoCAD version R13.  Maximum AutoCAD version R14.
	RetainDeletedObjects bool
	// The $DISPSILH header variable.  Controls the display of silhouette curves of body objects in wireframe mode.  Minimum AutoCAD version R13.
	DisplaySilhouetteCurvesInWireframeMode bool
	// The $DRAGVS header variable.  Hard-pointer ID to visual style when creating 3D solid primitives.  Minimum AutoCAD version R2007.
	SolidVisualStylePointer Handle
	// The $DIMSCALE header variable.  Overall dimensioning scale factor.
	DimensioningScaleFactor float64
	// The $DIMASZ header variable.  Dimensioning arrow size.
	DimensioningArrowSize float64
	// The $DIMEXO header variable.  Extension line offset.
	DimensionExtensionLineOffset float64
	// The $DIMDLI header variable.  Dimension line increment.
	DimensionLineIncrement float64
	// The $DIMRND header variable.  Rounding value for dimension distances.
	DimensionDistanceRoundingValue float64
	// The $DIMDLE header variable.  Dimension line extension.
	DimensionLineExtension float64
	// The $DIMEXE header variable.  Extension line extension.
	DimensionExtensionLineExtension float64
	// The $DIMTP header variable.  Plus tolerance.
	DimensionPlusTolerance float64
	// The $DIMTM header variable.  Minus tolerance.
	DimensionMinusTolerance float64
	// The $DIMTXT header variable.  Dimensioning text height.
	DimensioningTextHeight float64
	// The $DIMCEN header variable.  Size of center mark/lines.
	CenterMarkSize float64
	// The $DIMTSZ header variable.  Dimensioning tick size.
	DimensioningTickSize float64
	// The $DIMTOL header variable.  Dimension tolerances generated.
	GenerateDimensionTolerances bool
	// The $DIMLIM header variable.  Dimension limits generated.
	GenerateDimensionLimits bool
	// The $DIMTIH header variable.  Text inside horizontal.
	DimensionTextInsideHorizontal bool
	// The $DIMTOH header variable.  Text outside horizontal.
	DimensionTextOutsideHorizontal bool
	// The $DIMSE1 header variable.  Suppression of first extension line.  Minimum AutoCAD version R12.
	SuppressFirstDimensionExtensionLine bool
	// The $DIMSE2 header variable.  Suppression of second extension line.  Minimum AutoCAD version R12.
	SuppressSecondDimensionExtensionLine bool
	// The $DIMTAD header variable.  Text above dimension line.
	TextAboveDimensionLine bool
	// The $DIMZIN header variable.  Controls suppression of zeros for primary unit values.
	DimensionUnitZeroSuppression UnitZeroSuppression
	// The $DIMBLK header variable.  Arrow block name.
	ArrowBlockName string
	// The $DIMASO header variable.  Controls associative dimensioning.
	CreateAssociativeDimensioning bool
	// The $DIMSHO header variable.  Recompute dimensions while dragging.
	RecomputeDimensionsWhileDragging bool
	// The $DIMPOST header variable.  General dimensioning suffix.
	DimensioningSuffix string
	// The $DIMAPOST header variable.  Alternate dimensioning suffix.
	AlternateDimensioningSuffix string
	// The $DIMALT header variable.  Alternate unit dimensioning performed.
	UseAlternateDimensioning bool
	// The $DIMALTD header variable.  Alternate unit decimal places.
	AlternateDimensioningDecimalPlaces int16
	// The $DIMALTF header variable.  Alternate unit scale factor.
	AlternateDimensioningScaleFactor float64
	// The $DIMLFAC header variable.  Linear measurements scale factor.
	DimensionLinearMeasurementsScaleFactor float64
	// The $DIMTOFL header variable.  If text is outside extensions, force line extensions between extensions.
	ForceDimensionLineExtensionsOutsideIfTextIs bool
	// The $DIMTVP header variable.  Text vertical position.
	DimensionVerticalTextPosition float64
	// The $DIMTIX header variable.  Force text inside extensions.
	ForceDimensionTextInsideExtensions bool
	// The $DIMSOXD header variable.  Suppress outside-extensions dimension lines.
	SuppressOutsideExtensionDimensionLines bool
	// The $DIMSAH header variable.  Use separate arrow blocks.
	UseSeparateArrowBlocksForDimensions bool
	// The $DIMBLK1 header variable.  First arrow block name.
	FirstArrowBlockName string
	// The $DIMBLK2 header variable.  Second arrow block name.
	SecondArrowBlockName string
	// The $DIMSTYLE header variable.  Dimension style name.
	DimensionStyleName string
	// The $DIMCLRD header variable.  Dimension line color.  Minimum AutoCAD version R11.
	DimensionLineColor Color
	// The $DIMCLRE header variable.  Dimension extension line color.  Minimum AutoCAD version R11.
	DimensionExtensionLineColor Color
	// The $DIMCLRT header variable.  Dimension text color.  Minimum AutoCAD version R11.
	DimensionTextColor Color
	// The $DIMTFAC header variable.  Dimension tolerance display factor.  Minimum AutoCAD version R12.
	DimensionToleranceDisplayScaleFactor float64
	// The $DIMGAP header variable.  Dimension line gap.  Minimum AutoCAD version R11.
	DimensionLineGap float64
	// The $DIMJUST header variable.  Horizontal dimension text position.  Minimum AutoCAD version R13.
	DimensionTextJustification DimensionTextJustification
	// The $DIMTOLJ header variable.  Vertical justification for tolerance values.  Minimum AutoCAD version R13.
	DimensionToleranceVerticalJustification Justification
	// The $DIMTZIN header variable.  Controls suppression of zeros for tolerance values.  Minimum AutoCAD version R13.
	DimensionToleranceZeroSuppression UnitZeroSuppression
	// The $DIMALTZ header variable.  Controls suppression of zeros for alternate unit dimension values.  Minimum AutoCAD version R13.
	AlternateDimensioningZeroSupression UnitZeroSuppression
	// The $DIMALTTZ header variable.  Controls suppression of zeros for alternate tolerance values.  Minimum AutoCAD version R13.
	AlternateDimensioningToleranceZeroSupression UnitZeroSuppression
	// The $DIMFIT header variable.  Placement of text and arrowheads.  Minimum AutoCAD version R13.  Maximum AutoCAD version R14.
	DimensionTextAndArrowPlacement DimensionFit
	// The $DIMUPT header variable.  Cursor functionality for user-positioned text.  Minimum AutoCAD version R13.
	DimensionCursorControlsTextPosition bool
	// The $DIMUNIT header variable.  Units format for all dimension style family members except angular.  Minimum AutoCAD version R13.  Maximum AutoCAD version R14.
	DimensionUnitFormat UnitFormat
	// The $DIMDEC header variable.  Number of decimal places for the tolerance values of a primary units dimension.  Minimum AutoCAD version R13.
	DimensionUnitToleranceDecimalPlaces int16
	// The $DIMTDEC header variable.  Number of decimal places to display the tolerance values.  Minimum AutoCAD version R13.
	DimensionToleranceDecimalPlaces int16
	// The $DIMALTU header variable.  Units format for alternate units of all dimension style family members except angular.  Minimum AutoCAD version R13.
	AlternateDimensioningUnits UnitFormat
	// The $DIMALTTD header variable.  Number of decimal places for tolerance values of an alternate units dimension.  Minimum AutoCAD version R13.
	AlternateDimensioningToleranceDecimalPlaces int16
	// The $DIMTXSTY header variable.  Dimension text style.  Minimum AutoCAD version R13.
	DimensionTextStyle string
	// The $DIMAUNIT header variable.  Angle format for angular dimensions.  Minimum AutoCAD version R13.
	DimensioningAngleFormat AngleFormat
	// The $DIMADEC header variable.  Number of precision places displayed in angular dimensions.  Minimum AutoCAD version R2000.
	AngularDimensionPrecision int16
	// The $DIMALTRND header variable.  Determines rounding of alternate units.  Minimum AutoCAD version R2000.
	AlternateDimensioningUnitRounding float64
	// The $DIMAZIN header variable.  Controls suppression of zeros for angular dimensions.  Minimum AutoCAD version R2000.
	DimensionAngleZeroSuppression UnitZeroSuppression
	// The $DIMDSEP header variable.  Single-character decimal separator used when creating dimensions whose unit format is decimal.  Minimum AutoCAD version R2000.
	DimensionDecimalSeparatorRune rune
	// The $DIMFRAC header variable.  Sets the fraction format when DIMLUNIT is set to Architectural or Fractional.  Minimum AutoCAD version R2000.
	DimensionTextHeightScaleFactor DimensionFractionFormat
	// The $DIMLDRBLK header variable.  Arrow block name for leaders.  Minimum AutoCAD version R2000.
	DimensionLeaderBlockName string
	// The $DIMLUNIT header variable.  Sets units for all dimension types except angular.  Minimum AutoCAD version R2000.
	DimensionNonAngularUnits NonAngularUnits
	// The $DIMLWD header variable.  Dimension line lineweight.  Minimum AutoCAD version R2000.
	DimensionLineWeight LineWeight
	// The $DIMLWE header variable.  Extension line lineweight.  Minimum AutoCAD version R2000.
	DimensionExtensionLineWeight LineWeight
	// The $DIMTMOVE header variable.  Dimension text movement rules.  Minimum AutoCAD version R2000.
	DimensionTextMovementRule DimensionTextMovementRule
	// The $DIMFXL header variable.  Sets the total length of the extension lines starting from the dimension line toward the dimension origin.  Minimum AutoCAD version R2007.
	DimensionLineFixedLength float64
	// The $DIMFXLON header variable.  Controls whether extension lines are set to a fixed length.  Minimum AutoCAD version R2007.
	DimensionLineFixedLengthOn bool
	// The $DIMJOGANG header variable.  Determines the angle of the transverse segment of the dimension line in a jogged radius dimension.  Minimum AutoCAD version R2007.
	DimensionTransverseSegmentAngleInJoggedRadius float64
	// The $DIMTFILL header variable.  Controls the background of dimension text.  Minimum AutoCAD version R2007.
	DimensionTextBackgroundColorMode DimensionTextBackgroundColorMode
	// The $DIMTFILLCLR header variable.  Sets the color for the text background in dimensions.  Minimum AutoCAD version R2007.
	DimensionTextBackgroundCustomColor Color
	// The $DIMARCSYM header variable.  Controls the display of the arc symbol in an arc length dimension.  Minimum AutoCAD version R2007.
	DimensionArcSymbolDisplayMode DimensionArcSymbolDisplayMode
	// The $DIMLTYPE header variable.  Sets the line type of the dimension line.  Minimum AutoCAD version R2007.
	DimensionLineType string
	// The $DIMLTEX1 header variable.  Sets the line type of the first extension line.  Minimum AutoCAD version R2007.
	DimensionFirstExtensionLineType string
	// The $DIMLTEX2 header variable.  Sets the line type of the second extension line.  Minimum AutoCAD version R2007.
	DimensionSecondExtensionLineType string
	// The $DIMTXTDIRECTION header variable.  Specifies the reading direction of the dimension text.  Minimum AutoCAD version R2010.
	DimensionTextDirection TextDirection
	// The $LUNITS header variable.  Units format for coordinates and distances.
	UnitFormat UnitFormat
	// The $LUPREC header variable.  Units precision for coordinates and distances.
	UnitPrecision int16
	// The $SKETCHINC header variable.  Sketch record increment.
	SketchRecordIncrement float64
	// The $FILLETRAD header variable.  Fillet radius.
	FilletRadius float64
	// The $AUNITS header variable.  Units format for angles.
	AngleUnitFormat AngleFormat
	// The $AUPREC header variable.  Units precision for angles.
	AngleUnitPrecision int16
	// The $MENU header variable.  Name of menu file.
	FileName string
	// The $ELEVATION header variable.  Current elevation set by ELEV command.
	Elevation float64
	// The $PELEVATION header variable.  Current paper space elevation.  Minimum AutoCAD version R11.
	PaperspaceElevation float64
	// The $THICKNESS header variable.  Current thickness set by ELEV command.
	Thickness float64
	// The $LIMCHECK header variable.  Limits checking.
	UseLimitsChecking bool
	// The $BLIPMODE header variable.  Display blips for click locations.  Maximum AutoCAD version R14.
	BlipMode bool
	// The $CHAMFERA header variable.  First chamfer distance.
	FirstChamferDistance float64
	// The $CHAMFERB header variable.  Second chamfer distance.
	SecondChamferDistance float64
	// The $CHAMFERC header variable.  Chamfer length.  Minimum AutoCAD version R14.
	ChamferLength float64
	// The $CHAMFERD header variable.  Chamfer angle.  Minimum AutoCAD version R14.
	ChamferAngle float64
	// The $SKPOLY header variable.  Controls polyline sketch mode.
	PolylineSketchMode PolySketchMode
	// The $TDCREATE header variable.  Local date/time of drawing creation.
	CreationDate time.Time
	// The $TDUCREATE header variable.  Universal date/time the drawing was created.  Minimum AutoCAD version R2000.
	CreationDateUniversal time.Time
	// The $TDUPDATE header variable.  Local date/time of last drawing update.
	UpdateDate time.Time
	// The $TDUUPDATE header variable.  Universal date/time of the last update/save.  Minimum AutoCAD version R2000.
	UpdateDateUniversal time.Time
	// The $TDINDWG header variable.  Cumulative editing time for this drawing.
	TimeInDrawing time.Duration
	// The $TDUSRTIMER header variable.  User-elapsed timer.
	UserElapsedTimer time.Duration
	// The $USRTIMER header variable.  User timer on.
	UserTimerOn bool
	// The $ANGBASE header variable.  Angle 0 direction.
	AngleZeroDirection float64
	// The $ANGDIR header variable.  Angle directions.
	AngleDirection AngleDirection
	// The $PDMODE header variable.  Point display mode.
	PointDisplayMode int
	// The $PDSIZE header variable.  Point display size.
	PointDisplaySize float64
	// The $PLINEWID header variable.  Default polyline width.
	DefaultPolylineWidth float64
	// The $COORDS header variable.  Controls the display of coordinates.  Maximum AutoCAD version R14.
	CoordinateDisplay CoordinateDisplay
	// The $SPLFRAME header variable.  Controls the display of helixes and smoothed mesh objects.  Maximum AutoCAD version R2013.
	DisplaySplinePolygonControl bool
	// The $SPLINETYPE header variable.  Spline curve type for PEDIT Spline.
	PEditSplineCurveType PolylineCurvedAndSmoothSurfaceType
	// The $SPLINESEGS header variable.  Number of line segments per spline hatch.
	LineSegmentsPerSplinePatch int16
	// The $ATTDIA header variable.  Controls whether the INSERT command uses a dialog box for attribute value entry.  Maximum AutoCAD version R14.
	ShowAttributeEntryDialogs bool
	// The $ATTREQ header variable.  Controls whether INSERT uses default attribute settings during insertion of blocks.  Maximum AutoCAD version R14.
	PromptForAttributeOnInsert bool
	// The $HANDLING header variable.  Handles available.  Maximum AutoCAD version R12.
	HandlesEnabled bool
	// The $HANDSEED header variable.  Next available handle.
	NextAvailableHandle Handle
	// The $SURFTAB1 header variable.  Number of mesh tabulations in first direction.
	MeshTabulationsInFirstDirection int16
	// The $SURFTAB2 header variable.  Number of mesh tabulations in second direction.
	MeshTabulationsInSecondDirection int16
	// The $SURFTYPE header variable.  Surface type for PEDIT Smooth.
	PEditSmoothSurfaceType PolylineCurvedAndSmoothSurfaceType
	// The $SURFU header variable.  Surface density (for PEDIT Smooth) in M direction.
	PEditSmoothMDensith int16
	// The $SURFV header variable.  Surface density (for PEDIT Smooth) in N direction.
	PEditSmoothNDensith int16
	// The $UCSBASE header variable.  Name of the UCS that defines the origin and orientation of orthographic UCS settings.  Minimum AutoCAD version R2000.
	UCSDefinitionName string
	// The $UCSNAME header variable.  Name of current UCS.
	UCSName string
	// The $UCSORG header variable.  Origin of current UCS (in WCS).
	UCSOrigin Point
	// The $UCSXDIR header variable.  Direction of the current UCS X axis (in WCS).
	UCSXAxis Vector
	// The $UCSYDIR header variable.  Direction of the current UCS Y axis (in WCS).
	UCSYAxis Vector
	// The $UCSORTHOREF header variable.  If model space UCS is orthographic (UCSORTHOVIEW not equal to 0), this is the name of the UCS that the orthographic UCS is relative to. If blank, UCS is relative to WORLD.  Minimum AutoCAD version R2000.
	OrthoUCSReference string
	// The $UCSORTHOVIEW header variable.  Orthographic view type of model space UCS.  Minimum AutoCAD version R2000.
	OrthgraphicViewType OrthographicViewType
	// The $UCSORGTOP header variable.  Point which becomes the new UCS origin after changing model space UCS to TOP when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginTop Point
	// The $UCSORGBOTTOM header variable.  Point which becomes the new UCS origin after changing model space UCS to BOTTOM when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginBottom Point
	// The $UCSORGLEFT header variable.  Point which becomes the new UCS origin after changing model space UCS to LEFT when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginLeft Point
	// The $UCSORGRIGHT header variable.  Point which becomes the new UCS origin after changing model space UCS to RIGHT when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginRight Point
	// The $UCSORGFRONT header variable.  Point which becomes the new UCS origin after changing model space UCS to FRONT when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginFront Point
	// The $UCSORGBACK header variable.  Point which becomes the new UCS origin after changing model space UCS to BACK when UCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	UCSOriginBack Point
	// The $PUCSBASE header variable.  Name of the UCS that defines the origin and orientation of orthographics UCS settings (paper space only).  Minimum AutoCAD version R2000.
	PaperspaceUCSDefinitionName string
	// The $PUCSNAME header variable.  Current paper space UCS name.  Minimum AutoCAD version R11.
	PaperspaceUCSName string
	// The $PUCSORG header variable.  Current paper space UCS origin.  Minimum AutoCAD version R11.
	PaperspaceUCSOrigin Point
	// The $PUCSXDIR header variable.  Current paper space UCS X axis.  Minimum AutoCAD version R11.
	PaperspaceXAxis Vector
	// The $PUCSYDIR header variable.  Current paper space UCS Y axis.  Minimum AutoCAD version R11.
	PaperspaceYAxis Vector
	// The $PUCSORTHOREF header variable.  If paper space UCS is orthographic (PUCSORTHOVIEW not equal to 0), this is the name of the UCS that the orthographic UCS is relative to. If blank, UCS is relative to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceOrthoUCSReference string
	// The $PUCSORTHOVIEW header variable.  Orthographic view type of paper space UCS.  Minimum AutoCAD version R2000.
	PaperspaceOrthographicViewType OrthographicViewType
	// The $PUCSORGTOP header variable.  Point which becomes the new UCS origin after changing paper space UCS to TOP when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginTop Point
	// The $PUCSORGBOTTOM header variable.  Point which becomes the new UCS origin after changing paper space UCS to BOTTOM when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginBottom Point
	// The $PUCSORGLEFT header variable.  Point which becomes the new UCS origin after changing paper space UCS to LEFT when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginLeft Point
	// The $PUCSORGRIGHT header variable.  Point which becomes the new UCS origin after changing paper space UCS to RIGHT when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginRight Point
	// The $PUCSORGFRONT header variable.  Point which becomes the new UCS origin after changing paper space UCS to FRONT when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginFront Point
	// The $PUCSORGBACK header variable.  Point which becomes the new UCS origin after changing paper space UCS to BACK when PUCSBASE is set to WORLD.  Minimum AutoCAD version R2000.
	PaperspaceUCSOriginBack Point
	// The $USERI1 header variable.  Integer variable intended for use by third-party developers.
	UserInt1 int16
	// The $USERI2 header variable.  Integer variable intended for use by third-party developers.
	UserInt2 int16
	// The $USERI3 header variable.  Integer variable intended for use by third-party developers.
	UserInt3 int16
	// The $USERI4 header variable.  Integer variable intended for use by third-party developers.
	UserInt4 int16
	// The $USERI5 header variable.  Integer variable intended for use by third-party developers.
	UserInt5 int16
	// The $USERR1 header variable.  Real variable indented for use by third-party developers.
	UserReal1 float64
	// The $USERR2 header variable.  Real variable indented for use by third-party developers.
	UserReal2 float64
	// The $USERR3 header variable.  Real variable indented for use by third-party developers.
	UserReal3 float64
	// The $USERR4 header variable.  Real variable indented for use by third-party developers.
	UserReal4 float64
	// The $USERR5 header variable.  Real variable indented for use by third-party developers.
	UserReal5 float64
	// The $WORLDVIEW header variable.  Set UCS to WCS during DVIEW/VPOINT.
	SetUCSToWCSInDViewOrVPoint bool
	// The $SHADEDGE header variable.  Controls shading of faces.  Minimum AutoCAD version R11.
	EdgeShading ShadeEdgeMode
	// The $SHADEDIF header variable.  Percent ambient/diffuse light; range 1-100.  Minimum AutoCAD version R11.
	PercentAmbientToDiffuse int16
	// The $TILEMODE header variable.  Use previous release compatibility mode.  Minimum AutoCAD version R11.
	PreviousReleaseTileCompatability bool
	// The $MAXACTVP header variable.  Sets the maximum number of viewports to be regenerated.  Minimum AutoCAD version R11.
	MaximumActiveViewports int16
	// The $PINSBASE header variable.  Paper space insertion base point.  Minimum AutoCAD version R14.
	PaperspaceInsertionBase Point
	// The $PLIMCHECK header variable.  Limits checking in paper space.  Minimum AutoCAD version R11.
	LimitCheckingInPaperspace bool
	// The $PEXTMIN header variable.  Minimum X, Y, and Z extents for paper space.  Minimum AutoCAD version R11.
	PaperspaceMinimumDrawingExtents Point
	// The $PEXTMAX header variable.  Maximum X, Y, and Z extents for paper space.  Minimum AutoCAD version R11.
	PaperspaceMaximumDrawingExtents Point
	// The $PLIMMIN header variable.  Minimum X and Y limits in paper space.  Minimum AutoCAD version R11.
	PaperspaceMinimumDrawingLimits Point
	// The $PLIMMAX header variable.  Maximum X and Y limits in paper space.  Minimum AutoCAD version R11.
	PaperspaceMaximumDrawingLimits Point
	// The $UNITMODE header variable.  Display fractions, feet-and-inches, and surveyor's angles in input format.  Minimum AutoCAD version R11.
	DisplayFractionsInInput bool
	// The $VISRETAIN header variable.  Retain xref-dependent visibility settings.  Minimum AutoCAD version R12.
	RetainXRefDependentVisibilitySettings bool
	// The $PLINEGEN header variable.  Governs the generation of line type patterns around the vertices of a 2D polyline.  Minimum AutoCAD version R11.
	IsPolylineContinuousAroundVerticies bool
	// The $PSLTSCALE header variable.  Controls paper space line type scaling.  Minimum AutoCAD version R11.
	ScaleLineTypesInPaperspace bool
	// The $TREEDEPTH header variable.  Specifies the maximum depth of the spatial index.  Minimum AutoCAD version R14.
	SpacialIndexMaxDepth int16
	// The $PICKSTYLE header variable.  Controls the group selection and associative hatch selection.  Minimum AutoCAD version R13.  Maximum AutoCAD version R14.
	PickStyle PickStyle
	// The $CMLSTYLE header variable.  Current multiline style name.  Minimum AutoCAD version R13.  Maximum AutoCAD version R13.
	CurrentMultilineStyle string
	// The $CMLJUST header variable.  Current multiline justification.  Minimum AutoCAD version R13.
	CurrentMultilineJustification Justification
	// The $CMLSCALE header variable.  Current multiline scale.  Minimum AutoCAD version R13.
	CurrentMultilineScale float64
	// The $PROXYGRAPHICS header variable.  Controls the saving of proxy object images.  Minimum AutoCAD version R14.
	SaveProxyGraphics bool
	// The $MEASUREMENT header variable.  Sets drawing units.  Minimum AutoCAD version R14.
	DrawingUnits DrawingUnits
	// The $CELWEIGHT header variable.  Lineweight of new objects.  Minimum AutoCAD version R2000.
	NewObjectLineWeight LineWeight
	// The $ENDCAPS header variable.  Lineweight endcaps setting for new objects.  Minimum AutoCAD version R2000.
	EndCapSetting EndCapSetting
	// The $JOINSTYLE header variable.  Lineweight join setting for new objects.  Minimum AutoCAD version R2000.
	LineweightJointSetting JoinStyle
	// The $LWDISPLAY header variable.  Controls the display of lineweights on the Model or Layout tab.  Minimum AutoCAD version R2000.
	DisplayLinewieghtInModelAndLayoutTab bool
	// The $INSUNITS header variable.  Default drawing units for AutoCAD DesignCenter blocks.  Minimum AutoCAD version R2000.
	DefaultDrawingUnits Units
	// The $HYPERLINKBASE header variable.  Path for all relative hyperlinks in the drawing.  If null, the drawing path is used.  Minimum AutoCAD version R2000.
	HyperlinkBase string
	// The $STYLESHEET header variable.  Path to the stylesheet for the drawing.  Minimum AutoCAD version R2000.
	Stylesheet string
	// The $XEDIT header variable.  Controls whether the current drawing can be edited in-place when being referenced by another drawing.  Minimum AutoCAD version R2000.
	CanUseInPlaceReferenceEditing bool
	// The $CEPSNID header variable.  PlotStyle handle of new objects.  Minimum AutoCAD version R2000.
	NewObjectPlotStyleHandle Handle
	// The $CEPSNTYPE header variable.  Plot style of new objects.  Minimum AutoCAD version R2000.
	NewObjectPlotStyle PlotStyle
	// The $PSTYLEMODE header variable.  Indicates whether the current drawing is in a Color-Dependent or Named Plot Style mode.  Minimum AutoCAD version R2000.
	UsesColorDependentPlotStyleTables bool
	// The $FINGERPRINTGUID header variable.  Set at creation time, uniquely identifies a particular drawing.  Minimum AutoCAD version R2000.
	FingerprintGuid uuid.UUID
	// The $VERSIONGUID header variable.  Uniquely identifies a particular version of a drawing.  Updated when the drawing is modified.  Minimum AutoCAD version R2000.
	VersionGuid uuid.UUID
	// The $EXTNAMES header variable.  Controls symbol table naming.  Minimum AutoCAD version R2000.
	UseACad2000SymbolTableNaming bool
	// The $PSVPSCALE header variable.  View scale factor for new viewports.  Minimum AutoCAD version R2000.
	ViewportViewScaleFactor float64
	// The $OLESTARTUP header variable.  Controls whether the source application of an embedded OLE object loads when plotting.  Minimum AutoCAD version R2000.
	OleStartup bool
	// The $SORTENTS header variable.  Controls the object sorting methods; accessible from the Options dialog box User Preferences tab.  Minimum AutoCAD version R2004.
	ObjectSortingMethodsFlags int
	// The $INDEXCTL header variable.  Controls whether layer and spatial indexes are created and saved in drawing files.  Minimum AutoCAD version R2004.
	LayerAndSpatialIndexSaveMode LayerAndSpatialIndexSaveMode
	// The $HIDETEXT header variable.  Ignore text objects.  Minimum AutoCAD version R2004.
	HideTextObjectsWhenProducintHiddenView bool
	// The $XCLIPFRAME header variable.  Controls the visibility of xref clipping boundaries.  Minimum AutoCAD version R2004.  Maximum AutoCAD version R2007.
	XRefClippingBoundaryVisible XrefClippingBoundaryVisibility
	// The $HALOGAP header variable.  Specifies a gap to be displayed where an object is hidden by another object; the value is specified as a percent of one unit and is independent of the zoom level.  A haloed line is shortened at the point where it is hidden when HIDE or the Hidden option of SHADEMODE is used.  Minimum AutoCAD version R2004.
	HaloGapPercent float64
	// The $OBSCOLOR header variable.  Specifies the color of obscured lines.  An obscured line is a hidden line made visible by changing its color and line type and is visible only when the HIDE or SHADEMODE command is used.  The OBSCUREDCOLOR setting is visible only if the OBSCUREDLTYPE is turned ON by setting it to a value other than 0.  Minimum AutoCAD version R2004.
	ObscuredLineColor Color
	// The $OBSLTYPE header variable.  Specifies the line type of obscured lines.  Obscured line types are independent of zoom level, unlike regular AutoCAD line types.  Value 0 turns off display of obscured lines and is the default.  Minimum AutoCAD version R2004.
	ObscuredLineTypeStyle LineTypeStyle
	// The $INTERSECTIONDISPLAY header variable.  Specifies the display of intersection polylines.  Minimum AutoCAD version R2004.
	DisplayIntersectionPolylines bool
	// The $INTERSECTIONCOLOR header variable.  Specifies the entity color of intersection polylines.  Minimum AutoCAD version R2004.
	IntersectionPolylineColor Color
	// The $DIMASSOC header variable.  Controls the associativity of dimension objects.  Minimum AutoCAD version R2004.
	DimensionObjectAssociativity DimensionAssociativity
	// The $PROJECTNAME header variable.  Assigns a project name to the current drawing.  Used when an external reference or image is not found on its original path.  The project name points to a section in the registry that can contain one or more search paths for each project name defined.  Project names and their search directories are created from the Files tab of the Options dialog box.  Minimum AutoCAD version R2004.
	ProjectName string
	// The $CAMERADISPLAY header variable.  Turns the display of camera objects on or off.  Minimum AutoCAD version R2007.
	UseCameraDisplay bool
	// The $LENSLENGTH header variable.  Stores the length of the lens in millimeters used in perspective viewing.  Minimum AutoCAD version R2007.
	LensLength float64
	// The $CAMERAHEIGHT header variable.  Specifies the default height for new camera objects.  Minimum AutoCAD version R2007.
	CameraHeight float64
	// The $STEPSPERSEC header variable.  Specifies the number of steps taken per second when you are in walk or fly mode.  Minimum AutoCAD version R2007.
	StepsPerSecondInWalkOrFlyMode float64
	// The $STEPSIZE header variable.  Specifies the size of each step when in walk or fly mode, in drawing units.  Minimum AutoCAD version R2007.
	StepSizeInWalkOrFlyMode float64
	// The $3DDWFPREC header variable.  Controls the precision of 3D DWF or 3D DWFx publishing.  Minimum AutoCAD version R2007.
	Dwf3DPrecision Dwf3DPrecision
	// The $PSOLWIDTH header variable.  Controls the default width for a swept solid object created with the POLYSOLID command.  Minimum AutoCAD version R2007.
	LastPolySolidWidth float64
	// The $PSOLHEIGHT header variable.  Controls the default height for a swept solid object created with the POLYSOLID command.  Minimum AutoCAD version R2007.
	LastPolySolidHeight float64
	// The $LOFTANG1 header variable.  Sets the draft angle through the first cross section in a loft operation.  Minimum AutoCAD version R2007.
	LoftOperationFirstDraftAngle float64
	// The $LOFTANG2 header variable.  Sets the draft angle through the second cross section in a loft operation.  Minimum AutoCAD version R2007.
	LoftOperationSecondDraftAngle float64
	// The $LOFTMAG1 header variable.  Sets the magnitude of the draft angle through the first cross section in a loft operation.  Minimum AutoCAD version R2007.
	LoftOperationFirstMagnitude float64
	// The $LOFTMAG2 header variable.  Sets the magnitude of the draft angle through the second cross section in a loft operation.  Minimum AutoCAD version R2007.
	LoftOperationSecondMagnitude float64
	// The $LOFTPARAM header variable.  Controls the shape of lofted solids and surfaces.  Minimum AutoCAD version R2007.
	LoftFlags int
	// The $LOFTNORMALS header variable.  Controls the normals of a lofted object where it passes through cross sections.  Minimum AutoCAD version R2007.
	LoftedObjectNormalMode LoftedObjectNormalMode
	// The $LATITUDE header variable.  The latitude of the geographic location assigned to the drawing.  Minimum AutoCAD version R2007.
	Latitude float64
	// The $LONGITUDE header variable.  The longitude of the geographic location assigned to the drawing.  Minimum AutoCAD version R2007.
	Longitude float64
	// The $NORTHDIRECTION header variable.  Specifies the angle between the Y axis of WCS and the grid north.  Minimum AutoCAD version R2007.
	AngleBetweenYAxisAndNorth float64
	// The $TIMEZONE header variable.  Sets the time zone for the sun in the drawing.  Minimum AutoCAD version R2007.
	TimeZone TimeZone
	// The $LIGHTGLYPHDISPLAY header variable.  Turns on and off the display of light glyphs.  Minimum AutoCAD version R2007.
	UseLightGlyphDisplay bool
	// The $TILEMODELIGHTSYNCH header variable.  Unknown.  Minimum AutoCAD version R2007.
	UseTileModeLightSync bool
	// The $CMATERIAL header variable.  Sets the material of new objects.  Minimum AutoCAD version R2007.
	CurrentMaterialHandle Handle
	// The $SOLIDHIST header variable.  Controls whether new composite solids retain a history of their original components.  Minimum AutoCAD version R2007.
	NewSolidsContainHistory bool
	// The $SHOWHIST header variable.  Controls the Show History property for solids in a drawing.  Minimum AutoCAD version R2007.
	SolidHistoryMode SolidHistoryMode
	// The $DWFFRAME header variable.  Determines whether DWF or DWFx underlay frames are visible or plotted in the current drawing.  Minimum AutoCAD version R2007.
	UnderlayFrameMode UnderlayFrameMode
	// The $REALWORLDSCALE header variable.  Drawing is scaled to the real world.  Minimum AutoCAD version R2007.
	UseRealWorldScale bool
	// The $INTERFERECOLOR header variable.  Represents the ACI color index of the "interference objects" created during the interfere command.  Minimum AutoCAD version R2007.
	InterferenceObjectColor Color
	// The $INTERFEREOBJVS header variable.  Hard-pointer ID to the visual stype for interference objects.  Minimum AutoCAD version R2007.
	InterferenceObjectVisualStylePointer Handle
	// The $INTERFEREVPVS header variable.  Hard-pointer ID to the visual styoe for the viewport during interference checking.  Minimum AutoCAD version R2007.
	InterferenceViewPortVisualStylePointer Handle
	// The $CSHADOW header variable.  Shadow mode for a 3D object.  Minimum AutoCAD version R2007.
	ShadowMode ShadowMode
	// The $SHADOWPLANELOCATION header variable.  Location of the ground shadow plane.  This is a Z axis ordinate.  Minimum AutoCAD version R2007.
	ShadowPlaneZOffset float64
	// The $AXISMODE header variable.  Axis on.  Maximum AutoCAD version R10.
	AxisOn bool
	// The $AXISUNIT header variable.  Axis X and Y tick spacing.  Maximum AutoCAD version R10.
	AxisTickSpacing Vector
	// The $FASTZOOM header variable.  Fast zoom enabled.  Maximum AutoCAD version R10.
	FastZoom bool
	// The $GRIDMODE header variable.  Grid mode on.  Maximum AutoCAD version R10.
	GridOn bool
	// The $GRIDUNIT header variable.  Grid X and Y spacing.  Maximum AutoCAD version R10.
	GridSpacing Vector
	// The $SNAPANG header variable.  Snap grid rotation angle.  Maximum AutoCAD version R10.
	SnapRotationAngle float64
	// The $SNAPBASE header variable.  Snap/grid/base point (in UCS).  Maximum AutoCAD version R10.
	SnapBasePoint Point
	// The $SNAPISOPAIR header variable.  Isometric plane.  Maximum AutoCAD version R10.
	SnapIsometricPlane SnapIsometricPlane
	// The $SNAPMODE header variable.  Snap mode on.  Maximum AutoCAD version R10.
	SnapOn bool
	// The $SNAPSTYLE header variable.  Snap style.  Maximum AutoCAD version R10.
	SnapStyle SnapStyle
	// The $SNAPUNIT header variable.  Snap grid X and Y spacing.  Maximum AutoCAD version R10.
	SnapSpacing Vector
	// The $VIEWCTR header variable.  XY center of current view on screen.  Maximum AutoCAD version R10.
	ViewCenter Point
	// The $VIEWDIR header variable.  Viewing direction (direction from target in WCS).  Maximum AutoCAD version R10.
	ViewDirection Vector
	// The $VIEWSIZE header variable.  Height of view.  Maximum AutoCAD version R10.
	ViewHeight float64
}

Header contains the values common to an AutoCAD DXF drawing.

func NewHeader

func NewHeader() *Header

func (*Header) AlignDirection

func (h *Header) AlignDirection() (val bool)

AlignDirection status flag. Minimum AutoCAD version R2007.

func (*Header) ApparentIntersectionSnap

func (h *Header) ApparentIntersectionSnap() (val bool)

ApparentIntersectionSnap status flag. Maximum AutoCAD version R14.

func (*Header) CenterSnap

func (h *Header) CenterSnap() (val bool)

CenterSnap status flag. Maximum AutoCAD version R14.

func (*Header) Close

func (h *Header) Close() (val bool)

Close status flag. Minimum AutoCAD version R2007.

func (*Header) EndPointSnap

func (h *Header) EndPointSnap() (val bool)

EndPointSnap status flag. Maximum AutoCAD version R14.

func (*Header) ExtensionSnap

func (h *Header) ExtensionSnap() (val bool)

ExtensionSnap status flag. Maximum AutoCAD version R14.

func (*Header) InsertionSnap

func (h *Header) InsertionSnap() (val bool)

InsertionSnap status flag. Maximum AutoCAD version R14.

func (*Header) IntersectionSnap

func (h *Header) IntersectionSnap() (val bool)

IntersectionSnap status flag. Maximum AutoCAD version R14.

func (*Header) MidPointSnap

func (h *Header) MidPointSnap() (val bool)

MidPointSnap status flag. Maximum AutoCAD version R14.

func (*Header) NearestSnap

func (h *Header) NearestSnap() (val bool)

NearestSnap status flag. Maximum AutoCAD version R14.

func (*Header) NoTwist

func (h *Header) NoTwist() (val bool)

NoTwist status flag. Minimum AutoCAD version R2007.

func (*Header) NodeSnap

func (h *Header) NodeSnap() (val bool)

NodeSnap status flag. Maximum AutoCAD version R14.

func (*Header) ParallelSnap

func (h *Header) ParallelSnap() (val bool)

ParallelSnap status flag. Maximum AutoCAD version R14.

func (*Header) PerpendicularSnap

func (h *Header) PerpendicularSnap() (val bool)

PerpendicularSnap status flag. Maximum AutoCAD version R14.

func (*Header) QuadrantSnap

func (h *Header) QuadrantSnap() (val bool)

QuadrantSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetAlignDirection

func (h *Header) SetAlignDirection(val bool)

AlignDirection status flag. Minimum AutoCAD version R2007.

func (*Header) SetApparentIntersectionSnap

func (h *Header) SetApparentIntersectionSnap(val bool)

ApparentIntersectionSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetCenterSnap

func (h *Header) SetCenterSnap(val bool)

CenterSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetClose

func (h *Header) SetClose(val bool)

Close status flag. Minimum AutoCAD version R2007.

func (*Header) SetEndPointSnap

func (h *Header) SetEndPointSnap(val bool)

EndPointSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetExtensionSnap

func (h *Header) SetExtensionSnap(val bool)

ExtensionSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetInsertionSnap

func (h *Header) SetInsertionSnap(val bool)

InsertionSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetIntersectionSnap

func (h *Header) SetIntersectionSnap(val bool)

IntersectionSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetMidPointSnap

func (h *Header) SetMidPointSnap(val bool)

MidPointSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetNearestSnap

func (h *Header) SetNearestSnap(val bool)

NearestSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetNoTwist

func (h *Header) SetNoTwist(val bool)

NoTwist status flag. Minimum AutoCAD version R2007.

func (*Header) SetNodeSnap

func (h *Header) SetNodeSnap(val bool)

NodeSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetParallelSnap

func (h *Header) SetParallelSnap(val bool)

ParallelSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetPerpendicularSnap

func (h *Header) SetPerpendicularSnap(val bool)

PerpendicularSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetQuadrantSnap

func (h *Header) SetQuadrantSnap(val bool)

QuadrantSnap status flag. Maximum AutoCAD version R14.

func (*Header) SetSimplify

func (h *Header) SetSimplify(val bool)

Simplify status flag. Minimum AutoCAD version R2007.

func (*Header) SetSortObjectsForMSlide

func (h *Header) SetSortObjectsForMSlide(val bool)

SortObjectsForMSlide status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForObjectSelection

func (h *Header) SetSortObjectsForObjectSelection(val bool)

SortObjectsForObjectSelection status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForObjectSnap

func (h *Header) SetSortObjectsForObjectSnap(val bool)

SortObjectsForObjectSnap status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForPlotting

func (h *Header) SetSortObjectsForPlotting(val bool)

SortObjectsForPlotting status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForPostScriptOutput

func (h *Header) SetSortObjectsForPostScriptOutput(val bool)

SortObjectsForPostScriptOutput status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForRedraw

func (h *Header) SetSortObjectsForRedraw(val bool)

SortObjectsForRedraw status flag. Minimum AutoCAD version R2004.

func (*Header) SetSortObjectsForRegen

func (h *Header) SetSortObjectsForRegen(val bool)

SortObjectsForRegen status flag. Minimum AutoCAD version R2004.

func (*Header) SetTangentSnap

func (h *Header) SetTangentSnap(val bool)

TangentSnap status flag. Maximum AutoCAD version R14.

func (*Header) Simplify

func (h *Header) Simplify() (val bool)

Simplify status flag. Minimum AutoCAD version R2007.

func (*Header) SortObjectsForMSlide

func (h *Header) SortObjectsForMSlide() (val bool)

SortObjectsForMSlide status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForObjectSelection

func (h *Header) SortObjectsForObjectSelection() (val bool)

SortObjectsForObjectSelection status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForObjectSnap

func (h *Header) SortObjectsForObjectSnap() (val bool)

SortObjectsForObjectSnap status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForPlotting

func (h *Header) SortObjectsForPlotting() (val bool)

SortObjectsForPlotting status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForPostScriptOutput

func (h *Header) SortObjectsForPostScriptOutput() (val bool)

SortObjectsForPostScriptOutput status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForRedraw

func (h *Header) SortObjectsForRedraw() (val bool)

SortObjectsForRedraw status flag. Minimum AutoCAD version R2004.

func (*Header) SortObjectsForRegen

func (h *Header) SortObjectsForRegen() (val bool)

SortObjectsForRegen status flag. Minimum AutoCAD version R2004.

func (*Header) TangentSnap

func (h *Header) TangentSnap() (val bool)

TangentSnap status flag. Maximum AutoCAD version R14.

type Helix

type Helix struct {
	MajorReleaseNumber        int
	MaintainenceReleaseNumber int
	AxisBasePoint             Point
	StartPoint                Point
	AxisVector                Vector
	Radius                    float64
	NumberOfTurns             float64
	TurnHeight                float64
	IsRightHanded             bool
	Constraint                HelixConstraint
	// contains filtered or unexported fields
}

func NewHelix

func NewHelix() *Helix

func (*Helix) Color

func (this *Helix) Color() Color

func (*Helix) Color24Bit

func (this *Helix) Color24Bit() int

func (*Helix) ColorName

func (this *Helix) ColorName() string

func (*Helix) Elevation

func (this *Helix) Elevation() float64

func (*Helix) Handle

func (this *Helix) Handle() Handle

func (*Helix) ImageByteCount

func (this *Helix) ImageByteCount() int

func (*Helix) IsInPaperSpace

func (this *Helix) IsInPaperSpace() bool

func (*Helix) IsVisible

func (this *Helix) IsVisible() bool

func (*Helix) Layer

func (this *Helix) Layer() string

func (*Helix) LineTypeName

func (this *Helix) LineTypeName() string

func (*Helix) LineTypeScale

func (this *Helix) LineTypeScale() float64

func (*Helix) LineWeight

func (this *Helix) LineWeight() LineWeight

func (*Helix) MaterialHandle

func (this *Helix) MaterialHandle() string

func (*Helix) Owner

func (e *Helix) Owner() *DrawingItem

func (*Helix) PlotStyle

func (e *Helix) PlotStyle() *DrawingItem

func (*Helix) PreviewImageData

func (this *Helix) PreviewImageData() []string

func (*Helix) SetColor

func (this *Helix) SetColor(val Color)

func (*Helix) SetColor24Bit

func (this *Helix) SetColor24Bit(val int)

func (*Helix) SetColorName

func (this *Helix) SetColorName(val string)

func (*Helix) SetElevation

func (this *Helix) SetElevation(val float64)

func (*Helix) SetHandle

func (this *Helix) SetHandle(val Handle)

func (*Helix) SetImageByteCount

func (this *Helix) SetImageByteCount(val int)

func (*Helix) SetIsInPaperSpace

func (this *Helix) SetIsInPaperSpace(val bool)

func (*Helix) SetIsVisible

func (this *Helix) SetIsVisible(val bool)

func (*Helix) SetLayer

func (this *Helix) SetLayer(val string)

func (*Helix) SetLineTypeName

func (this *Helix) SetLineTypeName(val string)

func (*Helix) SetLineTypeScale

func (this *Helix) SetLineTypeScale(val float64)

func (*Helix) SetLineWeight

func (this *Helix) SetLineWeight(val LineWeight)

func (*Helix) SetMaterialHandle

func (this *Helix) SetMaterialHandle(val string)

func (*Helix) SetOwner

func (e *Helix) SetOwner(val *DrawingItem)

func (*Helix) SetPlotStyle

func (e *Helix) SetPlotStyle(val *DrawingItem)

func (*Helix) SetPreviewImageData

func (this *Helix) SetPreviewImageData(val []string)

func (*Helix) SetShadowMode

func (this *Helix) SetShadowMode(val ShadowMode)

func (*Helix) SetTransparency

func (this *Helix) SetTransparency(val int)

func (*Helix) ShadowMode

func (this *Helix) ShadowMode() ShadowMode

func (*Helix) Transparency

func (this *Helix) Transparency() int

type HelixConstraint

type HelixConstraint int16
const (
	HelixConstraintConstrainTurnHeight HelixConstraint = iota
	HelixConstraintConstrainTurns
	HelixConstraintConstrainHeight
)

func (HelixConstraint) String

func (this HelixConstraint) String() string

type HorizontalTextJustification

type HorizontalTextJustification int16
const (
	HorizontalTextJustificationLeft HorizontalTextJustification = iota
	HorizontalTextJustificationCenter
	HorizontalTextJustificationRight
	HorizontalTextJustificationAligned
	HorizontalTextJustificationMiddle
	HorizontalTextJustificationFit
)

func (HorizontalTextJustification) String

func (this HorizontalTextJustification) String() string

type Image

type Image struct {
	// contains filtered or unexported fields
}

func NewImage

func NewImage() *Image

func (*Image) Brightness

func (this *Image) Brightness() int16

func (*Image) ClassVersion

func (this *Image) ClassVersion() int

func (*Image) ClippingType

func (this *Image) ClippingType() ImageClippingBoundaryType

func (*Image) ClippingVertices

func (this *Image) ClippingVertices() []Point

func (*Image) Color

func (this *Image) Color() Color

func (*Image) Color24Bit

func (this *Image) Color24Bit() int

func (*Image) ColorName

func (this *Image) ColorName() string

func (*Image) Contrast

func (this *Image) Contrast() int16

func (*Image) DisplayOptionsFlags

func (this *Image) DisplayOptionsFlags() int

func (*Image) Elevation

func (this *Image) Elevation() float64

func (*Image) Fade

func (this *Image) Fade() int16

func (*Image) Handle

func (this *Image) Handle() Handle

func (*Image) ImageByteCount

func (this *Image) ImageByteCount() int

func (*Image) ImageSize

func (this *Image) ImageSize() Vector

func (*Image) IsInPaperSpace

func (this *Image) IsInPaperSpace() bool

func (*Image) IsInsideClipping

func (this *Image) IsInsideClipping() bool

func (*Image) IsVisible

func (this *Image) IsVisible() bool

func (*Image) Layer

func (this *Image) Layer() string

func (*Image) LineTypeName

func (this *Image) LineTypeName() string

func (*Image) LineTypeScale

func (this *Image) LineTypeScale() float64

func (*Image) LineWeight

func (this *Image) LineWeight() LineWeight

func (*Image) Location

func (this *Image) Location() Point

func (*Image) MaterialHandle

func (this *Image) MaterialHandle() string

func (*Image) Owner

func (e *Image) Owner() *DrawingItem

func (*Image) PlotStyle

func (e *Image) PlotStyle() *DrawingItem

func (*Image) PreviewImageData

func (this *Image) PreviewImageData() []string

func (*Image) SetBrightness

func (this *Image) SetBrightness(val int16)

func (*Image) SetClassVersion

func (this *Image) SetClassVersion(val int)

func (*Image) SetClippingType

func (this *Image) SetClippingType(val ImageClippingBoundaryType)

func (*Image) SetClippingVertices

func (this *Image) SetClippingVertices(val []Point)

func (*Image) SetColor

func (this *Image) SetColor(val Color)

func (*Image) SetColor24Bit

func (this *Image) SetColor24Bit(val int)

func (*Image) SetColorName

func (this *Image) SetColorName(val string)

func (*Image) SetContrast

func (this *Image) SetContrast(val int16)

func (*Image) SetDisplayOptionsFlags

func (this *Image) SetDisplayOptionsFlags(val int)

func (*Image) SetElevation

func (this *Image) SetElevation(val float64)

func (*Image) SetFade

func (this *Image) SetFade(val int16)

func (*Image) SetHandle

func (this *Image) SetHandle(val Handle)

func (*Image) SetImageByteCount

func (this *Image) SetImageByteCount(val int)

func (*Image) SetImageSize

func (this *Image) SetImageSize(val Vector)

func (*Image) SetIsInPaperSpace

func (this *Image) SetIsInPaperSpace(val bool)

func (*Image) SetIsInsideClipping

func (this *Image) SetIsInsideClipping(val bool)

func (*Image) SetIsVisible

func (this *Image) SetIsVisible(val bool)

func (*Image) SetLayer

func (this *Image) SetLayer(val string)

func (*Image) SetLineTypeName

func (this *Image) SetLineTypeName(val string)

func (*Image) SetLineTypeScale

func (this *Image) SetLineTypeScale(val float64)

func (*Image) SetLineWeight

func (this *Image) SetLineWeight(val LineWeight)

func (*Image) SetLocation

func (this *Image) SetLocation(val Point)

func (*Image) SetMaterialHandle

func (this *Image) SetMaterialHandle(val string)

func (*Image) SetOwner

func (e *Image) SetOwner(val *DrawingItem)

func (*Image) SetPlotStyle

func (e *Image) SetPlotStyle(val *DrawingItem)

func (*Image) SetPreviewImageData

func (this *Image) SetPreviewImageData(val []string)

func (*Image) SetShadowMode

func (this *Image) SetShadowMode(val ShadowMode)

func (*Image) SetTransparency

func (this *Image) SetTransparency(val int)

func (*Image) SetUVector

func (this *Image) SetUVector(val Vector)

func (*Image) SetUseClipping

func (this *Image) SetUseClipping(val bool)

func (*Image) SetVVector

func (this *Image) SetVVector(val Vector)

func (*Image) SetclippingVertexCount

func (this *Image) SetclippingVertexCount(val int)

func (*Image) SetclippingVerticesX

func (this *Image) SetclippingVerticesX(val []float64)

func (*Image) SetclippingVerticesY

func (this *Image) SetclippingVerticesY(val []float64)

func (*Image) SetimageDefinitionHandle

func (this *Image) SetimageDefinitionHandle(val string)

func (*Image) SetimageDefinitionReactorHandle

func (this *Image) SetimageDefinitionReactorHandle(val string)

func (*Image) SetsubclassMarker

func (this *Image) SetsubclassMarker(val string)

func (*Image) ShadowMode

func (this *Image) ShadowMode() ShadowMode

func (*Image) Transparency

func (this *Image) Transparency() int

func (*Image) UVector

func (this *Image) UVector() Vector

func (*Image) UseClipping

func (this *Image) UseClipping() bool

func (*Image) VVector

func (this *Image) VVector() Vector

type ImageClippingBoundaryType

type ImageClippingBoundaryType int16
const (
	ImageClippingBoundaryTypeRectangular ImageClippingBoundaryType = 1
	ImageClippingBoundaryTypePolygonal   ImageClippingBoundaryType = 2
)

func (ImageClippingBoundaryType) String

func (this ImageClippingBoundaryType) String() string

type Insert

type Insert struct {
	HasAttributes      bool
	Name               string
	Location           Point
	XScaleFactor       float64
	YScaleFactor       float64
	ZScaleFactor       float64
	Rotation           float64
	ColumnCount        int16
	RowCount           int16
	ColumnSpacing      float64
	RowSpacing         float64
	ExtrusionDirection Vector
	Attributes         []Attribute
	// contains filtered or unexported fields
}

func NewInsert

func NewInsert() *Insert

func (*Insert) AddAttributes

func (this *Insert) AddAttributes(val Attribute)

func (*Insert) ClearAttributes

func (this *Insert) ClearAttributes()

func (*Insert) Color

func (this *Insert) Color() Color

func (*Insert) Color24Bit

func (this *Insert) Color24Bit() int

func (*Insert) ColorName

func (this *Insert) ColorName() string

func (*Insert) Elevation

func (this *Insert) Elevation() float64

func (*Insert) Handle

func (this *Insert) Handle() Handle

func (*Insert) ImageByteCount

func (this *Insert) ImageByteCount() int

func (*Insert) IsInPaperSpace

func (this *Insert) IsInPaperSpace() bool

func (*Insert) IsVisible

func (this *Insert) IsVisible() bool

func (*Insert) Layer

func (this *Insert) Layer() string

func (*Insert) LineTypeName

func (this *Insert) LineTypeName() string

func (*Insert) LineTypeScale

func (this *Insert) LineTypeScale() float64

func (*Insert) LineWeight

func (this *Insert) LineWeight() LineWeight

func (*Insert) MaterialHandle

func (this *Insert) MaterialHandle() string

func (*Insert) Owner

func (e *Insert) Owner() *DrawingItem

func (*Insert) PlotStyle

func (e *Insert) PlotStyle() *DrawingItem

func (*Insert) PreviewImageData

func (this *Insert) PreviewImageData() []string

func (*Insert) SetColor

func (this *Insert) SetColor(val Color)

func (*Insert) SetColor24Bit

func (this *Insert) SetColor24Bit(val int)

func (*Insert) SetColorName

func (this *Insert) SetColorName(val string)

func (*Insert) SetElevation

func (this *Insert) SetElevation(val float64)

func (*Insert) SetHandle

func (this *Insert) SetHandle(val Handle)

func (*Insert) SetImageByteCount

func (this *Insert) SetImageByteCount(val int)

func (*Insert) SetIsInPaperSpace

func (this *Insert) SetIsInPaperSpace(val bool)

func (*Insert) SetIsVisible

func (this *Insert) SetIsVisible(val bool)

func (*Insert) SetLayer

func (this *Insert) SetLayer(val string)

func (*Insert) SetLineTypeName

func (this *Insert) SetLineTypeName(val string)

func (*Insert) SetLineTypeScale

func (this *Insert) SetLineTypeScale(val float64)

func (*Insert) SetLineWeight

func (this *Insert) SetLineWeight(val LineWeight)

func (*Insert) SetMaterialHandle

func (this *Insert) SetMaterialHandle(val string)

func (*Insert) SetOwner

func (e *Insert) SetOwner(val *DrawingItem)

func (*Insert) SetPlotStyle

func (e *Insert) SetPlotStyle(val *DrawingItem)

func (*Insert) SetPreviewImageData

func (this *Insert) SetPreviewImageData(val []string)

func (*Insert) SetShadowMode

func (this *Insert) SetShadowMode(val ShadowMode)

func (*Insert) SetTransparency

func (this *Insert) SetTransparency(val int)

func (*Insert) ShadowMode

func (this *Insert) ShadowMode() ShadowMode

func (*Insert) Transparency

func (this *Insert) Transparency() int

type IntCodePairValue

type IntCodePairValue struct {
	Value int
}

IntCodePairValue represents an integer code pair value.

type JoinStyle

type JoinStyle int16
const (
	JoinStyleNone JoinStyle = iota
	JoinStyleRound
	JoinStyleAngle
	JoinStyleFlat
)

func (JoinStyle) String

func (this JoinStyle) String() string

type Justification

type Justification int16
const (
	JustificationTop Justification = iota
	JustificationMiddle
	JustificationBottom
)

func (Justification) String

func (this Justification) String() string

type LWPolyline

type LWPolyline struct {
	ConstantWidth      float64
	Thickness          float64
	ExtrusionDirection Vector

	Vertices []LwVertex
	// contains filtered or unexported fields
}

func NewLWPolyline

func NewLWPolyline() *LWPolyline

func (*LWPolyline) AddVertices

func (this *LWPolyline) AddVertices(val LwVertex)

func (*LWPolyline) ClearVertices

func (this *LWPolyline) ClearVertices()

func (*LWPolyline) Color

func (this *LWPolyline) Color() Color

func (*LWPolyline) Color24Bit

func (this *LWPolyline) Color24Bit() int

func (*LWPolyline) ColorName

func (this *LWPolyline) ColorName() string

func (*LWPolyline) Elevation

func (this *LWPolyline) Elevation() float64

func (*LWPolyline) Handle

func (this *LWPolyline) Handle() Handle

func (*LWPolyline) ImageByteCount

func (this *LWPolyline) ImageByteCount() int

func (*LWPolyline) IsClosed

func (this *LWPolyline) IsClosed() bool

IsClosed status flag.

func (*LWPolyline) IsInPaperSpace

func (this *LWPolyline) IsInPaperSpace() bool

func (*LWPolyline) IsPLineGen

func (this *LWPolyline) IsPLineGen() bool

IsPLineGen status flag.

func (*LWPolyline) IsVisible

func (this *LWPolyline) IsVisible() bool

func (*LWPolyline) Layer

func (this *LWPolyline) Layer() string

func (*LWPolyline) LineTypeName

func (this *LWPolyline) LineTypeName() string

func (*LWPolyline) LineTypeScale

func (this *LWPolyline) LineTypeScale() float64

func (*LWPolyline) LineWeight

func (this *LWPolyline) LineWeight() LineWeight

func (*LWPolyline) MaterialHandle

func (this *LWPolyline) MaterialHandle() string

func (*LWPolyline) Owner

func (e *LWPolyline) Owner() *DrawingItem

func (*LWPolyline) PlotStyle

func (e *LWPolyline) PlotStyle() *DrawingItem

func (*LWPolyline) PreviewImageData

func (this *LWPolyline) PreviewImageData() []string

func (*LWPolyline) SetColor

func (this *LWPolyline) SetColor(val Color)

func (*LWPolyline) SetColor24Bit

func (this *LWPolyline) SetColor24Bit(val int)

func (*LWPolyline) SetColorName

func (this *LWPolyline) SetColorName(val string)

func (*LWPolyline) SetElevation

func (this *LWPolyline) SetElevation(val float64)

func (*LWPolyline) SetHandle

func (this *LWPolyline) SetHandle(val Handle)

func (*LWPolyline) SetImageByteCount

func (this *LWPolyline) SetImageByteCount(val int)

func (*LWPolyline) SetIsClosed

func (this *LWPolyline) SetIsClosed(val bool)

IsClosed status flag.

func (*LWPolyline) SetIsInPaperSpace

func (this *LWPolyline) SetIsInPaperSpace(val bool)

func (*LWPolyline) SetIsPLineGen

func (this *LWPolyline) SetIsPLineGen(val bool)

IsPLineGen status flag.

func (*LWPolyline) SetIsVisible

func (this *LWPolyline) SetIsVisible(val bool)

func (*LWPolyline) SetLayer

func (this *LWPolyline) SetLayer(val string)

func (*LWPolyline) SetLineTypeName

func (this *LWPolyline) SetLineTypeName(val string)

func (*LWPolyline) SetLineTypeScale

func (this *LWPolyline) SetLineTypeScale(val float64)

func (*LWPolyline) SetLineWeight

func (this *LWPolyline) SetLineWeight(val LineWeight)

func (*LWPolyline) SetMaterialHandle

func (this *LWPolyline) SetMaterialHandle(val string)

func (*LWPolyline) SetOwner

func (e *LWPolyline) SetOwner(val *DrawingItem)

func (*LWPolyline) SetPlotStyle

func (e *LWPolyline) SetPlotStyle(val *DrawingItem)

func (*LWPolyline) SetPreviewImageData

func (this *LWPolyline) SetPreviewImageData(val []string)

func (*LWPolyline) SetShadowMode

func (this *LWPolyline) SetShadowMode(val ShadowMode)

func (*LWPolyline) SetTransparency

func (this *LWPolyline) SetTransparency(val int)

func (*LWPolyline) ShadowMode

func (this *LWPolyline) ShadowMode() ShadowMode

func (*LWPolyline) Transparency

func (this *LWPolyline) Transparency() int

type Layer

type Layer struct {
	Name            string
	Flags           int
	Color           Color
	LineTypeName    string
	IsLayerPlotted  bool
	LineWeight      LineWeight
	PlotStyleHandle string
	MaterialHandle  string
	// contains filtered or unexported fields
}

func NewLayer

func NewLayer() *Layer

func (*Layer) Handle

func (this *Layer) Handle() Handle

func (*Layer) SetHandle

func (this *Layer) SetHandle(val Handle)

type LayerAndSpatialIndexSaveMode

type LayerAndSpatialIndexSaveMode int16
const (
	LayerAndSpatialIndexSaveModeNone LayerAndSpatialIndexSaveMode = iota
	LayerAndSpatialIndexSaveModeLayerIndex
	LayerAndSpatialIndexSaveModeSpatialIndex
	LayerAndSpatialIndexSaveModeLayerAndSpatialIndex
)

func (LayerAndSpatialIndexSaveMode) String

func (this LayerAndSpatialIndexSaveMode) String() string

type Leader

type Leader struct {
	DimensionStyleName   string
	UseArrowheads        bool
	PathType             LeaderPathType
	AnnotationType       LeaderCreationAnnotationType
	HooklineDirection    LeaderHooklineDirection
	UseHookline          bool
	TextAnnotationHeight float64
	TextAnnotationWidth  float64
	Vertices             []Point

	OverrideColor                 Color
	AssociatedAnnotationReference string
	Normal                        Vector
	Right                         Vector
	BlockOffset                   Vector
	AnnotationOffset              Vector
	// contains filtered or unexported fields
}

func NewLeader

func NewLeader() *Leader

func (*Leader) AddVertices

func (this *Leader) AddVertices(val Point)

func (*Leader) AddverticesX

func (this *Leader) AddverticesX(val float64)

func (*Leader) AddverticesY

func (this *Leader) AddverticesY(val float64)

func (*Leader) AddverticesZ

func (this *Leader) AddverticesZ(val float64)

func (*Leader) ClearVertices

func (this *Leader) ClearVertices()

func (*Leader) ClearverticesX

func (this *Leader) ClearverticesX()

func (*Leader) ClearverticesY

func (this *Leader) ClearverticesY()

func (*Leader) ClearverticesZ

func (this *Leader) ClearverticesZ()

func (*Leader) Color

func (this *Leader) Color() Color

func (*Leader) Color24Bit

func (this *Leader) Color24Bit() int

func (*Leader) ColorName

func (this *Leader) ColorName() string

func (*Leader) Elevation

func (this *Leader) Elevation() float64

func (*Leader) Handle

func (this *Leader) Handle() Handle

func (*Leader) ImageByteCount

func (this *Leader) ImageByteCount() int

func (*Leader) IsInPaperSpace

func (this *Leader) IsInPaperSpace() bool

func (*Leader) IsVisible

func (this *Leader) IsVisible() bool

func (*Leader) Layer

func (this *Leader) Layer() string

func (*Leader) LineTypeName

func (this *Leader) LineTypeName() string

func (*Leader) LineTypeScale

func (this *Leader) LineTypeScale() float64

func (*Leader) LineWeight

func (this *Leader) LineWeight() LineWeight

func (*Leader) MaterialHandle

func (this *Leader) MaterialHandle() string

func (*Leader) Owner

func (e *Leader) Owner() *DrawingItem

func (*Leader) PlotStyle

func (e *Leader) PlotStyle() *DrawingItem

func (*Leader) PreviewImageData

func (this *Leader) PreviewImageData() []string

func (*Leader) SetColor

func (this *Leader) SetColor(val Color)

func (*Leader) SetColor24Bit

func (this *Leader) SetColor24Bit(val int)

func (*Leader) SetColorName

func (this *Leader) SetColorName(val string)

func (*Leader) SetElevation

func (this *Leader) SetElevation(val float64)

func (*Leader) SetHandle

func (this *Leader) SetHandle(val Handle)

func (*Leader) SetImageByteCount

func (this *Leader) SetImageByteCount(val int)

func (*Leader) SetIsInPaperSpace

func (this *Leader) SetIsInPaperSpace(val bool)

func (*Leader) SetIsVisible

func (this *Leader) SetIsVisible(val bool)

func (*Leader) SetLayer

func (this *Leader) SetLayer(val string)

func (*Leader) SetLineTypeName

func (this *Leader) SetLineTypeName(val string)

func (*Leader) SetLineTypeScale

func (this *Leader) SetLineTypeScale(val float64)

func (*Leader) SetLineWeight

func (this *Leader) SetLineWeight(val LineWeight)

func (*Leader) SetMaterialHandle

func (this *Leader) SetMaterialHandle(val string)

func (*Leader) SetOwner

func (e *Leader) SetOwner(val *DrawingItem)

func (*Leader) SetPlotStyle

func (e *Leader) SetPlotStyle(val *DrawingItem)

func (*Leader) SetPreviewImageData

func (this *Leader) SetPreviewImageData(val []string)

func (*Leader) SetShadowMode

func (this *Leader) SetShadowMode(val ShadowMode)

func (*Leader) SetTransparency

func (this *Leader) SetTransparency(val int)

func (*Leader) ShadowMode

func (this *Leader) ShadowMode() ShadowMode

func (*Leader) Transparency

func (this *Leader) Transparency() int

type LeaderCreationAnnotationType

type LeaderCreationAnnotationType int16
const (
	LeaderCreationAnnotationTypeWithTextAnnotation LeaderCreationAnnotationType = iota
	LeaderCreationAnnotationTypeWithToleranceAnnotation
	LeaderCreationAnnotationTypeWithBlockReferenceAnnotation
	LeaderCreationAnnotationTypeNoAnnotation
)

func (LeaderCreationAnnotationType) String

func (this LeaderCreationAnnotationType) String() string

type LeaderHooklineDirection

type LeaderHooklineDirection int16
const (
	LeaderHooklineDirectionOppositeFromHorizontalVector LeaderHooklineDirection = iota
	LeaderHooklineDirectionSameAsHorizontalVector
)

func (LeaderHooklineDirection) String

func (this LeaderHooklineDirection) String() string

type LeaderPathType

type LeaderPathType int16
const (
	LeaderPathTypeStraightLineSegments LeaderPathType = iota
	LeaderPathTypeSpline
)

func (LeaderPathType) String

func (this LeaderPathType) String() string

type Light

type Light struct {
	VersionNumber         int
	Name                  string
	LightType             LightType
	IsActive              bool
	PlotGlyph             bool
	Intensity             float64
	Position              Point
	TargetLocation        Point
	AttentuationType      LightAttenuationType
	UseAttenuationLimits  bool
	AttenuationStartLimit float64
	AttenuationEndLimit   float64
	HotspotAngle          float64
	FalloffAngle          float64
	CastShadows           bool
	ShadowType            ShadowType
	ShadowMapSize         int
	ShadowMapSoftness     int16
	// contains filtered or unexported fields
}

func NewLight

func NewLight() *Light

func (*Light) Color

func (this *Light) Color() Color

func (*Light) Color24Bit

func (this *Light) Color24Bit() int

func (*Light) ColorName

func (this *Light) ColorName() string

func (*Light) Elevation

func (this *Light) Elevation() float64

func (*Light) Handle

func (this *Light) Handle() Handle

func (*Light) ImageByteCount

func (this *Light) ImageByteCount() int

func (*Light) IsInPaperSpace

func (this *Light) IsInPaperSpace() bool

func (*Light) IsVisible

func (this *Light) IsVisible() bool

func (*Light) Layer

func (this *Light) Layer() string

func (*Light) LineTypeName

func (this *Light) LineTypeName() string

func (*Light) LineTypeScale

func (this *Light) LineTypeScale() float64

func (*Light) LineWeight

func (this *Light) LineWeight() LineWeight

func (*Light) MaterialHandle

func (this *Light) MaterialHandle() string

func (*Light) Owner

func (e *Light) Owner() *DrawingItem

func (*Light) PlotStyle

func (e *Light) PlotStyle() *DrawingItem

func (*Light) PreviewImageData

func (this *Light) PreviewImageData() []string

func (*Light) SetColor

func (this *Light) SetColor(val Color)

func (*Light) SetColor24Bit

func (this *Light) SetColor24Bit(val int)

func (*Light) SetColorName

func (this *Light) SetColorName(val string)

func (*Light) SetElevation

func (this *Light) SetElevation(val float64)

func (*Light) SetHandle

func (this *Light) SetHandle(val Handle)

func (*Light) SetImageByteCount

func (this *Light) SetImageByteCount(val int)

func (*Light) SetIsInPaperSpace

func (this *Light) SetIsInPaperSpace(val bool)

func (*Light) SetIsVisible

func (this *Light) SetIsVisible(val bool)

func (*Light) SetLayer

func (this *Light) SetLayer(val string)

func (*Light) SetLineTypeName

func (this *Light) SetLineTypeName(val string)

func (*Light) SetLineTypeScale

func (this *Light) SetLineTypeScale(val float64)

func (*Light) SetLineWeight

func (this *Light) SetLineWeight(val LineWeight)

func (*Light) SetMaterialHandle

func (this *Light) SetMaterialHandle(val string)

func (*Light) SetOwner

func (e *Light) SetOwner(val *DrawingItem)

func (*Light) SetPlotStyle

func (e *Light) SetPlotStyle(val *DrawingItem)

func (*Light) SetPreviewImageData

func (this *Light) SetPreviewImageData(val []string)

func (*Light) SetShadowMode

func (this *Light) SetShadowMode(val ShadowMode)

func (*Light) SetTransparency

func (this *Light) SetTransparency(val int)

func (*Light) ShadowMode

func (this *Light) ShadowMode() ShadowMode

func (*Light) Transparency

func (this *Light) Transparency() int

type LightAttenuationType

type LightAttenuationType int16
const (
	LightAttenuationTypeNone LightAttenuationType = iota
	LightAttenuationTypeInverseLinear
	LightAttenuationTypeInverseSquare
)

func (LightAttenuationType) String

func (this LightAttenuationType) String() string

type LightType

type LightType int16
const (
	LightTypeDistant LightType = 1
	LightTypePoint   LightType = 2
	LightTypeSpot    LightType = 3
)

func (LightType) String

func (this LightType) String() string

type Line

type Line struct {
	Thickness          float64
	P1                 Point
	P2                 Point
	ExtrusionDirection Vector
	// contains filtered or unexported fields
}

func NewLine

func NewLine() *Line

func (*Line) Color

func (this *Line) Color() Color

func (*Line) Color24Bit

func (this *Line) Color24Bit() int

func (*Line) ColorName

func (this *Line) ColorName() string

func (*Line) Elevation

func (this *Line) Elevation() float64

func (*Line) Handle

func (this *Line) Handle() Handle

func (*Line) ImageByteCount

func (this *Line) ImageByteCount() int

func (*Line) IsInPaperSpace

func (this *Line) IsInPaperSpace() bool

func (*Line) IsVisible

func (this *Line) IsVisible() bool

func (*Line) Layer

func (this *Line) Layer() string

func (*Line) LineTypeName

func (this *Line) LineTypeName() string

func (*Line) LineTypeScale

func (this *Line) LineTypeScale() float64

func (*Line) LineWeight

func (this *Line) LineWeight() LineWeight

func (*Line) MaterialHandle

func (this *Line) MaterialHandle() string

func (*Line) Owner

func (e *Line) Owner() *DrawingItem

func (*Line) PlotStyle

func (e *Line) PlotStyle() *DrawingItem

func (*Line) PreviewImageData

func (this *Line) PreviewImageData() []string

func (*Line) SetColor

func (this *Line) SetColor(val Color)

func (*Line) SetColor24Bit

func (this *Line) SetColor24Bit(val int)

func (*Line) SetColorName

func (this *Line) SetColorName(val string)

func (*Line) SetElevation

func (this *Line) SetElevation(val float64)

func (*Line) SetHandle

func (this *Line) SetHandle(val Handle)

func (*Line) SetImageByteCount

func (this *Line) SetImageByteCount(val int)

func (*Line) SetIsInPaperSpace

func (this *Line) SetIsInPaperSpace(val bool)

func (*Line) SetIsVisible

func (this *Line) SetIsVisible(val bool)

func (*Line) SetLayer

func (this *Line) SetLayer(val string)

func (*Line) SetLineTypeName

func (this *Line) SetLineTypeName(val string)

func (*Line) SetLineTypeScale

func (this *Line) SetLineTypeScale(val float64)

func (*Line) SetLineWeight

func (this *Line) SetLineWeight(val LineWeight)

func (*Line) SetMaterialHandle

func (this *Line) SetMaterialHandle(val string)

func (*Line) SetOwner

func (e *Line) SetOwner(val *DrawingItem)

func (*Line) SetPlotStyle

func (e *Line) SetPlotStyle(val *DrawingItem)

func (*Line) SetPreviewImageData

func (this *Line) SetPreviewImageData(val []string)

func (*Line) SetShadowMode

func (this *Line) SetShadowMode(val ShadowMode)

func (*Line) SetTransparency

func (this *Line) SetTransparency(val int)

func (*Line) ShadowMode

func (this *Line) ShadowMode() ShadowMode

func (*Line) Transparency

func (this *Line) Transparency() int

type LineType

type LineType struct {
	Name                        string
	Flags                       int
	Description                 string
	AlignmentCode               int
	ElementCount                int
	TotalPatternLength          float64
	DashDotSpaceLengths         []float64
	ComplexLineTypeElementTypes []int16
	ShapeNumbers                []int16
	StyleHandles                []string
	ScaleValues                 []float64
	RotationAngles              []float64
	XOffsets                    []float64
	YOffsets                    []float64
	TextStrings                 []string
	// contains filtered or unexported fields
}

func NewLineType

func NewLineType() *LineType

func (*LineType) Handle

func (this *LineType) Handle() Handle

func (*LineType) SetHandle

func (this *LineType) SetHandle(val Handle)

type LineTypeStyle

type LineTypeStyle int16
const (
	LineTypeStyleOff LineTypeStyle = iota
	LineTypeStyleSolid
	LineTypeStyleDashed
	LineTypeStyleDotted
	LineTypeStyleShortDash
	LineTypeStyleMediumDash
	LineTypeStyleLongDash
	LineTypeStyleDoubleShortDash
	LineTypeStyleDoubleMediumDash
	LineTypeStyleDoubleLongDash
	LineTypeStyleMediumLongDash
	LineTypeStyleSparseDot
)

func (LineTypeStyle) String

func (this LineTypeStyle) String() string

type LineWeight

type LineWeight int16

LineWeight represents a plotted drawing elements line weight.

const (
	// LineWeightStandard represents the standard line weight.
	LineWeightStandard LineWeight = -3

	// LineWeightByLayer represents a line weight inherited from the item's layer.
	LineWeightByLayer LineWeight = -2

	// LineWeightByBlock represents a line weight inherited from the item's block.
	LineWeightByBlock LineWeight = -1
)

func NewLineWeightByBlock

func NewLineWeightByBlock() LineWeight

NewLineWeightByBlock creates a line weight that is inherited from the item's block.

func NewLineWeightByLayer

func NewLineWeightByLayer() LineWeight

NewLineWeightByLayer creates a line weight that is inherited from the item's layer.

func NewLineWeightStandard

func NewLineWeightStandard() LineWeight

NewLineWeightStandard creates a new standard line weight.

func (*LineWeight) ByBlock

func (l *LineWeight) ByBlock() bool

ByBlock returns true if the line weight is inherited from the item's block.

func (*LineWeight) ByLayer

func (l *LineWeight) ByLayer() bool

ByLayer returns true if the line weight is inherited from the item's layer.

func (*LineWeight) Custom

func (l *LineWeight) Custom() bool

Custom returns true if the line weight is a custom value. To retreive the custom value, use `int16(lineWeight)`.

func (*LineWeight) SetByBlock

func (l *LineWeight) SetByBlock()

SetByBlock sets the line weight to inherit from the item's block.

func (*LineWeight) SetByLayer

func (l *LineWeight) SetByLayer()

SetByLayer sets the line weight to inherit from the item's layer.

func (*LineWeight) SetCustom

func (l *LineWeight) SetCustom(val int16)

SetCustom sets the line weight to a custom value.

func (*LineWeight) SetStandard

func (l *LineWeight) SetStandard()

SetStandard sets the line weight to the standard value.

func (*LineWeight) Standard

func (l *LineWeight) Standard() bool

Standard returns true if the line weight is the standard value.

type LoftedObjectNormalMode

type LoftedObjectNormalMode int16
const (
	LoftedObjectNormalModeRuled LoftedObjectNormalMode = iota
	LoftedObjectNormalModeSmoothFit
	LoftedObjectNormalModeStartCrossSection
	LoftedObjectNormalModeEndCrossSection
	LoftedObjectNormalModeStartAndEndCrossSections
	LoftedObjectNormalModeAllCrossSections
	LoftedObjectNormalModeUseDraftAngleAndMagnitude
)

func (LoftedObjectNormalMode) String

func (this LoftedObjectNormalMode) String() string

type LongCodePairValue

type LongCodePairValue struct {
	Value int64
}

LongCodePairValue represents a long integer code pair value.

type LwVertex

type LwVertex struct {
	X             float64
	Y             float64
	ID            int
	StartingWidth float64
	EndingWidth   float64
	Bulge         float64
}

LwVertex represents a vertex of an LWPolyline

func NewLwVertex

func NewLwVertex() *LwVertex

NewLwVertex creates a new LwVertex for an LWPolyline

type MLine

type MLine struct {
	StyleName string

	ScaleFactor   float64
	Justification Justification
	Flags         int

	StyleElementCount int
	StartPoint        Point
	Normal            Vector
	Vertices          []Point

	SegmentDirections []Point

	MiterDirections []Point

	Parameters []float64

	AreaFillParameters []float64
	// contains filtered or unexported fields
}

func NewMLine

func NewMLine() *MLine

func (*MLine) AddAreaFillParameters

func (this *MLine) AddAreaFillParameters(val float64)

func (*MLine) AddMiterDirections

func (this *MLine) AddMiterDirections(val Point)

func (*MLine) AddParameters

func (this *MLine) AddParameters(val float64)

func (*MLine) AddSegmentDirections

func (this *MLine) AddSegmentDirections(val Point)

func (*MLine) AddVertices

func (this *MLine) AddVertices(val Point)

func (*MLine) AddmiterDirectionX

func (this *MLine) AddmiterDirectionX(val float64)

func (*MLine) AddmiterDirectionY

func (this *MLine) AddmiterDirectionY(val float64)

func (*MLine) AddmiterDirectionZ

func (this *MLine) AddmiterDirectionZ(val float64)

func (*MLine) AddsegmentDirectionX

func (this *MLine) AddsegmentDirectionX(val float64)

func (*MLine) AddsegmentDirectionY

func (this *MLine) AddsegmentDirectionY(val float64)

func (*MLine) AddsegmentDirectionZ

func (this *MLine) AddsegmentDirectionZ(val float64)

func (*MLine) AddvertexX

func (this *MLine) AddvertexX(val float64)

func (*MLine) AddvertexY

func (this *MLine) AddvertexY(val float64)

func (*MLine) AddvertexZ

func (this *MLine) AddvertexZ(val float64)

func (*MLine) ClearAreaFillParameters

func (this *MLine) ClearAreaFillParameters()

func (*MLine) ClearMiterDirections

func (this *MLine) ClearMiterDirections()

func (*MLine) ClearParameters

func (this *MLine) ClearParameters()

func (*MLine) ClearSegmentDirections

func (this *MLine) ClearSegmentDirections()

func (*MLine) ClearVertices

func (this *MLine) ClearVertices()

func (*MLine) ClearmiterDirectionX

func (this *MLine) ClearmiterDirectionX()

func (*MLine) ClearmiterDirectionY

func (this *MLine) ClearmiterDirectionY()

func (*MLine) ClearmiterDirectionZ

func (this *MLine) ClearmiterDirectionZ()

func (*MLine) ClearsegmentDirectionX

func (this *MLine) ClearsegmentDirectionX()

func (*MLine) ClearsegmentDirectionY

func (this *MLine) ClearsegmentDirectionY()

func (*MLine) ClearsegmentDirectionZ

func (this *MLine) ClearsegmentDirectionZ()

func (*MLine) ClearvertexX

func (this *MLine) ClearvertexX()

func (*MLine) ClearvertexY

func (this *MLine) ClearvertexY()

func (*MLine) ClearvertexZ

func (this *MLine) ClearvertexZ()

func (*MLine) Color

func (this *MLine) Color() Color

func (*MLine) Color24Bit

func (this *MLine) Color24Bit() int

func (*MLine) ColorName

func (this *MLine) ColorName() string

func (*MLine) Elevation

func (this *MLine) Elevation() float64

func (*MLine) Handle

func (this *MLine) Handle() Handle

func (*MLine) HasAtLeastOneVertex

func (this *MLine) HasAtLeastOneVertex() bool

HasAtLeastOneVertex status flag.

func (*MLine) ImageByteCount

func (this *MLine) ImageByteCount() int

func (*MLine) IsClosed

func (this *MLine) IsClosed() bool

IsClosed status flag.

func (*MLine) IsInPaperSpace

func (this *MLine) IsInPaperSpace() bool

func (*MLine) IsVisible

func (this *MLine) IsVisible() bool

func (*MLine) Layer

func (this *MLine) Layer() string

func (*MLine) LineTypeName

func (this *MLine) LineTypeName() string

func (*MLine) LineTypeScale

func (this *MLine) LineTypeScale() float64

func (*MLine) LineWeight

func (this *MLine) LineWeight() LineWeight

func (*MLine) MaterialHandle

func (this *MLine) MaterialHandle() string

func (*MLine) Owner

func (e *MLine) Owner() *DrawingItem

func (*MLine) PlotStyle

func (e *MLine) PlotStyle() *DrawingItem

func (*MLine) PreviewImageData

func (this *MLine) PreviewImageData() []string

func (*MLine) SetColor

func (this *MLine) SetColor(val Color)

func (*MLine) SetColor24Bit

func (this *MLine) SetColor24Bit(val int)

func (*MLine) SetColorName

func (this *MLine) SetColorName(val string)

func (*MLine) SetElevation

func (this *MLine) SetElevation(val float64)

func (*MLine) SetHandle

func (this *MLine) SetHandle(val Handle)

func (*MLine) SetHasAtLeastOneVertex

func (this *MLine) SetHasAtLeastOneVertex(val bool)

HasAtLeastOneVertex status flag.

func (*MLine) SetImageByteCount

func (this *MLine) SetImageByteCount(val int)

func (*MLine) SetIsClosed

func (this *MLine) SetIsClosed(val bool)

IsClosed status flag.

func (*MLine) SetIsInPaperSpace

func (this *MLine) SetIsInPaperSpace(val bool)

func (*MLine) SetIsVisible

func (this *MLine) SetIsVisible(val bool)

func (*MLine) SetLayer

func (this *MLine) SetLayer(val string)

func (*MLine) SetLineTypeName

func (this *MLine) SetLineTypeName(val string)

func (*MLine) SetLineTypeScale

func (this *MLine) SetLineTypeScale(val float64)

func (*MLine) SetLineWeight

func (this *MLine) SetLineWeight(val LineWeight)

func (*MLine) SetMaterialHandle

func (this *MLine) SetMaterialHandle(val string)

func (*MLine) SetOwner

func (e *MLine) SetOwner(val *DrawingItem)

func (*MLine) SetPlotStyle

func (e *MLine) SetPlotStyle(val *DrawingItem)

func (*MLine) SetPreviewImageData

func (this *MLine) SetPreviewImageData(val []string)

func (*MLine) SetShadowMode

func (this *MLine) SetShadowMode(val ShadowMode)

func (*MLine) SetSuppressEndCaps

func (this *MLine) SetSuppressEndCaps(val bool)

SuppressEndCaps status flag.

func (*MLine) SetSuppressStartCaps

func (this *MLine) SetSuppressStartCaps(val bool)

SuppressStartCaps status flag.

func (*MLine) SetTransparency

func (this *MLine) SetTransparency(val int)

func (*MLine) ShadowMode

func (this *MLine) ShadowMode() ShadowMode

func (*MLine) SuppressEndCaps

func (this *MLine) SuppressEndCaps() bool

SuppressEndCaps status flag.

func (*MLine) SuppressStartCaps

func (this *MLine) SuppressStartCaps() bool

SuppressStartCaps status flag.

func (*MLine) Transparency

func (this *MLine) Transparency() int

type MText

type MText struct {
	InsertionPoint                  Point
	InitialTextHeight               float64
	ReferenceRectangleWidth         float64
	AttachmentPoint                 AttachmentPoint
	DrawingDirection                DrawingDirection
	ExtendedText                    []string
	Text                            string
	TextStyleName                   string
	ExtrusionDirection              Vector
	XAxisDirection                  Vector
	HorizontalWidth                 float64
	VerticalHeight                  float64
	RotationAngle                   float64
	LineSpacingStyle                MTextLineSpacingStyle
	LineSpacingFactor               float64
	BackgroundFillSetting           BackgroundFillSetting
	BackgroundColorRGB              int
	BackgroundColorName             string
	FillBoxScale                    float64
	BackgroundFillColor             Color
	BackgroundFillColorTransparency int
	ColumnType                      int16

	IsColumnFlowReversed bool
	IsColumnAutoHeight   bool
	ColumnWidth          float64
	ColumnGutter         float64
	ColumnHeights        []float64
	// contains filtered or unexported fields
}

func NewMText

func NewMText() *MText

func (*MText) AddColumnHeights

func (this *MText) AddColumnHeights(val float64)

func (*MText) AddExtendedText

func (this *MText) AddExtendedText(val string)

func (*MText) ClearColumnHeights

func (this *MText) ClearColumnHeights()

func (*MText) ClearExtendedText

func (this *MText) ClearExtendedText()

func (*MText) Color

func (this *MText) Color() Color

func (*MText) Color24Bit

func (this *MText) Color24Bit() int

func (*MText) ColorName

func (this *MText) ColorName() string

func (*MText) Elevation

func (this *MText) Elevation() float64

func (*MText) Handle

func (this *MText) Handle() Handle

func (*MText) ImageByteCount

func (this *MText) ImageByteCount() int

func (*MText) IsInPaperSpace

func (this *MText) IsInPaperSpace() bool

func (*MText) IsVisible

func (this *MText) IsVisible() bool

func (*MText) Layer

func (this *MText) Layer() string

func (*MText) LineTypeName

func (this *MText) LineTypeName() string

func (*MText) LineTypeScale

func (this *MText) LineTypeScale() float64

func (*MText) LineWeight

func (this *MText) LineWeight() LineWeight

func (*MText) MaterialHandle

func (this *MText) MaterialHandle() string

func (*MText) Owner

func (e *MText) Owner() *DrawingItem

func (*MText) PlotStyle

func (e *MText) PlotStyle() *DrawingItem

func (*MText) PreviewImageData

func (this *MText) PreviewImageData() []string

func (*MText) SetColor

func (this *MText) SetColor(val Color)

func (*MText) SetColor24Bit

func (this *MText) SetColor24Bit(val int)

func (*MText) SetColorName

func (this *MText) SetColorName(val string)

func (*MText) SetElevation

func (this *MText) SetElevation(val float64)

func (*MText) SetHandle

func (this *MText) SetHandle(val Handle)

func (*MText) SetImageByteCount

func (this *MText) SetImageByteCount(val int)

func (*MText) SetIsInPaperSpace

func (this *MText) SetIsInPaperSpace(val bool)

func (*MText) SetIsVisible

func (this *MText) SetIsVisible(val bool)

func (*MText) SetLayer

func (this *MText) SetLayer(val string)

func (*MText) SetLineTypeName

func (this *MText) SetLineTypeName(val string)

func (*MText) SetLineTypeScale

func (this *MText) SetLineTypeScale(val float64)

func (*MText) SetLineWeight

func (this *MText) SetLineWeight(val LineWeight)

func (*MText) SetMaterialHandle

func (this *MText) SetMaterialHandle(val string)

func (*MText) SetOwner

func (e *MText) SetOwner(val *DrawingItem)

func (*MText) SetPlotStyle

func (e *MText) SetPlotStyle(val *DrawingItem)

func (*MText) SetPreviewImageData

func (this *MText) SetPreviewImageData(val []string)

func (*MText) SetShadowMode

func (this *MText) SetShadowMode(val ShadowMode)

func (*MText) SetTransparency

func (this *MText) SetTransparency(val int)

func (*MText) ShadowMode

func (this *MText) ShadowMode() ShadowMode

func (*MText) Transparency

func (this *MText) Transparency() int

type MTextFlag

type MTextFlag int16
const (
	MTextFlagMultilineAttribute                   MTextFlag = 2
	MTextFlagConstantMultilineAttributeDefinition MTextFlag = 4
)

func (MTextFlag) String

func (this MTextFlag) String() string

type MTextLineSpacingStyle

type MTextLineSpacingStyle int16
const (
	MTextLineSpacingStyleAtLeast MTextLineSpacingStyle = 1
	MTextLineSpacingStyleExact   MTextLineSpacingStyle = 2
)

func (MTextLineSpacingStyle) String

func (this MTextLineSpacingStyle) String() string

type ModelPoint

type ModelPoint struct {
	Location           Point
	Thickness          float64
	ExtrusionDirection Vector
	Angle              float64
	// contains filtered or unexported fields
}

func NewModelPoint

func NewModelPoint() *ModelPoint

func (*ModelPoint) Color

func (this *ModelPoint) Color() Color

func (*ModelPoint) Color24Bit

func (this *ModelPoint) Color24Bit() int

func (*ModelPoint) ColorName

func (this *ModelPoint) ColorName() string

func (*ModelPoint) Elevation

func (this *ModelPoint) Elevation() float64

func (*ModelPoint) Handle

func (this *ModelPoint) Handle() Handle

func (*ModelPoint) ImageByteCount

func (this *ModelPoint) ImageByteCount() int

func (*ModelPoint) IsInPaperSpace

func (this *ModelPoint) IsInPaperSpace() bool

func (*ModelPoint) IsVisible

func (this *ModelPoint) IsVisible() bool

func (*ModelPoint) Layer

func (this *ModelPoint) Layer() string

func (*ModelPoint) LineTypeName

func (this *ModelPoint) LineTypeName() string

func (*ModelPoint) LineTypeScale

func (this *ModelPoint) LineTypeScale() float64

func (*ModelPoint) LineWeight

func (this *ModelPoint) LineWeight() LineWeight

func (*ModelPoint) MaterialHandle

func (this *ModelPoint) MaterialHandle() string

func (*ModelPoint) Owner

func (e *ModelPoint) Owner() *DrawingItem

func (*ModelPoint) PlotStyle

func (e *ModelPoint) PlotStyle() *DrawingItem

func (*ModelPoint) PreviewImageData

func (this *ModelPoint) PreviewImageData() []string

func (*ModelPoint) SetColor

func (this *ModelPoint) SetColor(val Color)

func (*ModelPoint) SetColor24Bit

func (this *ModelPoint) SetColor24Bit(val int)

func (*ModelPoint) SetColorName

func (this *ModelPoint) SetColorName(val string)

func (*ModelPoint) SetElevation

func (this *ModelPoint) SetElevation(val float64)

func (*ModelPoint) SetHandle

func (this *ModelPoint) SetHandle(val Handle)

func (*ModelPoint) SetImageByteCount

func (this *ModelPoint) SetImageByteCount(val int)

func (*ModelPoint) SetIsInPaperSpace

func (this *ModelPoint) SetIsInPaperSpace(val bool)

func (*ModelPoint) SetIsVisible

func (this *ModelPoint) SetIsVisible(val bool)

func (*ModelPoint) SetLayer

func (this *ModelPoint) SetLayer(val string)

func (*ModelPoint) SetLineTypeName

func (this *ModelPoint) SetLineTypeName(val string)

func (*ModelPoint) SetLineTypeScale

func (this *ModelPoint) SetLineTypeScale(val float64)

func (*ModelPoint) SetLineWeight

func (this *ModelPoint) SetLineWeight(val LineWeight)

func (*ModelPoint) SetMaterialHandle

func (this *ModelPoint) SetMaterialHandle(val string)

func (*ModelPoint) SetOwner

func (e *ModelPoint) SetOwner(val *DrawingItem)

func (*ModelPoint) SetPlotStyle

func (e *ModelPoint) SetPlotStyle(val *DrawingItem)

func (*ModelPoint) SetPreviewImageData

func (this *ModelPoint) SetPreviewImageData(val []string)

func (*ModelPoint) SetShadowMode

func (this *ModelPoint) SetShadowMode(val ShadowMode)

func (*ModelPoint) SetTransparency

func (this *ModelPoint) SetTransparency(val int)

func (*ModelPoint) ShadowMode

func (this *ModelPoint) ShadowMode() ShadowMode

func (*ModelPoint) Transparency

func (this *ModelPoint) Transparency() int

type NonAngularUnits

type NonAngularUnits int16
const (
	NonAngularUnitsScientific NonAngularUnits = iota
	NonAngularUnitsDecimal
	NonAngularUnitsEngineering
	NonAngularUnitsArchitectural
	NonAngularUnitsFractional
	NonAngularUnitsWindowsDesktop
)

func (NonAngularUnits) String

func (this NonAngularUnits) String() string

type Ole2Frame

type Ole2Frame struct {
	VersionNumber    int
	Description      string
	UpperLeftCorner  Point
	LowerRightCorner Point
	ObjectType       OleObjectType
	TileMode         TileModeDescriptor

	BinaryData []byte
	// contains filtered or unexported fields
}

func NewOle2Frame

func NewOle2Frame() *Ole2Frame

func (*Ole2Frame) AddBinaryData

func (this *Ole2Frame) AddBinaryData(val byte)

func (*Ole2Frame) AddbinaryDataStrings

func (this *Ole2Frame) AddbinaryDataStrings(val string)

func (*Ole2Frame) ClearBinaryData

func (this *Ole2Frame) ClearBinaryData()

func (*Ole2Frame) ClearbinaryDataStrings

func (this *Ole2Frame) ClearbinaryDataStrings()

func (*Ole2Frame) Color

func (this *Ole2Frame) Color() Color

func (*Ole2Frame) Color24Bit

func (this *Ole2Frame) Color24Bit() int

func (*Ole2Frame) ColorName

func (this *Ole2Frame) ColorName() string

func (*Ole2Frame) Elevation

func (this *Ole2Frame) Elevation() float64

func (*Ole2Frame) Handle

func (this *Ole2Frame) Handle() Handle

func (*Ole2Frame) ImageByteCount

func (this *Ole2Frame) ImageByteCount() int

func (*Ole2Frame) IsInPaperSpace

func (this *Ole2Frame) IsInPaperSpace() bool

func (*Ole2Frame) IsVisible

func (this *Ole2Frame) IsVisible() bool

func (*Ole2Frame) Layer

func (this *Ole2Frame) Layer() string

func (*Ole2Frame) LineTypeName

func (this *Ole2Frame) LineTypeName() string

func (*Ole2Frame) LineTypeScale

func (this *Ole2Frame) LineTypeScale() float64

func (*Ole2Frame) LineWeight

func (this *Ole2Frame) LineWeight() LineWeight

func (*Ole2Frame) MaterialHandle

func (this *Ole2Frame) MaterialHandle() string

func (*Ole2Frame) Owner

func (e *Ole2Frame) Owner() *DrawingItem

func (*Ole2Frame) PlotStyle

func (e *Ole2Frame) PlotStyle() *DrawingItem

func (*Ole2Frame) PreviewImageData

func (this *Ole2Frame) PreviewImageData() []string

func (*Ole2Frame) SetColor

func (this *Ole2Frame) SetColor(val Color)

func (*Ole2Frame) SetColor24Bit

func (this *Ole2Frame) SetColor24Bit(val int)

func (*Ole2Frame) SetColorName

func (this *Ole2Frame) SetColorName(val string)

func (*Ole2Frame) SetElevation

func (this *Ole2Frame) SetElevation(val float64)

func (*Ole2Frame) SetHandle

func (this *Ole2Frame) SetHandle(val Handle)

func (*Ole2Frame) SetImageByteCount

func (this *Ole2Frame) SetImageByteCount(val int)

func (*Ole2Frame) SetIsInPaperSpace

func (this *Ole2Frame) SetIsInPaperSpace(val bool)

func (*Ole2Frame) SetIsVisible

func (this *Ole2Frame) SetIsVisible(val bool)

func (*Ole2Frame) SetLayer

func (this *Ole2Frame) SetLayer(val string)

func (*Ole2Frame) SetLineTypeName

func (this *Ole2Frame) SetLineTypeName(val string)

func (*Ole2Frame) SetLineTypeScale

func (this *Ole2Frame) SetLineTypeScale(val float64)

func (*Ole2Frame) SetLineWeight

func (this *Ole2Frame) SetLineWeight(val LineWeight)

func (*Ole2Frame) SetMaterialHandle

func (this *Ole2Frame) SetMaterialHandle(val string)

func (*Ole2Frame) SetOwner

func (e *Ole2Frame) SetOwner(val *DrawingItem)

func (*Ole2Frame) SetPlotStyle

func (e *Ole2Frame) SetPlotStyle(val *DrawingItem)

func (*Ole2Frame) SetPreviewImageData

func (this *Ole2Frame) SetPreviewImageData(val []string)

func (*Ole2Frame) SetShadowMode

func (this *Ole2Frame) SetShadowMode(val ShadowMode)

func (*Ole2Frame) SetTransparency

func (this *Ole2Frame) SetTransparency(val int)

func (*Ole2Frame) ShadowMode

func (this *Ole2Frame) ShadowMode() ShadowMode

func (*Ole2Frame) Transparency

func (this *Ole2Frame) Transparency() int

type OleFrame

type OleFrame struct {
	VersionNumber int

	BinaryData []byte
	// contains filtered or unexported fields
}

func NewOleFrame

func NewOleFrame() *OleFrame

func (*OleFrame) AddBinaryData

func (this *OleFrame) AddBinaryData(val byte)

func (*OleFrame) AddbinaryDataStrings

func (this *OleFrame) AddbinaryDataStrings(val string)

func (*OleFrame) ClearBinaryData

func (this *OleFrame) ClearBinaryData()

func (*OleFrame) ClearbinaryDataStrings

func (this *OleFrame) ClearbinaryDataStrings()

func (*OleFrame) Color

func (this *OleFrame) Color() Color

func (*OleFrame) Color24Bit

func (this *OleFrame) Color24Bit() int

func (*OleFrame) ColorName

func (this *OleFrame) ColorName() string

func (*OleFrame) Elevation

func (this *OleFrame) Elevation() float64

func (*OleFrame) Handle

func (this *OleFrame) Handle() Handle

func (*OleFrame) ImageByteCount

func (this *OleFrame) ImageByteCount() int

func (*OleFrame) IsInPaperSpace

func (this *OleFrame) IsInPaperSpace() bool

func (*OleFrame) IsVisible

func (this *OleFrame) IsVisible() bool

func (*OleFrame) Layer

func (this *OleFrame) Layer() string

func (*OleFrame) LineTypeName

func (this *OleFrame) LineTypeName() string

func (*OleFrame) LineTypeScale

func (this *OleFrame) LineTypeScale() float64

func (*OleFrame) LineWeight

func (this *OleFrame) LineWeight() LineWeight

func (*OleFrame) MaterialHandle

func (this *OleFrame) MaterialHandle() string

func (*OleFrame) Owner

func (e *OleFrame) Owner() *DrawingItem

func (*OleFrame) PlotStyle

func (e *OleFrame) PlotStyle() *DrawingItem

func (*OleFrame) PreviewImageData

func (this *OleFrame) PreviewImageData() []string

func (*OleFrame) SetColor

func (this *OleFrame) SetColor(val Color)

func (*OleFrame) SetColor24Bit

func (this *OleFrame) SetColor24Bit(val int)

func (*OleFrame) SetColorName

func (this *OleFrame) SetColorName(val string)

func (*OleFrame) SetElevation

func (this *OleFrame) SetElevation(val float64)

func (*OleFrame) SetHandle

func (this *OleFrame) SetHandle(val Handle)

func (*OleFrame) SetImageByteCount

func (this *OleFrame) SetImageByteCount(val int)

func (*OleFrame) SetIsInPaperSpace

func (this *OleFrame) SetIsInPaperSpace(val bool)

func (*OleFrame) SetIsVisible

func (this *OleFrame) SetIsVisible(val bool)

func (*OleFrame) SetLayer

func (this *OleFrame) SetLayer(val string)

func (*OleFrame) SetLineTypeName

func (this *OleFrame) SetLineTypeName(val string)

func (*OleFrame) SetLineTypeScale

func (this *OleFrame) SetLineTypeScale(val float64)

func (*OleFrame) SetLineWeight

func (this *OleFrame) SetLineWeight(val LineWeight)

func (*OleFrame) SetMaterialHandle

func (this *OleFrame) SetMaterialHandle(val string)

func (*OleFrame) SetOwner

func (e *OleFrame) SetOwner(val *DrawingItem)

func (*OleFrame) SetPlotStyle

func (e *OleFrame) SetPlotStyle(val *DrawingItem)

func (*OleFrame) SetPreviewImageData

func (this *OleFrame) SetPreviewImageData(val []string)

func (*OleFrame) SetShadowMode

func (this *OleFrame) SetShadowMode(val ShadowMode)

func (*OleFrame) SetTransparency

func (this *OleFrame) SetTransparency(val int)

func (*OleFrame) ShadowMode

func (this *OleFrame) ShadowMode() ShadowMode

func (*OleFrame) Transparency

func (this *OleFrame) Transparency() int

type OleObjectType

type OleObjectType int16
const (
	OleObjectTypeLink     OleObjectType = 1
	OleObjectTypeEmbedded OleObjectType = 2
	OleObjectTypeStatic   OleObjectType = 3
)

func (OleObjectType) String

func (this OleObjectType) String() string

type OrdinateDimension

type OrdinateDimension struct {
	DefinitionPoint2 Point
	DefinitionPoint3 Point
	// contains filtered or unexported fields
}

func NewOrdinateDimension

func NewOrdinateDimension() *OrdinateDimension

func (*OrdinateDimension) ActualMeasurement

func (this *OrdinateDimension) ActualMeasurement() float64

func (*OrdinateDimension) AttachmentPoint

func (this *OrdinateDimension) AttachmentPoint() AttachmentPoint

func (*OrdinateDimension) BlockName

func (this *OrdinateDimension) BlockName() string

func (*OrdinateDimension) Color

func (this *OrdinateDimension) Color() Color

func (*OrdinateDimension) Color24Bit

func (this *OrdinateDimension) Color24Bit() int

func (*OrdinateDimension) ColorName

func (this *OrdinateDimension) ColorName() string

func (*OrdinateDimension) DefinitionPoint1

func (this *OrdinateDimension) DefinitionPoint1() Point

func (*OrdinateDimension) DimensionStyleName

func (this *OrdinateDimension) DimensionStyleName() string

func (*OrdinateDimension) DimensionType

func (this *OrdinateDimension) DimensionType() DimensionType

func (*OrdinateDimension) Elevation

func (this *OrdinateDimension) Elevation() float64

func (*OrdinateDimension) Handle

func (this *OrdinateDimension) Handle() Handle

func (*OrdinateDimension) HorizontalDirectionAngle

func (this *OrdinateDimension) HorizontalDirectionAngle() float64

func (*OrdinateDimension) ImageByteCount

func (this *OrdinateDimension) ImageByteCount() int

func (*OrdinateDimension) IsInPaperSpace

func (this *OrdinateDimension) IsInPaperSpace() bool

func (*OrdinateDimension) IsVisible

func (this *OrdinateDimension) IsVisible() bool

func (*OrdinateDimension) Layer

func (this *OrdinateDimension) Layer() string

func (*OrdinateDimension) LineTypeName

func (this *OrdinateDimension) LineTypeName() string

func (*OrdinateDimension) LineTypeScale

func (this *OrdinateDimension) LineTypeScale() float64

func (*OrdinateDimension) LineWeight

func (this *OrdinateDimension) LineWeight() LineWeight

func (*OrdinateDimension) MaterialHandle

func (this *OrdinateDimension) MaterialHandle() string

func (*OrdinateDimension) Normal

func (this *OrdinateDimension) Normal() Vector

func (*OrdinateDimension) Owner

func (e *OrdinateDimension) Owner() *DrawingItem

func (*OrdinateDimension) PlotStyle

func (e *OrdinateDimension) PlotStyle() *DrawingItem

func (*OrdinateDimension) PreviewImageData

func (this *OrdinateDimension) PreviewImageData() []string

func (*OrdinateDimension) SetActualMeasurement

func (this *OrdinateDimension) SetActualMeasurement(val float64)

func (*OrdinateDimension) SetAttachmentPoint

func (this *OrdinateDimension) SetAttachmentPoint(val AttachmentPoint)

func (*OrdinateDimension) SetBlockName

func (this *OrdinateDimension) SetBlockName(val string)

func (*OrdinateDimension) SetColor

func (this *OrdinateDimension) SetColor(val Color)

func (*OrdinateDimension) SetColor24Bit

func (this *OrdinateDimension) SetColor24Bit(val int)

func (*OrdinateDimension) SetColorName

func (this *OrdinateDimension) SetColorName(val string)

func (*OrdinateDimension) SetDefinitionPoint1

func (this *OrdinateDimension) SetDefinitionPoint1(val Point)

func (*OrdinateDimension) SetDimensionStyleName

func (this *OrdinateDimension) SetDimensionStyleName(val string)

func (*OrdinateDimension) SetDimensionType

func (this *OrdinateDimension) SetDimensionType(val DimensionType)

func (*OrdinateDimension) SetElevation

func (this *OrdinateDimension) SetElevation(val float64)

func (*OrdinateDimension) SetHandle

func (this *OrdinateDimension) SetHandle(val Handle)

func (*OrdinateDimension) SetHorizontalDirectionAngle

func (this *OrdinateDimension) SetHorizontalDirectionAngle(val float64)

func (*OrdinateDimension) SetImageByteCount

func (this *OrdinateDimension) SetImageByteCount(val int)

func (*OrdinateDimension) SetIsInPaperSpace

func (this *OrdinateDimension) SetIsInPaperSpace(val bool)

func (*OrdinateDimension) SetIsVisible

func (this *OrdinateDimension) SetIsVisible(val bool)

func (*OrdinateDimension) SetLayer

func (this *OrdinateDimension) SetLayer(val string)

func (*OrdinateDimension) SetLineTypeName

func (this *OrdinateDimension) SetLineTypeName(val string)

func (*OrdinateDimension) SetLineTypeScale

func (this *OrdinateDimension) SetLineTypeScale(val float64)

func (*OrdinateDimension) SetLineWeight

func (this *OrdinateDimension) SetLineWeight(val LineWeight)

func (*OrdinateDimension) SetMaterialHandle

func (this *OrdinateDimension) SetMaterialHandle(val string)

func (*OrdinateDimension) SetNormal

func (this *OrdinateDimension) SetNormal(val Vector)

func (*OrdinateDimension) SetOwner

func (e *OrdinateDimension) SetOwner(val *DrawingItem)

func (*OrdinateDimension) SetPlotStyle

func (e *OrdinateDimension) SetPlotStyle(val *DrawingItem)

func (*OrdinateDimension) SetPreviewImageData

func (this *OrdinateDimension) SetPreviewImageData(val []string)

func (*OrdinateDimension) SetShadowMode

func (this *OrdinateDimension) SetShadowMode(val ShadowMode)

func (*OrdinateDimension) SetText

func (this *OrdinateDimension) SetText(val string)

func (*OrdinateDimension) SetTextLineSpacingFactor

func (this *OrdinateDimension) SetTextLineSpacingFactor(val float64)

func (*OrdinateDimension) SetTextLineSpacingStyle

func (this *OrdinateDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*OrdinateDimension) SetTextMidPoint

func (this *OrdinateDimension) SetTextMidPoint(val Point)

func (*OrdinateDimension) SetTextRotationAngle

func (this *OrdinateDimension) SetTextRotationAngle(val float64)

func (*OrdinateDimension) SetTransparency

func (this *OrdinateDimension) SetTransparency(val int)

func (*OrdinateDimension) SetVersion

func (this *OrdinateDimension) SetVersion(val Version)

func (*OrdinateDimension) ShadowMode

func (this *OrdinateDimension) ShadowMode() ShadowMode

func (*OrdinateDimension) Text

func (this *OrdinateDimension) Text() string

func (*OrdinateDimension) TextLineSpacingFactor

func (this *OrdinateDimension) TextLineSpacingFactor() float64

func (*OrdinateDimension) TextLineSpacingStyle

func (this *OrdinateDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*OrdinateDimension) TextMidPoint

func (this *OrdinateDimension) TextMidPoint() Point

func (*OrdinateDimension) TextRotationAngle

func (this *OrdinateDimension) TextRotationAngle() float64

func (*OrdinateDimension) Transparency

func (this *OrdinateDimension) Transparency() int

func (*OrdinateDimension) Version

func (this *OrdinateDimension) Version() Version

type OrthographicViewType

type OrthographicViewType int16
const (
	OrthographicViewTypeNone OrthographicViewType = iota
	OrthographicViewTypeTop
	OrthographicViewTypeBottom
	OrthographicViewTypeFront
	OrthographicViewTypeBack
	OrthographicViewTypeLeft
	OrthographicViewTypeRight
)

func (OrthographicViewType) String

func (this OrthographicViewType) String() string

type PdfUnderlay

type PdfUnderlay struct {
	// contains filtered or unexported fields
}

func NewPdfUnderlay

func NewPdfUnderlay() *PdfUnderlay

func (*PdfUnderlay) BoundaryPoints

func (this *PdfUnderlay) BoundaryPoints() []Point

func (*PdfUnderlay) Color

func (this *PdfUnderlay) Color() Color

func (*PdfUnderlay) Color24Bit

func (this *PdfUnderlay) Color24Bit() int

func (*PdfUnderlay) ColorName

func (this *PdfUnderlay) ColorName() string

func (*PdfUnderlay) Contrast

func (this *PdfUnderlay) Contrast() int16

func (*PdfUnderlay) Elevation

func (this *PdfUnderlay) Elevation() float64

func (*PdfUnderlay) Fade

func (this *PdfUnderlay) Fade() int16

func (*PdfUnderlay) Flags

func (this *PdfUnderlay) Flags() int

func (*PdfUnderlay) Handle

func (this *PdfUnderlay) Handle() Handle

func (*PdfUnderlay) ImageByteCount

func (this *PdfUnderlay) ImageByteCount() int

func (*PdfUnderlay) InsertionPoint

func (this *PdfUnderlay) InsertionPoint() Point

func (*PdfUnderlay) IsInPaperSpace

func (this *PdfUnderlay) IsInPaperSpace() bool

func (*PdfUnderlay) IsVisible

func (this *PdfUnderlay) IsVisible() bool

func (*PdfUnderlay) Layer

func (this *PdfUnderlay) Layer() string

func (*PdfUnderlay) LineTypeName

func (this *PdfUnderlay) LineTypeName() string

func (*PdfUnderlay) LineTypeScale

func (this *PdfUnderlay) LineTypeScale() float64

func (*PdfUnderlay) LineWeight

func (this *PdfUnderlay) LineWeight() LineWeight

func (*PdfUnderlay) MaterialHandle

func (this *PdfUnderlay) MaterialHandle() string

func (*PdfUnderlay) Normal

func (this *PdfUnderlay) Normal() Vector

func (*PdfUnderlay) ObjectHandle

func (this *PdfUnderlay) ObjectHandle() string

func (*PdfUnderlay) Owner

func (e *PdfUnderlay) Owner() *DrawingItem

func (*PdfUnderlay) PlotStyle

func (e *PdfUnderlay) PlotStyle() *DrawingItem

func (*PdfUnderlay) PreviewImageData

func (this *PdfUnderlay) PreviewImageData() []string

func (*PdfUnderlay) RotationAngle

func (this *PdfUnderlay) RotationAngle() float64

func (*PdfUnderlay) SetBoundaryPoints

func (this *PdfUnderlay) SetBoundaryPoints(val []Point)

func (*PdfUnderlay) SetColor

func (this *PdfUnderlay) SetColor(val Color)

func (*PdfUnderlay) SetColor24Bit

func (this *PdfUnderlay) SetColor24Bit(val int)

func (*PdfUnderlay) SetColorName

func (this *PdfUnderlay) SetColorName(val string)

func (*PdfUnderlay) SetContrast

func (this *PdfUnderlay) SetContrast(val int16)

func (*PdfUnderlay) SetElevation

func (this *PdfUnderlay) SetElevation(val float64)

func (*PdfUnderlay) SetFade

func (this *PdfUnderlay) SetFade(val int16)

func (*PdfUnderlay) SetFlags

func (this *PdfUnderlay) SetFlags(val int)

func (*PdfUnderlay) SetHandle

func (this *PdfUnderlay) SetHandle(val Handle)

func (*PdfUnderlay) SetImageByteCount

func (this *PdfUnderlay) SetImageByteCount(val int)

func (*PdfUnderlay) SetInsertionPoint

func (this *PdfUnderlay) SetInsertionPoint(val Point)

func (*PdfUnderlay) SetIsInPaperSpace

func (this *PdfUnderlay) SetIsInPaperSpace(val bool)

func (*PdfUnderlay) SetIsVisible

func (this *PdfUnderlay) SetIsVisible(val bool)

func (*PdfUnderlay) SetLayer

func (this *PdfUnderlay) SetLayer(val string)

func (*PdfUnderlay) SetLineTypeName

func (this *PdfUnderlay) SetLineTypeName(val string)

func (*PdfUnderlay) SetLineTypeScale

func (this *PdfUnderlay) SetLineTypeScale(val float64)

func (*PdfUnderlay) SetLineWeight

func (this *PdfUnderlay) SetLineWeight(val LineWeight)

func (*PdfUnderlay) SetMaterialHandle

func (this *PdfUnderlay) SetMaterialHandle(val string)

func (*PdfUnderlay) SetNormal

func (this *PdfUnderlay) SetNormal(val Vector)

func (*PdfUnderlay) SetObjectHandle

func (this *PdfUnderlay) SetObjectHandle(val string)

func (*PdfUnderlay) SetOwner

func (e *PdfUnderlay) SetOwner(val *DrawingItem)

func (*PdfUnderlay) SetPlotStyle

func (e *PdfUnderlay) SetPlotStyle(val *DrawingItem)

func (*PdfUnderlay) SetPreviewImageData

func (this *PdfUnderlay) SetPreviewImageData(val []string)

func (*PdfUnderlay) SetRotationAngle

func (this *PdfUnderlay) SetRotationAngle(val float64)

func (*PdfUnderlay) SetShadowMode

func (this *PdfUnderlay) SetShadowMode(val ShadowMode)

func (*PdfUnderlay) SetTransparency

func (this *PdfUnderlay) SetTransparency(val int)

func (*PdfUnderlay) SetXScale

func (this *PdfUnderlay) SetXScale(val float64)

func (*PdfUnderlay) SetYScale

func (this *PdfUnderlay) SetYScale(val float64)

func (*PdfUnderlay) SetZScale

func (this *PdfUnderlay) SetZScale(val float64)

func (*PdfUnderlay) SetpointX

func (this *PdfUnderlay) SetpointX(val []float64)

func (*PdfUnderlay) SetpointY

func (this *PdfUnderlay) SetpointY(val []float64)

func (*PdfUnderlay) ShadowMode

func (this *PdfUnderlay) ShadowMode() ShadowMode

func (*PdfUnderlay) Transparency

func (this *PdfUnderlay) Transparency() int

func (*PdfUnderlay) XScale

func (this *PdfUnderlay) XScale() float64

func (*PdfUnderlay) YScale

func (this *PdfUnderlay) YScale() float64

func (*PdfUnderlay) ZScale

func (this *PdfUnderlay) ZScale() float64

type PickStyle

type PickStyle int16
const (
	PickStyleNone PickStyle = iota
	PickStyleGroup
	PickStyleAssociativeHatch
	PickStyleGroupAndAssociativeHatch
)

func (PickStyle) String

func (this PickStyle) String() string

type PlotStyle

type PlotStyle int16
const (
	PlotStyleByLayer PlotStyle = iota
	PlotStyleByBlock
	PlotStyleByDictionaryDefault
	PlotStyleByObjectId
)

func (PlotStyle) String

func (this PlotStyle) String() string

type Point

type Point struct {
	X float64
	Y float64
	Z float64
}

The Point struct represents a 3D coordinate.

func NewOrigin

func NewOrigin() *Point

NewOrigin creates a new Point representing the (0, 0, 0) location.

func (*Point) String

func (p *Point) String() string

type PolySketchMode

type PolySketchMode int16
const (
	PolySketchModeSketchLines PolySketchMode = iota
	PolySketchModeSketchPolyLines
)

func (PolySketchMode) String

func (this PolySketchMode) String() string

type Polyline

type Polyline struct {
	Location                Point
	Thickness               float64
	Flags                   int
	DefaultStartingWidth    float64
	DefaultEndingWidth      float64
	PolygonMeshMVertexCount int
	PolygonMeshNVertexCount int
	SmoothSurfaceMDensity   int
	SmoothSurfaceNDensity   int
	SurfaceType             PolylineCurvedAndSmoothSurfaceType
	CLO_PolylineType        PolylineType
	Normal                  Vector
	Vertices                []Vertex
	// contains filtered or unexported fields
}

func NewPolyline

func NewPolyline() *Polyline

func (*Polyline) AddVertices

func (this *Polyline) AddVertices(val Vertex)

func (*Polyline) ClearVertices

func (this *Polyline) ClearVertices()

func (*Polyline) Color

func (this *Polyline) Color() Color

func (*Polyline) Color24Bit

func (this *Polyline) Color24Bit() int

func (*Polyline) ColorName

func (this *Polyline) ColorName() string

func (*Polyline) CurveFitVerticiesAdded

func (this *Polyline) CurveFitVerticiesAdded() bool

CurveFitVerticiesAdded status flag.

func (*Polyline) Elevation

func (this *Polyline) Elevation() float64

func (*Polyline) Handle

func (this *Polyline) Handle() Handle

func (*Polyline) ImageByteCount

func (this *Polyline) ImageByteCount() int

func (*Polyline) Is3DPolygonMesh

func (this *Polyline) Is3DPolygonMesh() bool

Is3DPolygonMesh status flag.

func (*Polyline) Is3DPolyline

func (this *Polyline) Is3DPolyline() bool

Is3DPolyline status flag.

func (*Polyline) IsClosed

func (this *Polyline) IsClosed() bool

IsClosed status flag.

func (*Polyline) IsInPaperSpace

func (this *Polyline) IsInPaperSpace() bool

func (*Polyline) IsLineTypePatternGeneratedContinuously

func (this *Polyline) IsLineTypePatternGeneratedContinuously() bool

IsLineTypePatternGeneratedContinuously status flag.

func (*Polyline) IsPolyfaceMesh

func (this *Polyline) IsPolyfaceMesh() bool

IsPolyfaceMesh status flag.

func (*Polyline) IsPolygonMeshClosedInNDirection

func (this *Polyline) IsPolygonMeshClosedInNDirection() bool

IsPolygonMeshClosedInNDirection status flag.

func (*Polyline) IsVisible

func (this *Polyline) IsVisible() bool

func (*Polyline) Layer

func (this *Polyline) Layer() string

func (*Polyline) LineTypeName

func (this *Polyline) LineTypeName() string

func (*Polyline) LineTypeScale

func (this *Polyline) LineTypeScale() float64

func (*Polyline) LineWeight

func (this *Polyline) LineWeight() LineWeight

func (*Polyline) MaterialHandle

func (this *Polyline) MaterialHandle() string

func (*Polyline) Owner

func (e *Polyline) Owner() *DrawingItem

func (*Polyline) PlotStyle

func (e *Polyline) PlotStyle() *DrawingItem

func (*Polyline) PreviewImageData

func (this *Polyline) PreviewImageData() []string

func (*Polyline) SetColor

func (this *Polyline) SetColor(val Color)

func (*Polyline) SetColor24Bit

func (this *Polyline) SetColor24Bit(val int)

func (*Polyline) SetColorName

func (this *Polyline) SetColorName(val string)

func (*Polyline) SetCurveFitVerticiesAdded

func (this *Polyline) SetCurveFitVerticiesAdded(val bool)

CurveFitVerticiesAdded status flag.

func (*Polyline) SetElevation

func (this *Polyline) SetElevation(val float64)

func (*Polyline) SetHandle

func (this *Polyline) SetHandle(val Handle)

func (*Polyline) SetImageByteCount

func (this *Polyline) SetImageByteCount(val int)

func (*Polyline) SetIs3DPolygonMesh

func (this *Polyline) SetIs3DPolygonMesh(val bool)

Is3DPolygonMesh status flag.

func (*Polyline) SetIs3DPolyline

func (this *Polyline) SetIs3DPolyline(val bool)

Is3DPolyline status flag.

func (*Polyline) SetIsClosed

func (this *Polyline) SetIsClosed(val bool)

IsClosed status flag.

func (*Polyline) SetIsInPaperSpace

func (this *Polyline) SetIsInPaperSpace(val bool)

func (*Polyline) SetIsLineTypePatternGeneratedContinuously

func (this *Polyline) SetIsLineTypePatternGeneratedContinuously(val bool)

IsLineTypePatternGeneratedContinuously status flag.

func (*Polyline) SetIsPolyfaceMesh

func (this *Polyline) SetIsPolyfaceMesh(val bool)

IsPolyfaceMesh status flag.

func (*Polyline) SetIsPolygonMeshClosedInNDirection

func (this *Polyline) SetIsPolygonMeshClosedInNDirection(val bool)

IsPolygonMeshClosedInNDirection status flag.

func (*Polyline) SetIsVisible

func (this *Polyline) SetIsVisible(val bool)

func (*Polyline) SetLayer

func (this *Polyline) SetLayer(val string)

func (*Polyline) SetLineTypeName

func (this *Polyline) SetLineTypeName(val string)

func (*Polyline) SetLineTypeScale

func (this *Polyline) SetLineTypeScale(val float64)

func (*Polyline) SetLineWeight

func (this *Polyline) SetLineWeight(val LineWeight)

func (*Polyline) SetMaterialHandle

func (this *Polyline) SetMaterialHandle(val string)

func (*Polyline) SetOwner

func (e *Polyline) SetOwner(val *DrawingItem)

func (*Polyline) SetPlotStyle

func (e *Polyline) SetPlotStyle(val *DrawingItem)

func (*Polyline) SetPreviewImageData

func (this *Polyline) SetPreviewImageData(val []string)

func (*Polyline) SetShadowMode

func (this *Polyline) SetShadowMode(val ShadowMode)

func (*Polyline) SetSplineFitVerticiesAdded

func (this *Polyline) SetSplineFitVerticiesAdded(val bool)

SplineFitVerticiesAdded status flag.

func (*Polyline) SetTransparency

func (this *Polyline) SetTransparency(val int)

func (*Polyline) ShadowMode

func (this *Polyline) ShadowMode() ShadowMode

func (*Polyline) SplineFitVerticiesAdded

func (this *Polyline) SplineFitVerticiesAdded() bool

SplineFitVerticiesAdded status flag.

func (*Polyline) Transparency

func (this *Polyline) Transparency() int

type PolylineCurvedAndSmoothSurfaceType

type PolylineCurvedAndSmoothSurfaceType int16
const (
	PolylineCurvedAndSmoothSurfaceTypeNone PolylineCurvedAndSmoothSurfaceType = iota
	PolylineCurvedAndSmoothSurfaceTypeQuadraticBSpline
	PolylineCurvedAndSmoothSurfaceTypeCubicBSpline
	PolylineCurvedAndSmoothSurfaceTypeBezier
)

func (PolylineCurvedAndSmoothSurfaceType) String

type PolylineType

type PolylineType int16
const (
	PolylineTypeBaseline PolylineType = iota
	PolylineTypeInternal
	PolylineTypeOutline
)

func (PolylineType) String

func (this PolylineType) String() string

type ProxyEntity

type ProxyEntity struct {
	ProxyEntityClassId       int
	ApplicationEntityClassId int
	GraphicsData             []byte

	EntityData []byte

	ObjectID1  []string
	ObjectID2  []string
	ObjectID3  []string
	ObjectID4  []string
	Terminator int

	OriginalDataFormatIsDxf bool
	// contains filtered or unexported fields
}

func NewProxyEntity

func NewProxyEntity() *ProxyEntity

func (*ProxyEntity) AddObjectID1

func (this *ProxyEntity) AddObjectID1(val string)

func (*ProxyEntity) AddObjectID2

func (this *ProxyEntity) AddObjectID2(val string)

func (*ProxyEntity) AddObjectID3

func (this *ProxyEntity) AddObjectID3(val string)

func (*ProxyEntity) AddObjectID4

func (this *ProxyEntity) AddObjectID4(val string)

func (*ProxyEntity) AddentityDataString

func (this *ProxyEntity) AddentityDataString(val string)

func (*ProxyEntity) AddgraphicsDataString

func (this *ProxyEntity) AddgraphicsDataString(val string)

func (*ProxyEntity) ClearObjectID1

func (this *ProxyEntity) ClearObjectID1()

func (*ProxyEntity) ClearObjectID2

func (this *ProxyEntity) ClearObjectID2()

func (*ProxyEntity) ClearObjectID3

func (this *ProxyEntity) ClearObjectID3()

func (*ProxyEntity) ClearObjectID4

func (this *ProxyEntity) ClearObjectID4()

func (*ProxyEntity) ClearentityDataString

func (this *ProxyEntity) ClearentityDataString()

func (*ProxyEntity) CleargraphicsDataString

func (this *ProxyEntity) CleargraphicsDataString()

func (*ProxyEntity) Color

func (this *ProxyEntity) Color() Color

func (*ProxyEntity) Color24Bit

func (this *ProxyEntity) Color24Bit() int

func (*ProxyEntity) ColorName

func (this *ProxyEntity) ColorName() string

func (*ProxyEntity) Elevation

func (this *ProxyEntity) Elevation() float64

func (*ProxyEntity) Handle

func (this *ProxyEntity) Handle() Handle

func (*ProxyEntity) ImageByteCount

func (this *ProxyEntity) ImageByteCount() int

func (*ProxyEntity) IsInPaperSpace

func (this *ProxyEntity) IsInPaperSpace() bool

func (*ProxyEntity) IsVisible

func (this *ProxyEntity) IsVisible() bool

func (*ProxyEntity) Layer

func (this *ProxyEntity) Layer() string

func (*ProxyEntity) LineTypeName

func (this *ProxyEntity) LineTypeName() string

func (*ProxyEntity) LineTypeScale

func (this *ProxyEntity) LineTypeScale() float64

func (*ProxyEntity) LineWeight

func (this *ProxyEntity) LineWeight() LineWeight

func (*ProxyEntity) MaterialHandle

func (this *ProxyEntity) MaterialHandle() string

func (*ProxyEntity) Owner

func (e *ProxyEntity) Owner() *DrawingItem

func (*ProxyEntity) PlotStyle

func (e *ProxyEntity) PlotStyle() *DrawingItem

func (*ProxyEntity) PreviewImageData

func (this *ProxyEntity) PreviewImageData() []string

func (*ProxyEntity) SetColor

func (this *ProxyEntity) SetColor(val Color)

func (*ProxyEntity) SetColor24Bit

func (this *ProxyEntity) SetColor24Bit(val int)

func (*ProxyEntity) SetColorName

func (this *ProxyEntity) SetColorName(val string)

func (*ProxyEntity) SetElevation

func (this *ProxyEntity) SetElevation(val float64)

func (*ProxyEntity) SetHandle

func (this *ProxyEntity) SetHandle(val Handle)

func (*ProxyEntity) SetImageByteCount

func (this *ProxyEntity) SetImageByteCount(val int)

func (*ProxyEntity) SetIsInPaperSpace

func (this *ProxyEntity) SetIsInPaperSpace(val bool)

func (*ProxyEntity) SetIsVisible

func (this *ProxyEntity) SetIsVisible(val bool)

func (*ProxyEntity) SetLayer

func (this *ProxyEntity) SetLayer(val string)

func (*ProxyEntity) SetLineTypeName

func (this *ProxyEntity) SetLineTypeName(val string)

func (*ProxyEntity) SetLineTypeScale

func (this *ProxyEntity) SetLineTypeScale(val float64)

func (*ProxyEntity) SetLineWeight

func (this *ProxyEntity) SetLineWeight(val LineWeight)

func (*ProxyEntity) SetMaterialHandle

func (this *ProxyEntity) SetMaterialHandle(val string)

func (*ProxyEntity) SetOwner

func (e *ProxyEntity) SetOwner(val *DrawingItem)

func (*ProxyEntity) SetPlotStyle

func (e *ProxyEntity) SetPlotStyle(val *DrawingItem)

func (*ProxyEntity) SetPreviewImageData

func (this *ProxyEntity) SetPreviewImageData(val []string)

func (*ProxyEntity) SetShadowMode

func (this *ProxyEntity) SetShadowMode(val ShadowMode)

func (*ProxyEntity) SetTransparency

func (this *ProxyEntity) SetTransparency(val int)

func (*ProxyEntity) ShadowMode

func (this *ProxyEntity) ShadowMode() ShadowMode

func (*ProxyEntity) Transparency

func (this *ProxyEntity) Transparency() int

type RText

type RText struct {
	InsertionPoint     Point
	ExtrusionDirection Vector
	RotationAngle      float64
	TextHeight         float64
	TextStyle          string
	TypeFlags          int
	Contents           string
	// contains filtered or unexported fields
}

func NewRText

func NewRText() *RText

func (*RText) Color

func (this *RText) Color() Color

func (*RText) Color24Bit

func (this *RText) Color24Bit() int

func (*RText) ColorName

func (this *RText) ColorName() string

func (*RText) Elevation

func (this *RText) Elevation() float64

func (*RText) Handle

func (this *RText) Handle() Handle

func (*RText) ImageByteCount

func (this *RText) ImageByteCount() int

func (*RText) IsExpression

func (this *RText) IsExpression() bool

IsExpression status flag.

func (*RText) IsInPaperSpace

func (this *RText) IsInPaperSpace() bool

func (*RText) IsInlineMTextSequencesEnabled

func (this *RText) IsInlineMTextSequencesEnabled() bool

IsInlineMTextSequencesEnabled status flag.

func (*RText) IsVisible

func (this *RText) IsVisible() bool

func (*RText) Layer

func (this *RText) Layer() string

func (*RText) LineTypeName

func (this *RText) LineTypeName() string

func (*RText) LineTypeScale

func (this *RText) LineTypeScale() float64

func (*RText) LineWeight

func (this *RText) LineWeight() LineWeight

func (*RText) MaterialHandle

func (this *RText) MaterialHandle() string

func (*RText) Owner

func (e *RText) Owner() *DrawingItem

func (*RText) PlotStyle

func (e *RText) PlotStyle() *DrawingItem

func (*RText) PreviewImageData

func (this *RText) PreviewImageData() []string

func (*RText) SetColor

func (this *RText) SetColor(val Color)

func (*RText) SetColor24Bit

func (this *RText) SetColor24Bit(val int)

func (*RText) SetColorName

func (this *RText) SetColorName(val string)

func (*RText) SetElevation

func (this *RText) SetElevation(val float64)

func (*RText) SetHandle

func (this *RText) SetHandle(val Handle)

func (*RText) SetImageByteCount

func (this *RText) SetImageByteCount(val int)

func (*RText) SetIsExpression

func (this *RText) SetIsExpression(val bool)

IsExpression status flag.

func (*RText) SetIsInPaperSpace

func (this *RText) SetIsInPaperSpace(val bool)

func (*RText) SetIsInlineMTextSequencesEnabled

func (this *RText) SetIsInlineMTextSequencesEnabled(val bool)

IsInlineMTextSequencesEnabled status flag.

func (*RText) SetIsVisible

func (this *RText) SetIsVisible(val bool)

func (*RText) SetLayer

func (this *RText) SetLayer(val string)

func (*RText) SetLineTypeName

func (this *RText) SetLineTypeName(val string)

func (*RText) SetLineTypeScale

func (this *RText) SetLineTypeScale(val float64)

func (*RText) SetLineWeight

func (this *RText) SetLineWeight(val LineWeight)

func (*RText) SetMaterialHandle

func (this *RText) SetMaterialHandle(val string)

func (*RText) SetOwner

func (e *RText) SetOwner(val *DrawingItem)

func (*RText) SetPlotStyle

func (e *RText) SetPlotStyle(val *DrawingItem)

func (*RText) SetPreviewImageData

func (this *RText) SetPreviewImageData(val []string)

func (*RText) SetShadowMode

func (this *RText) SetShadowMode(val ShadowMode)

func (*RText) SetTransparency

func (this *RText) SetTransparency(val int)

func (*RText) ShadowMode

func (this *RText) ShadowMode() ShadowMode

func (*RText) Transparency

func (this *RText) Transparency() int

type RadialDimension

type RadialDimension struct {
	DefinitionPoint2 Point
	LeaderLength     float64
	// contains filtered or unexported fields
}

func NewRadialDimension

func NewRadialDimension() *RadialDimension

func (*RadialDimension) ActualMeasurement

func (this *RadialDimension) ActualMeasurement() float64

func (*RadialDimension) AttachmentPoint

func (this *RadialDimension) AttachmentPoint() AttachmentPoint

func (*RadialDimension) BlockName

func (this *RadialDimension) BlockName() string

func (*RadialDimension) Color

func (this *RadialDimension) Color() Color

func (*RadialDimension) Color24Bit

func (this *RadialDimension) Color24Bit() int

func (*RadialDimension) ColorName

func (this *RadialDimension) ColorName() string

func (*RadialDimension) DefinitionPoint1

func (this *RadialDimension) DefinitionPoint1() Point

func (*RadialDimension) DimensionStyleName

func (this *RadialDimension) DimensionStyleName() string

func (*RadialDimension) DimensionType

func (this *RadialDimension) DimensionType() DimensionType

func (*RadialDimension) Elevation

func (this *RadialDimension) Elevation() float64

func (*RadialDimension) Handle

func (this *RadialDimension) Handle() Handle

func (*RadialDimension) HorizontalDirectionAngle

func (this *RadialDimension) HorizontalDirectionAngle() float64

func (*RadialDimension) ImageByteCount

func (this *RadialDimension) ImageByteCount() int

func (*RadialDimension) IsInPaperSpace

func (this *RadialDimension) IsInPaperSpace() bool

func (*RadialDimension) IsVisible

func (this *RadialDimension) IsVisible() bool

func (*RadialDimension) Layer

func (this *RadialDimension) Layer() string

func (*RadialDimension) LineTypeName

func (this *RadialDimension) LineTypeName() string

func (*RadialDimension) LineTypeScale

func (this *RadialDimension) LineTypeScale() float64

func (*RadialDimension) LineWeight

func (this *RadialDimension) LineWeight() LineWeight

func (*RadialDimension) MaterialHandle

func (this *RadialDimension) MaterialHandle() string

func (*RadialDimension) Normal

func (this *RadialDimension) Normal() Vector

func (*RadialDimension) Owner

func (e *RadialDimension) Owner() *DrawingItem

func (*RadialDimension) PlotStyle

func (e *RadialDimension) PlotStyle() *DrawingItem

func (*RadialDimension) PreviewImageData

func (this *RadialDimension) PreviewImageData() []string

func (*RadialDimension) SetActualMeasurement

func (this *RadialDimension) SetActualMeasurement(val float64)

func (*RadialDimension) SetAttachmentPoint

func (this *RadialDimension) SetAttachmentPoint(val AttachmentPoint)

func (*RadialDimension) SetBlockName

func (this *RadialDimension) SetBlockName(val string)

func (*RadialDimension) SetColor

func (this *RadialDimension) SetColor(val Color)

func (*RadialDimension) SetColor24Bit

func (this *RadialDimension) SetColor24Bit(val int)

func (*RadialDimension) SetColorName

func (this *RadialDimension) SetColorName(val string)

func (*RadialDimension) SetDefinitionPoint1

func (this *RadialDimension) SetDefinitionPoint1(val Point)

func (*RadialDimension) SetDimensionStyleName

func (this *RadialDimension) SetDimensionStyleName(val string)

func (*RadialDimension) SetDimensionType

func (this *RadialDimension) SetDimensionType(val DimensionType)

func (*RadialDimension) SetElevation

func (this *RadialDimension) SetElevation(val float64)

func (*RadialDimension) SetHandle

func (this *RadialDimension) SetHandle(val Handle)

func (*RadialDimension) SetHorizontalDirectionAngle

func (this *RadialDimension) SetHorizontalDirectionAngle(val float64)

func (*RadialDimension) SetImageByteCount

func (this *RadialDimension) SetImageByteCount(val int)

func (*RadialDimension) SetIsInPaperSpace

func (this *RadialDimension) SetIsInPaperSpace(val bool)

func (*RadialDimension) SetIsVisible

func (this *RadialDimension) SetIsVisible(val bool)

func (*RadialDimension) SetLayer

func (this *RadialDimension) SetLayer(val string)

func (*RadialDimension) SetLineTypeName

func (this *RadialDimension) SetLineTypeName(val string)

func (*RadialDimension) SetLineTypeScale

func (this *RadialDimension) SetLineTypeScale(val float64)

func (*RadialDimension) SetLineWeight

func (this *RadialDimension) SetLineWeight(val LineWeight)

func (*RadialDimension) SetMaterialHandle

func (this *RadialDimension) SetMaterialHandle(val string)

func (*RadialDimension) SetNormal

func (this *RadialDimension) SetNormal(val Vector)

func (*RadialDimension) SetOwner

func (e *RadialDimension) SetOwner(val *DrawingItem)

func (*RadialDimension) SetPlotStyle

func (e *RadialDimension) SetPlotStyle(val *DrawingItem)

func (*RadialDimension) SetPreviewImageData

func (this *RadialDimension) SetPreviewImageData(val []string)

func (*RadialDimension) SetShadowMode

func (this *RadialDimension) SetShadowMode(val ShadowMode)

func (*RadialDimension) SetText

func (this *RadialDimension) SetText(val string)

func (*RadialDimension) SetTextLineSpacingFactor

func (this *RadialDimension) SetTextLineSpacingFactor(val float64)

func (*RadialDimension) SetTextLineSpacingStyle

func (this *RadialDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*RadialDimension) SetTextMidPoint

func (this *RadialDimension) SetTextMidPoint(val Point)

func (*RadialDimension) SetTextRotationAngle

func (this *RadialDimension) SetTextRotationAngle(val float64)

func (*RadialDimension) SetTransparency

func (this *RadialDimension) SetTransparency(val int)

func (*RadialDimension) SetVersion

func (this *RadialDimension) SetVersion(val Version)

func (*RadialDimension) ShadowMode

func (this *RadialDimension) ShadowMode() ShadowMode

func (*RadialDimension) Text

func (this *RadialDimension) Text() string

func (*RadialDimension) TextLineSpacingFactor

func (this *RadialDimension) TextLineSpacingFactor() float64

func (*RadialDimension) TextLineSpacingStyle

func (this *RadialDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*RadialDimension) TextMidPoint

func (this *RadialDimension) TextMidPoint() Point

func (*RadialDimension) TextRotationAngle

func (this *RadialDimension) TextRotationAngle() float64

func (*RadialDimension) Transparency

func (this *RadialDimension) Transparency() int

func (*RadialDimension) Version

func (this *RadialDimension) Version() Version

type RasterImage

type RasterImage interface {
	SetsubclassMarker(val string)
	ClassVersion() int
	SetClassVersion(val int)
	Location() Point
	SetLocation(val Point)
	UVector() Vector
	SetUVector(val Vector)
	VVector() Vector
	SetVVector(val Vector)
	ImageSize() Vector
	SetImageSize(val Vector)

	SetimageDefinitionHandle(val string)
	DisplayOptionsFlags() int
	SetDisplayOptionsFlags(val int)
	UseClipping() bool
	SetUseClipping(val bool)
	Brightness() int16
	SetBrightness(val int16)
	Contrast() int16
	SetContrast(val int16)
	Fade() int16
	SetFade(val int16)

	SetimageDefinitionReactorHandle(val string)
	ClippingType() ImageClippingBoundaryType
	SetClippingType(val ImageClippingBoundaryType)
	ClippingVertices() []Point
	SetClippingVertices(val []Point)

	SetclippingVertexCount(val int)

	SetclippingVerticesX(val []float64)

	SetclippingVerticesY(val []float64)
	IsInsideClipping() bool
	SetIsInsideClipping(val bool)
	// contains filtered or unexported methods
}

type Ray

type Ray struct {
	StartPoint          Point
	UnitDirectionVector Vector
	// contains filtered or unexported fields
}

func NewRay

func NewRay() *Ray

func (*Ray) Color

func (this *Ray) Color() Color

func (*Ray) Color24Bit

func (this *Ray) Color24Bit() int

func (*Ray) ColorName

func (this *Ray) ColorName() string

func (*Ray) Elevation

func (this *Ray) Elevation() float64

func (*Ray) Handle

func (this *Ray) Handle() Handle

func (*Ray) ImageByteCount

func (this *Ray) ImageByteCount() int

func (*Ray) IsInPaperSpace

func (this *Ray) IsInPaperSpace() bool

func (*Ray) IsVisible

func (this *Ray) IsVisible() bool

func (*Ray) Layer

func (this *Ray) Layer() string

func (*Ray) LineTypeName

func (this *Ray) LineTypeName() string

func (*Ray) LineTypeScale

func (this *Ray) LineTypeScale() float64

func (*Ray) LineWeight

func (this *Ray) LineWeight() LineWeight

func (*Ray) MaterialHandle

func (this *Ray) MaterialHandle() string

func (*Ray) Owner

func (e *Ray) Owner() *DrawingItem

func (*Ray) PlotStyle

func (e *Ray) PlotStyle() *DrawingItem

func (*Ray) PreviewImageData

func (this *Ray) PreviewImageData() []string

func (*Ray) SetColor

func (this *Ray) SetColor(val Color)

func (*Ray) SetColor24Bit

func (this *Ray) SetColor24Bit(val int)

func (*Ray) SetColorName

func (this *Ray) SetColorName(val string)

func (*Ray) SetElevation

func (this *Ray) SetElevation(val float64)

func (*Ray) SetHandle

func (this *Ray) SetHandle(val Handle)

func (*Ray) SetImageByteCount

func (this *Ray) SetImageByteCount(val int)

func (*Ray) SetIsInPaperSpace

func (this *Ray) SetIsInPaperSpace(val bool)

func (*Ray) SetIsVisible

func (this *Ray) SetIsVisible(val bool)

func (*Ray) SetLayer

func (this *Ray) SetLayer(val string)

func (*Ray) SetLineTypeName

func (this *Ray) SetLineTypeName(val string)

func (*Ray) SetLineTypeScale

func (this *Ray) SetLineTypeScale(val float64)

func (*Ray) SetLineWeight

func (this *Ray) SetLineWeight(val LineWeight)

func (*Ray) SetMaterialHandle

func (this *Ray) SetMaterialHandle(val string)

func (*Ray) SetOwner

func (e *Ray) SetOwner(val *DrawingItem)

func (*Ray) SetPlotStyle

func (e *Ray) SetPlotStyle(val *DrawingItem)

func (*Ray) SetPreviewImageData

func (this *Ray) SetPreviewImageData(val []string)

func (*Ray) SetShadowMode

func (this *Ray) SetShadowMode(val ShadowMode)

func (*Ray) SetTransparency

func (this *Ray) SetTransparency(val int)

func (*Ray) ShadowMode

func (this *Ray) ShadowMode() ShadowMode

func (*Ray) Transparency

func (this *Ray) Transparency() int

type Region

type Region struct {
	FormatVersionNumber int16
	CustomData          []string
	CustomData2         []string
	// contains filtered or unexported fields
}

func NewRegion

func NewRegion() *Region

func (*Region) AddCustomData

func (this *Region) AddCustomData(val string)

func (*Region) AddCustomData2

func (this *Region) AddCustomData2(val string)

func (*Region) ClearCustomData

func (this *Region) ClearCustomData()

func (*Region) ClearCustomData2

func (this *Region) ClearCustomData2()

func (*Region) Color

func (this *Region) Color() Color

func (*Region) Color24Bit

func (this *Region) Color24Bit() int

func (*Region) ColorName

func (this *Region) ColorName() string

func (*Region) Elevation

func (this *Region) Elevation() float64

func (*Region) Handle

func (this *Region) Handle() Handle

func (*Region) ImageByteCount

func (this *Region) ImageByteCount() int

func (*Region) IsInPaperSpace

func (this *Region) IsInPaperSpace() bool

func (*Region) IsVisible

func (this *Region) IsVisible() bool

func (*Region) Layer

func (this *Region) Layer() string

func (*Region) LineTypeName

func (this *Region) LineTypeName() string

func (*Region) LineTypeScale

func (this *Region) LineTypeScale() float64

func (*Region) LineWeight

func (this *Region) LineWeight() LineWeight

func (*Region) MaterialHandle

func (this *Region) MaterialHandle() string

func (*Region) Owner

func (e *Region) Owner() *DrawingItem

func (*Region) PlotStyle

func (e *Region) PlotStyle() *DrawingItem

func (*Region) PreviewImageData

func (this *Region) PreviewImageData() []string

func (*Region) SetColor

func (this *Region) SetColor(val Color)

func (*Region) SetColor24Bit

func (this *Region) SetColor24Bit(val int)

func (*Region) SetColorName

func (this *Region) SetColorName(val string)

func (*Region) SetElevation

func (this *Region) SetElevation(val float64)

func (*Region) SetHandle

func (this *Region) SetHandle(val Handle)

func (*Region) SetImageByteCount

func (this *Region) SetImageByteCount(val int)

func (*Region) SetIsInPaperSpace

func (this *Region) SetIsInPaperSpace(val bool)

func (*Region) SetIsVisible

func (this *Region) SetIsVisible(val bool)

func (*Region) SetLayer

func (this *Region) SetLayer(val string)

func (*Region) SetLineTypeName

func (this *Region) SetLineTypeName(val string)

func (*Region) SetLineTypeScale

func (this *Region) SetLineTypeScale(val float64)

func (*Region) SetLineWeight

func (this *Region) SetLineWeight(val LineWeight)

func (*Region) SetMaterialHandle

func (this *Region) SetMaterialHandle(val string)

func (*Region) SetOwner

func (e *Region) SetOwner(val *DrawingItem)

func (*Region) SetPlotStyle

func (e *Region) SetPlotStyle(val *DrawingItem)

func (*Region) SetPreviewImageData

func (this *Region) SetPreviewImageData(val []string)

func (*Region) SetShadowMode

func (this *Region) SetShadowMode(val ShadowMode)

func (*Region) SetTransparency

func (this *Region) SetTransparency(val int)

func (*Region) ShadowMode

func (this *Region) ShadowMode() ShadowMode

func (*Region) Transparency

func (this *Region) Transparency() int

type RotatedDimension

type RotatedDimension struct {
	InsertionPoint     Point
	DefinitionPoint2   Point
	DefinitionPoint3   Point
	RotationAngle      float64
	ExtensionLineAngle float64
	// contains filtered or unexported fields
}

func NewRotatedDimension

func NewRotatedDimension() *RotatedDimension

func (*RotatedDimension) ActualMeasurement

func (this *RotatedDimension) ActualMeasurement() float64

func (*RotatedDimension) AttachmentPoint

func (this *RotatedDimension) AttachmentPoint() AttachmentPoint

func (*RotatedDimension) BlockName

func (this *RotatedDimension) BlockName() string

func (*RotatedDimension) Color

func (this *RotatedDimension) Color() Color

func (*RotatedDimension) Color24Bit

func (this *RotatedDimension) Color24Bit() int

func (*RotatedDimension) ColorName

func (this *RotatedDimension) ColorName() string

func (*RotatedDimension) DefinitionPoint1

func (this *RotatedDimension) DefinitionPoint1() Point

func (*RotatedDimension) DimensionStyleName

func (this *RotatedDimension) DimensionStyleName() string

func (*RotatedDimension) DimensionType

func (this *RotatedDimension) DimensionType() DimensionType

func (*RotatedDimension) Elevation

func (this *RotatedDimension) Elevation() float64

func (*RotatedDimension) Handle

func (this *RotatedDimension) Handle() Handle

func (*RotatedDimension) HorizontalDirectionAngle

func (this *RotatedDimension) HorizontalDirectionAngle() float64

func (*RotatedDimension) ImageByteCount

func (this *RotatedDimension) ImageByteCount() int

func (*RotatedDimension) IsInPaperSpace

func (this *RotatedDimension) IsInPaperSpace() bool

func (*RotatedDimension) IsVisible

func (this *RotatedDimension) IsVisible() bool

func (*RotatedDimension) Layer

func (this *RotatedDimension) Layer() string

func (*RotatedDimension) LineTypeName

func (this *RotatedDimension) LineTypeName() string

func (*RotatedDimension) LineTypeScale

func (this *RotatedDimension) LineTypeScale() float64

func (*RotatedDimension) LineWeight

func (this *RotatedDimension) LineWeight() LineWeight

func (*RotatedDimension) MaterialHandle

func (this *RotatedDimension) MaterialHandle() string

func (*RotatedDimension) Normal

func (this *RotatedDimension) Normal() Vector

func (*RotatedDimension) Owner

func (e *RotatedDimension) Owner() *DrawingItem

func (*RotatedDimension) PlotStyle

func (e *RotatedDimension) PlotStyle() *DrawingItem

func (*RotatedDimension) PreviewImageData

func (this *RotatedDimension) PreviewImageData() []string

func (*RotatedDimension) SetActualMeasurement

func (this *RotatedDimension) SetActualMeasurement(val float64)

func (*RotatedDimension) SetAttachmentPoint

func (this *RotatedDimension) SetAttachmentPoint(val AttachmentPoint)

func (*RotatedDimension) SetBlockName

func (this *RotatedDimension) SetBlockName(val string)

func (*RotatedDimension) SetColor

func (this *RotatedDimension) SetColor(val Color)

func (*RotatedDimension) SetColor24Bit

func (this *RotatedDimension) SetColor24Bit(val int)

func (*RotatedDimension) SetColorName

func (this *RotatedDimension) SetColorName(val string)

func (*RotatedDimension) SetDefinitionPoint1

func (this *RotatedDimension) SetDefinitionPoint1(val Point)

func (*RotatedDimension) SetDimensionStyleName

func (this *RotatedDimension) SetDimensionStyleName(val string)

func (*RotatedDimension) SetDimensionType

func (this *RotatedDimension) SetDimensionType(val DimensionType)

func (*RotatedDimension) SetElevation

func (this *RotatedDimension) SetElevation(val float64)

func (*RotatedDimension) SetHandle

func (this *RotatedDimension) SetHandle(val Handle)

func (*RotatedDimension) SetHorizontalDirectionAngle

func (this *RotatedDimension) SetHorizontalDirectionAngle(val float64)

func (*RotatedDimension) SetImageByteCount

func (this *RotatedDimension) SetImageByteCount(val int)

func (*RotatedDimension) SetIsInPaperSpace

func (this *RotatedDimension) SetIsInPaperSpace(val bool)

func (*RotatedDimension) SetIsVisible

func (this *RotatedDimension) SetIsVisible(val bool)

func (*RotatedDimension) SetLayer

func (this *RotatedDimension) SetLayer(val string)

func (*RotatedDimension) SetLineTypeName

func (this *RotatedDimension) SetLineTypeName(val string)

func (*RotatedDimension) SetLineTypeScale

func (this *RotatedDimension) SetLineTypeScale(val float64)

func (*RotatedDimension) SetLineWeight

func (this *RotatedDimension) SetLineWeight(val LineWeight)

func (*RotatedDimension) SetMaterialHandle

func (this *RotatedDimension) SetMaterialHandle(val string)

func (*RotatedDimension) SetNormal

func (this *RotatedDimension) SetNormal(val Vector)

func (*RotatedDimension) SetOwner

func (e *RotatedDimension) SetOwner(val *DrawingItem)

func (*RotatedDimension) SetPlotStyle

func (e *RotatedDimension) SetPlotStyle(val *DrawingItem)

func (*RotatedDimension) SetPreviewImageData

func (this *RotatedDimension) SetPreviewImageData(val []string)

func (*RotatedDimension) SetShadowMode

func (this *RotatedDimension) SetShadowMode(val ShadowMode)

func (*RotatedDimension) SetText

func (this *RotatedDimension) SetText(val string)

func (*RotatedDimension) SetTextLineSpacingFactor

func (this *RotatedDimension) SetTextLineSpacingFactor(val float64)

func (*RotatedDimension) SetTextLineSpacingStyle

func (this *RotatedDimension) SetTextLineSpacingStyle(val TextLineSpacingStyle)

func (*RotatedDimension) SetTextMidPoint

func (this *RotatedDimension) SetTextMidPoint(val Point)

func (*RotatedDimension) SetTextRotationAngle

func (this *RotatedDimension) SetTextRotationAngle(val float64)

func (*RotatedDimension) SetTransparency

func (this *RotatedDimension) SetTransparency(val int)

func (*RotatedDimension) SetVersion

func (this *RotatedDimension) SetVersion(val Version)

func (*RotatedDimension) ShadowMode

func (this *RotatedDimension) ShadowMode() ShadowMode

func (*RotatedDimension) Text

func (this *RotatedDimension) Text() string

func (*RotatedDimension) TextLineSpacingFactor

func (this *RotatedDimension) TextLineSpacingFactor() float64

func (*RotatedDimension) TextLineSpacingStyle

func (this *RotatedDimension) TextLineSpacingStyle() TextLineSpacingStyle

func (*RotatedDimension) TextMidPoint

func (this *RotatedDimension) TextMidPoint() Point

func (*RotatedDimension) TextRotationAngle

func (this *RotatedDimension) TextRotationAngle() float64

func (*RotatedDimension) Transparency

func (this *RotatedDimension) Transparency() int

func (*RotatedDimension) Version

func (this *RotatedDimension) Version() Version

type Section

type Section struct {
	State                 int
	Flags                 int
	Name                  string
	VerticalDirection     Vector
	TopHeight             float64
	BottomHeight          float64
	IndicatorTransparency int16
	IndicatorColor        Color
	IndicatorColorName    string

	Vertices []Point

	BackLineVertices       []Point
	GeometrySettingsHandle string
	// contains filtered or unexported fields
}

func NewSection

func NewSection() *Section

func (*Section) AddBackLineVertices

func (this *Section) AddBackLineVertices(val Point)

func (*Section) AddVertices

func (this *Section) AddVertices(val Point)

func (*Section) ClearBackLineVertices

func (this *Section) ClearBackLineVertices()

func (*Section) ClearVertices

func (this *Section) ClearVertices()

func (*Section) Color

func (this *Section) Color() Color

func (*Section) Color24Bit

func (this *Section) Color24Bit() int

func (*Section) ColorName

func (this *Section) ColorName() string

func (*Section) Elevation

func (this *Section) Elevation() float64

func (*Section) Handle

func (this *Section) Handle() Handle

func (*Section) ImageByteCount

func (this *Section) ImageByteCount() int

func (*Section) IsInPaperSpace

func (this *Section) IsInPaperSpace() bool

func (*Section) IsVisible

func (this *Section) IsVisible() bool

func (*Section) Layer

func (this *Section) Layer() string

func (*Section) LineTypeName

func (this *Section) LineTypeName() string

func (*Section) LineTypeScale

func (this *Section) LineTypeScale() float64

func (*Section) LineWeight

func (this *Section) LineWeight() LineWeight

func (*Section) MaterialHandle

func (this *Section) MaterialHandle() string

func (*Section) Owner

func (e *Section) Owner() *DrawingItem

func (*Section) PlotStyle

func (e *Section) PlotStyle() *DrawingItem

func (*Section) PreviewImageData

func (this *Section) PreviewImageData() []string

func (*Section) SetColor

func (this *Section) SetColor(val Color)

func (*Section) SetColor24Bit

func (this *Section) SetColor24Bit(val int)

func (*Section) SetColorName

func (this *Section) SetColorName(val string)

func (*Section) SetElevation

func (this *Section) SetElevation(val float64)

func (*Section) SetHandle

func (this *Section) SetHandle(val Handle)

func (*Section) SetImageByteCount

func (this *Section) SetImageByteCount(val int)

func (*Section) SetIsInPaperSpace

func (this *Section) SetIsInPaperSpace(val bool)

func (*Section) SetIsVisible

func (this *Section) SetIsVisible(val bool)

func (*Section) SetLayer

func (this *Section) SetLayer(val string)

func (*Section) SetLineTypeName

func (this *Section) SetLineTypeName(val string)

func (*Section) SetLineTypeScale

func (this *Section) SetLineTypeScale(val float64)

func (*Section) SetLineWeight

func (this *Section) SetLineWeight(val LineWeight)

func (*Section) SetMaterialHandle

func (this *Section) SetMaterialHandle(val string)

func (*Section) SetOwner

func (e *Section) SetOwner(val *DrawingItem)

func (*Section) SetPlotStyle

func (e *Section) SetPlotStyle(val *DrawingItem)

func (*Section) SetPreviewImageData

func (this *Section) SetPreviewImageData(val []string)

func (*Section) SetShadowMode

func (this *Section) SetShadowMode(val ShadowMode)

func (*Section) SetTransparency

func (this *Section) SetTransparency(val int)

func (*Section) ShadowMode

func (this *Section) ShadowMode() ShadowMode

func (*Section) Transparency

func (this *Section) Transparency() int

type Seqend

type Seqend struct {
	// contains filtered or unexported fields
}

func NewSeqend

func NewSeqend() *Seqend

func (*Seqend) Color

func (this *Seqend) Color() Color

func (*Seqend) Color24Bit

func (this *Seqend) Color24Bit() int

func (*Seqend) ColorName

func (this *Seqend) ColorName() string

func (*Seqend) Elevation

func (this *Seqend) Elevation() float64

func (*Seqend) Handle

func (this *Seqend) Handle() Handle

func (*Seqend) ImageByteCount

func (this *Seqend) ImageByteCount() int

func (*Seqend) IsInPaperSpace

func (this *Seqend) IsInPaperSpace() bool

func (*Seqend) IsVisible

func (this *Seqend) IsVisible() bool

func (*Seqend) Layer

func (this *Seqend) Layer() string

func (*Seqend) LineTypeName

func (this *Seqend) LineTypeName() string

func (*Seqend) LineTypeScale

func (this *Seqend) LineTypeScale() float64

func (*Seqend) LineWeight

func (this *Seqend) LineWeight() LineWeight

func (*Seqend) MaterialHandle

func (this *Seqend) MaterialHandle() string

func (*Seqend) Owner

func (e *Seqend) Owner() *DrawingItem

func (*Seqend) PlotStyle

func (e *Seqend) PlotStyle() *DrawingItem

func (*Seqend) PreviewImageData

func (this *Seqend) PreviewImageData() []string

func (*Seqend) SetColor

func (this *Seqend) SetColor(val Color)

func (*Seqend) SetColor24Bit

func (this *Seqend) SetColor24Bit(val int)

func (*Seqend) SetColorName

func (this *Seqend) SetColorName(val string)

func (*Seqend) SetElevation

func (this *Seqend) SetElevation(val float64)

func (*Seqend) SetHandle

func (this *Seqend) SetHandle(val Handle)

func (*Seqend) SetImageByteCount

func (this *Seqend) SetImageByteCount(val int)

func (*Seqend) SetIsInPaperSpace

func (this *Seqend) SetIsInPaperSpace(val bool)

func (*Seqend) SetIsVisible

func (this *Seqend) SetIsVisible(val bool)

func (*Seqend) SetLayer

func (this *Seqend) SetLayer(val string)

func (*Seqend) SetLineTypeName

func (this *Seqend) SetLineTypeName(val string)

func (*Seqend) SetLineTypeScale

func (this *Seqend) SetLineTypeScale(val float64)

func (*Seqend) SetLineWeight

func (this *Seqend) SetLineWeight(val LineWeight)

func (*Seqend) SetMaterialHandle

func (this *Seqend) SetMaterialHandle(val string)

func (*Seqend) SetOwner

func (e *Seqend) SetOwner(val *DrawingItem)

func (*Seqend) SetPlotStyle

func (e *Seqend) SetPlotStyle(val *DrawingItem)

func (*Seqend) SetPreviewImageData

func (this *Seqend) SetPreviewImageData(val []string)

func (*Seqend) SetShadowMode

func (this *Seqend) SetShadowMode(val ShadowMode)

func (*Seqend) SetTransparency

func (this *Seqend) SetTransparency(val int)

func (*Seqend) ShadowMode

func (this *Seqend) ShadowMode() ShadowMode

func (*Seqend) Transparency

func (this *Seqend) Transparency() int

type ShadeEdgeMode

type ShadeEdgeMode int16
const (
	ShadeEdgeModeFacesShadedEdgeNotHighlighted ShadeEdgeMode = iota
	ShadeEdgeModeFacesShadedEdgesHighlightedInBlack
	ShadeEdgeModeFacesNotFilledEdgesInEntityColor
	ShadeEdgeModeFacesInEntityColorEdgesInBlack
)

func (ShadeEdgeMode) String

func (this ShadeEdgeMode) String() string

type ShadowMode

type ShadowMode int16
const (
	ShadowModeCastsAndReceivesShadows ShadowMode = iota
	ShadowModeCastsShadows
	ShadowModeReceivesShadows
	ShadowModeIgnoresShadows
)

func (ShadowMode) String

func (this ShadowMode) String() string

type ShadowType

type ShadowType int16
const (
	ShadowTypeRayTraced ShadowType = iota
	ShadowTypeShadowMaps
)

func (ShadowType) String

func (this ShadowType) String() string

type Shape

type Shape struct {
	Thickness            float64
	Location             Point
	Size                 float64
	Name                 string
	RotationAngle        float64
	RelativeXScaleFactor float64
	ObliqueAngle         float64
	ExtrusionDirection   Vector
	// contains filtered or unexported fields
}

func NewShape

func NewShape() *Shape

func (*Shape) Color

func (this *Shape) Color() Color

func (*Shape) Color24Bit

func (this *Shape) Color24Bit() int

func (*Shape) ColorName

func (this *Shape) ColorName() string

func (*Shape) Elevation

func (this *Shape) Elevation() float64

func (*Shape) Handle

func (this *Shape) Handle() Handle

func (*Shape) ImageByteCount

func (this *Shape) ImageByteCount() int

func (*Shape) IsInPaperSpace

func (this *Shape) IsInPaperSpace() bool

func (*Shape) IsVisible

func (this *Shape) IsVisible() bool

func (*Shape) Layer

func (this *Shape) Layer() string

func (*Shape) LineTypeName

func (this *Shape) LineTypeName() string

func (*Shape) LineTypeScale

func (this *Shape) LineTypeScale() float64

func (*Shape) LineWeight

func (this *Shape) LineWeight() LineWeight

func (*Shape) MaterialHandle

func (this *Shape) MaterialHandle() string

func (*Shape) Owner

func (e *Shape) Owner() *DrawingItem

func (*Shape) PlotStyle

func (e *Shape) PlotStyle() *DrawingItem

func (*Shape) PreviewImageData

func (this *Shape) PreviewImageData() []string

func (*Shape) SetColor

func (this *Shape) SetColor(val Color)

func (*Shape) SetColor24Bit

func (this *Shape) SetColor24Bit(val int)

func (*Shape) SetColorName

func (this *Shape) SetColorName(val string)

func (*Shape) SetElevation

func (this *Shape) SetElevation(val float64)

func (*Shape) SetHandle

func (this *Shape) SetHandle(val Handle)

func (*Shape) SetImageByteCount

func (this *Shape) SetImageByteCount(val int)

func (*Shape) SetIsInPaperSpace

func (this *Shape) SetIsInPaperSpace(val bool)

func (*Shape) SetIsVisible

func (this *Shape) SetIsVisible(val bool)

func (*Shape) SetLayer

func (this *Shape) SetLayer(val string)

func (*Shape) SetLineTypeName

func (this *Shape) SetLineTypeName(val string)

func (*Shape) SetLineTypeScale

func (this *Shape) SetLineTypeScale(val float64)

func (*Shape) SetLineWeight

func (this *Shape) SetLineWeight(val LineWeight)

func (*Shape) SetMaterialHandle

func (this *Shape) SetMaterialHandle(val string)

func (*Shape) SetOwner

func (e *Shape) SetOwner(val *DrawingItem)

func (*Shape) SetPlotStyle

func (e *Shape) SetPlotStyle(val *DrawingItem)

func (*Shape) SetPreviewImageData

func (this *Shape) SetPreviewImageData(val []string)

func (*Shape) SetShadowMode

func (this *Shape) SetShadowMode(val ShadowMode)

func (*Shape) SetTransparency

func (this *Shape) SetTransparency(val int)

func (*Shape) ShadowMode

func (this *Shape) ShadowMode() ShadowMode

func (*Shape) Transparency

func (this *Shape) Transparency() int

type ShortCodePairValue

type ShortCodePairValue struct {
	Value int16
}

ShortCodePairValue represents a short integer code pair value.

type SnapIsometricPlane

type SnapIsometricPlane int16
const (
	SnapIsometricPlaneLeft SnapIsometricPlane = iota
	SnapIsometricPlaneTop
	SnapIsometricPlaneRight
)

func (SnapIsometricPlane) String

func (this SnapIsometricPlane) String() string

type SnapStyle

type SnapStyle int16
const (
	SnapStyleStandard SnapStyle = iota
	SnapStyleIsometric
)

func (SnapStyle) String

func (this SnapStyle) String() string

type Solid

type Solid struct {
	FirstCorner        Point
	SecondCorner       Point
	ThirdCorner        Point
	FourthCorner       Point
	Thickness          float64
	ExtrusionDirection Vector
	// contains filtered or unexported fields
}

func NewSolid

func NewSolid() *Solid

func (*Solid) Color

func (this *Solid) Color() Color

func (*Solid) Color24Bit

func (this *Solid) Color24Bit() int

func (*Solid) ColorName

func (this *Solid) ColorName() string

func (*Solid) Elevation

func (this *Solid) Elevation() float64

func (*Solid) Handle

func (this *Solid) Handle() Handle

func (*Solid) ImageByteCount

func (this *Solid) ImageByteCount() int

func (*Solid) IsInPaperSpace

func (this *Solid) IsInPaperSpace() bool

func (*Solid) IsVisible

func (this *Solid) IsVisible() bool

func (*Solid) Layer

func (this *Solid) Layer() string

func (*Solid) LineTypeName

func (this *Solid) LineTypeName() string

func (*Solid) LineTypeScale

func (this *Solid) LineTypeScale() float64

func (*Solid) LineWeight

func (this *Solid) LineWeight() LineWeight

func (*Solid) MaterialHandle

func (this *Solid) MaterialHandle() string

func (*Solid) Owner

func (e *Solid) Owner() *DrawingItem

func (*Solid) PlotStyle

func (e *Solid) PlotStyle() *DrawingItem

func (*Solid) PreviewImageData

func (this *Solid) PreviewImageData() []string

func (*Solid) SetColor

func (this *Solid) SetColor(val Color)

func (*Solid) SetColor24Bit

func (this *Solid) SetColor24Bit(val int)

func (*Solid) SetColorName

func (this *Solid) SetColorName(val string)

func (*Solid) SetElevation

func (this *Solid) SetElevation(val float64)

func (*Solid) SetHandle

func (this *Solid) SetHandle(val Handle)

func (*Solid) SetImageByteCount

func (this *Solid) SetImageByteCount(val int)

func (*Solid) SetIsInPaperSpace

func (this *Solid) SetIsInPaperSpace(val bool)

func (*Solid) SetIsVisible

func (this *Solid) SetIsVisible(val bool)

func (*Solid) SetLayer

func (this *Solid) SetLayer(val string)

func (*Solid) SetLineTypeName

func (this *Solid) SetLineTypeName(val string)

func (*Solid) SetLineTypeScale

func (this *Solid) SetLineTypeScale(val float64)

func (*Solid) SetLineWeight

func (this *Solid) SetLineWeight(val LineWeight)

func (*Solid) SetMaterialHandle

func (this *Solid) SetMaterialHandle(val string)

func (*Solid) SetOwner

func (e *Solid) SetOwner(val *DrawingItem)

func (*Solid) SetPlotStyle

func (e *Solid) SetPlotStyle(val *DrawingItem)

func (*Solid) SetPreviewImageData

func (this *Solid) SetPreviewImageData(val []string)

func (*Solid) SetShadowMode

func (this *Solid) SetShadowMode(val ShadowMode)

func (*Solid) SetTransparency

func (this *Solid) SetTransparency(val int)

func (*Solid) ShadowMode

func (this *Solid) ShadowMode() ShadowMode

func (*Solid) Transparency

func (this *Solid) Transparency() int

type Solid3D

type Solid3D struct {
	FormatVersionNumber int16
	CustomData          []string
	CustomData2         []string
	// contains filtered or unexported fields
}

func NewSolid3D

func NewSolid3D() *Solid3D

func (*Solid3D) AddCustomData

func (this *Solid3D) AddCustomData(val string)

func (*Solid3D) AddCustomData2

func (this *Solid3D) AddCustomData2(val string)

func (*Solid3D) ClearCustomData

func (this *Solid3D) ClearCustomData()

func (*Solid3D) ClearCustomData2

func (this *Solid3D) ClearCustomData2()

func (*Solid3D) Color

func (this *Solid3D) Color() Color

func (*Solid3D) Color24Bit

func (this *Solid3D) Color24Bit() int

func (*Solid3D) ColorName

func (this *Solid3D) ColorName() string

func (*Solid3D) Elevation

func (this *Solid3D) Elevation() float64

func (*Solid3D) Handle

func (this *Solid3D) Handle() Handle

func (*Solid3D) HistoryObject

func (e *Solid3D) HistoryObject() *DrawingItem

func (*Solid3D) ImageByteCount

func (this *Solid3D) ImageByteCount() int

func (*Solid3D) IsInPaperSpace

func (this *Solid3D) IsInPaperSpace() bool

func (*Solid3D) IsVisible

func (this *Solid3D) IsVisible() bool

func (*Solid3D) Layer

func (this *Solid3D) Layer() string

func (*Solid3D) LineTypeName

func (this *Solid3D) LineTypeName() string

func (*Solid3D) LineTypeScale

func (this *Solid3D) LineTypeScale() float64

func (*Solid3D) LineWeight

func (this *Solid3D) LineWeight() LineWeight

func (*Solid3D) MaterialHandle

func (this *Solid3D) MaterialHandle() string

func (*Solid3D) Owner

func (e *Solid3D) Owner() *DrawingItem

func (*Solid3D) PlotStyle

func (e *Solid3D) PlotStyle() *DrawingItem

func (*Solid3D) PreviewImageData

func (this *Solid3D) PreviewImageData() []string

func (*Solid3D) SetColor

func (this *Solid3D) SetColor(val Color)

func (*Solid3D) SetColor24Bit

func (this *Solid3D) SetColor24Bit(val int)

func (*Solid3D) SetColorName

func (this *Solid3D) SetColorName(val string)

func (*Solid3D) SetElevation

func (this *Solid3D) SetElevation(val float64)

func (*Solid3D) SetHandle

func (this *Solid3D) SetHandle(val Handle)

func (*Solid3D) SetHistoryObject

func (e *Solid3D) SetHistoryObject(val *DrawingItem)

func (*Solid3D) SetImageByteCount

func (this *Solid3D) SetImageByteCount(val int)

func (*Solid3D) SetIsInPaperSpace

func (this *Solid3D) SetIsInPaperSpace(val bool)

func (*Solid3D) SetIsVisible

func (this *Solid3D) SetIsVisible(val bool)

func (*Solid3D) SetLayer

func (this *Solid3D) SetLayer(val string)

func (*Solid3D) SetLineTypeName

func (this *Solid3D) SetLineTypeName(val string)

func (*Solid3D) SetLineTypeScale

func (this *Solid3D) SetLineTypeScale(val float64)

func (*Solid3D) SetLineWeight

func (this *Solid3D) SetLineWeight(val LineWeight)

func (*Solid3D) SetMaterialHandle

func (this *Solid3D) SetMaterialHandle(val string)

func (*Solid3D) SetOwner

func (e *Solid3D) SetOwner(val *DrawingItem)

func (*Solid3D) SetPlotStyle

func (e *Solid3D) SetPlotStyle(val *DrawingItem)

func (*Solid3D) SetPreviewImageData

func (this *Solid3D) SetPreviewImageData(val []string)

func (*Solid3D) SetShadowMode

func (this *Solid3D) SetShadowMode(val ShadowMode)

func (*Solid3D) SetTransparency

func (this *Solid3D) SetTransparency(val int)

func (*Solid3D) ShadowMode

func (this *Solid3D) ShadowMode() ShadowMode

func (*Solid3D) Transparency

func (this *Solid3D) Transparency() int

type SolidHistoryMode

type SolidHistoryMode int16
const (
	SolidHistoryModeNone SolidHistoryMode = iota
	SolidHistoryModeDoesNotOverride
	SolidHistoryModeOverride
)

func (SolidHistoryMode) String

func (this SolidHistoryMode) String() string

type Spline

type Spline struct {
	Normal        Vector
	Flags         int
	DegreeOfCurve int

	KnotTolerance         float64
	ControlPointTolerance float64
	FitTolerance          float64
	StartTangent          Vector
	EndTangent            Vector
	KnotValues            []float64

	ControlPoints []ControlPoint
	FitPoints     []Point
	// contains filtered or unexported fields
}

func NewSpline

func NewSpline() *Spline

func (*Spline) AddControlPoints

func (this *Spline) AddControlPoints(val ControlPoint)

func (*Spline) AddFitPoints

func (this *Spline) AddFitPoints(val Point)

func (*Spline) AddKnotValues

func (this *Spline) AddKnotValues(val float64)

func (*Spline) Addweights

func (this *Spline) Addweights(val float64)

func (*Spline) ClearControlPoints

func (this *Spline) ClearControlPoints()

func (*Spline) ClearFitPoints

func (this *Spline) ClearFitPoints()

func (*Spline) ClearKnotValues

func (this *Spline) ClearKnotValues()

func (*Spline) Clearweights

func (this *Spline) Clearweights()

func (*Spline) Color

func (this *Spline) Color() Color

func (*Spline) Color24Bit

func (this *Spline) Color24Bit() int

func (*Spline) ColorName

func (this *Spline) ColorName() string

func (*Spline) Elevation

func (this *Spline) Elevation() float64

func (*Spline) Handle

func (this *Spline) Handle() Handle

func (*Spline) ImageByteCount

func (this *Spline) ImageByteCount() int

func (*Spline) IsClosed

func (this *Spline) IsClosed() bool

IsClosed status flag.

func (*Spline) IsInPaperSpace

func (this *Spline) IsInPaperSpace() bool

func (*Spline) IsLinear

func (this *Spline) IsLinear() bool

IsLinear status flag.

func (*Spline) IsPeriodic

func (this *Spline) IsPeriodic() bool

IsPeriodic status flag.

func (*Spline) IsPlanar

func (this *Spline) IsPlanar() bool

IsPlanar status flag.

func (*Spline) IsRational

func (this *Spline) IsRational() bool

IsRational status flag.

func (*Spline) IsVisible

func (this *Spline) IsVisible() bool

func (*Spline) Layer

func (this *Spline) Layer() string

func (*Spline) LineTypeName

func (this *Spline) LineTypeName() string

func (*Spline) LineTypeScale

func (this *Spline) LineTypeScale() float64

func (*Spline) LineWeight

func (this *Spline) LineWeight() LineWeight

func (*Spline) MaterialHandle

func (this *Spline) MaterialHandle() string

func (*Spline) Owner

func (e *Spline) Owner() *DrawingItem

func (*Spline) PlotStyle

func (e *Spline) PlotStyle() *DrawingItem

func (*Spline) PreviewImageData

func (this *Spline) PreviewImageData() []string

func (*Spline) SetColor

func (this *Spline) SetColor(val Color)

func (*Spline) SetColor24Bit

func (this *Spline) SetColor24Bit(val int)

func (*Spline) SetColorName

func (this *Spline) SetColorName(val string)

func (*Spline) SetElevation

func (this *Spline) SetElevation(val float64)

func (*Spline) SetHandle

func (this *Spline) SetHandle(val Handle)

func (*Spline) SetImageByteCount

func (this *Spline) SetImageByteCount(val int)

func (*Spline) SetIsClosed

func (this *Spline) SetIsClosed(val bool)

IsClosed status flag.

func (*Spline) SetIsInPaperSpace

func (this *Spline) SetIsInPaperSpace(val bool)

func (*Spline) SetIsLinear

func (this *Spline) SetIsLinear(val bool)

IsLinear status flag.

func (*Spline) SetIsPeriodic

func (this *Spline) SetIsPeriodic(val bool)

IsPeriodic status flag.

func (*Spline) SetIsPlanar

func (this *Spline) SetIsPlanar(val bool)

IsPlanar status flag.

func (*Spline) SetIsRational

func (this *Spline) SetIsRational(val bool)

IsRational status flag.

func (*Spline) SetIsVisible

func (this *Spline) SetIsVisible(val bool)

func (*Spline) SetLayer

func (this *Spline) SetLayer(val string)

func (*Spline) SetLineTypeName

func (this *Spline) SetLineTypeName(val string)

func (*Spline) SetLineTypeScale

func (this *Spline) SetLineTypeScale(val float64)

func (*Spline) SetLineWeight

func (this *Spline) SetLineWeight(val LineWeight)

func (*Spline) SetMaterialHandle

func (this *Spline) SetMaterialHandle(val string)

func (*Spline) SetOwner

func (e *Spline) SetOwner(val *DrawingItem)

func (*Spline) SetPlotStyle

func (e *Spline) SetPlotStyle(val *DrawingItem)

func (*Spline) SetPreviewImageData

func (this *Spline) SetPreviewImageData(val []string)

func (*Spline) SetShadowMode

func (this *Spline) SetShadowMode(val ShadowMode)

func (*Spline) SetTransparency

func (this *Spline) SetTransparency(val int)

func (*Spline) ShadowMode

func (this *Spline) ShadowMode() ShadowMode

func (*Spline) Transparency

func (this *Spline) Transparency() int

type StringCodePairValue

type StringCodePairValue struct {
	Value string
}

StringCodePairValue represents a string code pair value.

type Style

type Style struct {
	Name                string
	Flags               int
	TextHeight          float64
	WidthFactor         float64
	ObliqueAngle        float64
	TextGenerationFlags int
	LastHeightUsed      float64
	PrimaryFontFileName string
	BigFontFileName     string
	FontFlags           int
	// contains filtered or unexported fields
}

func NewStyle

func NewStyle() *Style

func (*Style) Handle

func (this *Style) Handle() Handle

func (*Style) SetHandle

func (this *Style) SetHandle(val Handle)

type Text

type Text struct {
	Thickness                   float64
	Location                    Point
	Height                      float64
	Value                       string
	Rotation                    float64
	RelativeXScaleFactor        float64
	ObliqueAngle                float64
	TextStyleName               string
	TextGenerationFlags         int
	HorizontalTextJustification HorizontalTextJustification
	SecondAlignmentPoint        Point
	Normal                      Vector
	VerticalTextJustification   VerticalTextJustification
	// contains filtered or unexported fields
}

func NewText

func NewText() *Text

func (*Text) Color

func (this *Text) Color() Color

func (*Text) Color24Bit

func (this *Text) Color24Bit() int

func (*Text) ColorName

func (this *Text) ColorName() string

func (*Text) Elevation

func (this *Text) Elevation() float64

func (*Text) Handle

func (this *Text) Handle() Handle

func (*Text) ImageByteCount

func (this *Text) ImageByteCount() int

func (*Text) IsInPaperSpace

func (this *Text) IsInPaperSpace() bool

func (*Text) IsTextBackwards

func (this *Text) IsTextBackwards() bool

IsTextBackwards status flag.

func (*Text) IsTextUpsideDown

func (this *Text) IsTextUpsideDown() bool

IsTextUpsideDown status flag.

func (*Text) IsVisible

func (this *Text) IsVisible() bool

func (*Text) Layer

func (this *Text) Layer() string

func (*Text) LineTypeName

func (this *Text) LineTypeName() string

func (*Text) LineTypeScale

func (this *Text) LineTypeScale() float64

func (*Text) LineWeight

func (this *Text) LineWeight() LineWeight

func (*Text) MaterialHandle

func (this *Text) MaterialHandle() string

func (*Text) Owner

func (e *Text) Owner() *DrawingItem

func (*Text) PlotStyle

func (e *Text) PlotStyle() *DrawingItem

func (*Text) PreviewImageData

func (this *Text) PreviewImageData() []string

func (*Text) SetColor

func (this *Text) SetColor(val Color)

func (*Text) SetColor24Bit

func (this *Text) SetColor24Bit(val int)

func (*Text) SetColorName

func (this *Text) SetColorName(val string)

func (*Text) SetElevation

func (this *Text) SetElevation(val float64)

func (*Text) SetHandle

func (this *Text) SetHandle(val Handle)

func (*Text) SetImageByteCount

func (this *Text) SetImageByteCount(val int)

func (*Text) SetIsInPaperSpace

func (this *Text) SetIsInPaperSpace(val bool)

func (*Text) SetIsTextBackwards

func (this *Text) SetIsTextBackwards(val bool)

IsTextBackwards status flag.

func (*Text) SetIsTextUpsideDown

func (this *Text) SetIsTextUpsideDown(val bool)

IsTextUpsideDown status flag.

func (*Text) SetIsVisible

func (this *Text) SetIsVisible(val bool)

func (*Text) SetLayer

func (this *Text) SetLayer(val string)

func (*Text) SetLineTypeName

func (this *Text) SetLineTypeName(val string)

func (*Text) SetLineTypeScale

func (this *Text) SetLineTypeScale(val float64)

func (*Text) SetLineWeight

func (this *Text) SetLineWeight(val LineWeight)

func (*Text) SetMaterialHandle

func (this *Text) SetMaterialHandle(val string)

func (*Text) SetOwner

func (e *Text) SetOwner(val *DrawingItem)

func (*Text) SetPlotStyle

func (e *Text) SetPlotStyle(val *DrawingItem)

func (*Text) SetPreviewImageData

func (this *Text) SetPreviewImageData(val []string)

func (*Text) SetShadowMode

func (this *Text) SetShadowMode(val ShadowMode)

func (*Text) SetTransparency

func (this *Text) SetTransparency(val int)

func (*Text) ShadowMode

func (this *Text) ShadowMode() ShadowMode

func (*Text) Transparency

func (this *Text) Transparency() int

type TextDirection

type TextDirection int16
const (
	TextDirectionLeftToRight TextDirection = iota
	TextDirectionRightToLeft
)

func (TextDirection) String

func (this TextDirection) String() string

type TextLineSpacingStyle

type TextLineSpacingStyle int16
const (
	TextLineSpacingStyleAtLeast TextLineSpacingStyle = 1
	TextLineSpacingStyleExact   TextLineSpacingStyle = 2
)

func (TextLineSpacingStyle) String

func (this TextLineSpacingStyle) String() string

type TileModeDescriptor

type TileModeDescriptor int16
const (
	TileModeDescriptorInTiledViewport TileModeDescriptor = iota
	TileModeDescriptorInNonTiledViewport
)

func (TileModeDescriptor) String

func (this TileModeDescriptor) String() string

type TimeZone

type TimeZone int16
const (
	TimeZoneInternationalDateLineWest                     TimeZone = -12000
	TimeZoneMidwayIsland_Samoa                            TimeZone = -11000
	TimeZoneHawaii                                        TimeZone = -10000
	TimeZoneAlaska                                        TimeZone = -9000
	TimeZonePacificTime_US_Canada_SanFrancisco_Vancouver  TimeZone = -8000
	TimeZoneArizona                                       TimeZone = -7000
	TimeZoneChihuahua_LaPaz_Mazatlan                      TimeZone = -7000
	TimeZoneMountainTime_US_Canada                        TimeZone = -7000
	TimeZoneMazatlan                                      TimeZone = -7002
	TimeZoneCentralAmerica                                TimeZone = -6000
	TimeZoneCentralTime_US_Canada                         TimeZone = -6001
	TimeZoneGuadalajara_MexicoCity_Monterrey              TimeZone = -6002
	TimeZoneSaskatchewan                                  TimeZone = -6003
	TimeZoneEasternTime_US_Canada_                        TimeZone = -5000
	TimeZoneIndiana_East_                                 TimeZone = -5001
	TimeZoneBogota_Lima_Quito                             TimeZone = -5002
	TimeZoneAtlanticTime_Canada_                          TimeZone = -4000
	TimeZoneCaracas_LaPaz                                 TimeZone = -4001
	TimeZoneSantiago                                      TimeZone = -4002
	TimeZoneNewfoundland                                  TimeZone = -3300
	TimeZoneBrasilia                                      TimeZone = -3000
	TimeZoneBuenosAires_Georgetown                        TimeZone = -3001
	TimeZoneGreenland                                     TimeZone = -3002
	TimeZoneMidAtlantic                                   TimeZone = -2000
	TimeZoneAzores                                        TimeZone = -1000
	TimeZoneCapeVerdeIs                                   TimeZone = -1001
	TimeZoneUniversalCoordinatedTime                      TimeZone = 0
	TimeZoneGreenwichMeanTime                             TimeZone = 1
	TimeZoneCasablanca_Monrovia                           TimeZone = 2
	TimeZoneAmsterdam_Berlin_Bern_Rome_Stockholm          TimeZone = 1000
	TimeZoneBrussels_Madrid_Copenhagen_Paris              TimeZone = 1001
	TimeZoneBelgrade_Bratislava_Budapest_Ljubljana_Prague TimeZone = 1002
	TimeZoneSarajevo_Skopje_Warsaw_Zagreb                 TimeZone = 1003
	TimeZoneWestCentralAfrica                             TimeZone = 1004
	TimeZoneAthens_Beirut_Istanbul_Minsk                  TimeZone = 2000
	TimeZoneBucharest                                     TimeZone = 2001
	TimeZoneCairo                                         TimeZone = 2002
	TimeZoneHarare_Pretoria                               TimeZone = 2003
	TimeZoneHelsinki_Kyiv_Sofia_Talinn_Vilnius            TimeZone = 2004
	TimeZoneJerusalem                                     TimeZone = 2005
	TimeZoneMoscow_StPetersburg_Volograd                  TimeZone = 3000
	TimeZoneKuwait_Riyadh                                 TimeZone = 3001
	TimeZoneBaghdad                                       TimeZone = 3002
	TimeZoneNairobi                                       TimeZone = 3003
	TimeZoneTehran                                        TimeZone = 3300
	TimeZoneAbuDhabi_Muscat                               TimeZone = 4000
	TimeZoneBaku_Tbilisi_Yerevan                          TimeZone = 4001
	TimeZoneKabul                                         TimeZone = 4300
	TimeZoneEkaterinburg                                  TimeZone = 5000
	TimeZoneIslamabad_Karachi_Tashkent                    TimeZone = 5001
	TimeZoneChennai_Kolkata_Mumbai_NewDelhi               TimeZone = 5300
	TimeZoneKathmandu                                     TimeZone = 5450
	TimeZoneAlmaty_Novosibirsk                            TimeZone = 6000
	TimeZoneAstana_Dhaka                                  TimeZone = 6001
	TimeZoneSriJayawardenepura                            TimeZone = 6002
	TimeZoneRangoon                                       TimeZone = 6300
	TimeZoneBangkok_Hanoi_Jakarta                         TimeZone = 7000
	TimeZoneKrasnoyarsk                                   TimeZone = 7001
	TimeZoneBeijing_Chongqing_HongKong_Urumqi             TimeZone = 8000
	TimeZoneKualaLumpur_Singapore                         TimeZone = 8001
	TimeZoneTaipei                                        TimeZone = 8002
	TimeZoneIrkutsk_UlaanBataar                           TimeZone = 8003
	TimeZonePerth                                         TimeZone = 8004
	TimeZoneOsaka_Sapporo_Tokyo                           TimeZone = 9000
	TimeZoneSeoul                                         TimeZone = 9001
	TimeZoneYakutsk                                       TimeZone = 9002
	TimeZoneAdelaide                                      TimeZone = 9300
	TimeZoneDarwin                                        TimeZone = 9301
	TimeZoneCanberra_Melbourne_Sydney                     TimeZone = 10000
	TimeZoneGuam_PortMoresby                              TimeZone = 10001
	TimeZoneBrisbane                                      TimeZone = 10002
	TimeZoneHobart                                        TimeZone = 10003
	TimeZoneVladivostok                                   TimeZone = 10004
	TimeZoneMagadan_SolomonIs_NewCaledonia                TimeZone = 11000
	TimeZoneAuckland_Wellington                           TimeZone = 12000
	TimeZoneFiji_Kamchatka_MarshallIs                     TimeZone = 12001
	TimeZoneNukualofa_Tonga                               TimeZone = 13000
)

func (TimeZone) String

func (this TimeZone) String() string

type Tolerance

type Tolerance struct {
	DimensionStyleName string
	InsertionPoint     Point
	DisplayText        string
	ExtrusionDirection Vector
	DirectionVector    Vector
	// contains filtered or unexported fields
}

func NewTolerance

func NewTolerance() *Tolerance

func (*Tolerance) Color

func (this *Tolerance) Color() Color

func (*Tolerance) Color24Bit

func (this *Tolerance) Color24Bit() int

func (*Tolerance) ColorName

func (this *Tolerance) ColorName() string

func (*Tolerance) Elevation

func (this *Tolerance) Elevation() float64

func (*Tolerance) Handle

func (this *Tolerance) Handle() Handle

func (*Tolerance) ImageByteCount

func (this *Tolerance) ImageByteCount() int

func (*Tolerance) IsInPaperSpace

func (this *Tolerance) IsInPaperSpace() bool

func (*Tolerance) IsVisible

func (this *Tolerance) IsVisible() bool

func (*Tolerance) Layer

func (this *Tolerance) Layer() string

func (*Tolerance) LineTypeName

func (this *Tolerance) LineTypeName() string

func (*Tolerance) LineTypeScale

func (this *Tolerance) LineTypeScale() float64

func (*Tolerance) LineWeight

func (this *Tolerance) LineWeight() LineWeight

func (*Tolerance) MaterialHandle

func (this *Tolerance) MaterialHandle() string

func (*Tolerance) Owner

func (e *Tolerance) Owner() *DrawingItem

func (*Tolerance) PlotStyle

func (e *Tolerance) PlotStyle() *DrawingItem

func (*Tolerance) PreviewImageData

func (this *Tolerance) PreviewImageData() []string

func (*Tolerance) SetColor

func (this *Tolerance) SetColor(val Color)

func (*Tolerance) SetColor24Bit

func (this *Tolerance) SetColor24Bit(val int)

func (*Tolerance) SetColorName

func (this *Tolerance) SetColorName(val string)

func (*Tolerance) SetElevation

func (this *Tolerance) SetElevation(val float64)

func (*Tolerance) SetHandle

func (this *Tolerance) SetHandle(val Handle)

func (*Tolerance) SetImageByteCount

func (this *Tolerance) SetImageByteCount(val int)

func (*Tolerance) SetIsInPaperSpace

func (this *Tolerance) SetIsInPaperSpace(val bool)

func (*Tolerance) SetIsVisible

func (this *Tolerance) SetIsVisible(val bool)

func (*Tolerance) SetLayer

func (this *Tolerance) SetLayer(val string)

func (*Tolerance) SetLineTypeName

func (this *Tolerance) SetLineTypeName(val string)

func (*Tolerance) SetLineTypeScale

func (this *Tolerance) SetLineTypeScale(val float64)

func (*Tolerance) SetLineWeight

func (this *Tolerance) SetLineWeight(val LineWeight)

func (*Tolerance) SetMaterialHandle

func (this *Tolerance) SetMaterialHandle(val string)

func (*Tolerance) SetOwner

func (e *Tolerance) SetOwner(val *DrawingItem)

func (*Tolerance) SetPlotStyle

func (e *Tolerance) SetPlotStyle(val *DrawingItem)

func (*Tolerance) SetPreviewImageData

func (this *Tolerance) SetPreviewImageData(val []string)

func (*Tolerance) SetShadowMode

func (this *Tolerance) SetShadowMode(val ShadowMode)

func (*Tolerance) SetTransparency

func (this *Tolerance) SetTransparency(val int)

func (*Tolerance) ShadowMode

func (this *Tolerance) ShadowMode() ShadowMode

func (*Tolerance) Transparency

func (this *Tolerance) Transparency() int

type Trace

type Trace struct {
	FirstCorner        Point
	SecondCorner       Point
	ThirdCorner        Point
	FourthCorner       Point
	Thickness          float64
	ExtrusionDirection Vector
	// contains filtered or unexported fields
}

func NewTrace

func NewTrace() *Trace

func (*Trace) Color

func (this *Trace) Color() Color

func (*Trace) Color24Bit

func (this *Trace) Color24Bit() int

func (*Trace) ColorName

func (this *Trace) ColorName() string

func (*Trace) Elevation

func (this *Trace) Elevation() float64

func (*Trace) Handle

func (this *Trace) Handle() Handle

func (*Trace) ImageByteCount

func (this *Trace) ImageByteCount() int

func (*Trace) IsInPaperSpace

func (this *Trace) IsInPaperSpace() bool

func (*Trace) IsVisible

func (this *Trace) IsVisible() bool

func (*Trace) Layer

func (this *Trace) Layer() string

func (*Trace) LineTypeName

func (this *Trace) LineTypeName() string

func (*Trace) LineTypeScale

func (this *Trace) LineTypeScale() float64

func (*Trace) LineWeight

func (this *Trace) LineWeight() LineWeight

func (*Trace) MaterialHandle

func (this *Trace) MaterialHandle() string

func (*Trace) Owner

func (e *Trace) Owner() *DrawingItem

func (*Trace) PlotStyle

func (e *Trace) PlotStyle() *DrawingItem

func (*Trace) PreviewImageData

func (this *Trace) PreviewImageData() []string

func (*Trace) SetColor

func (this *Trace) SetColor(val Color)

func (*Trace) SetColor24Bit

func (this *Trace) SetColor24Bit(val int)

func (*Trace) SetColorName

func (this *Trace) SetColorName(val string)

func (*Trace) SetElevation

func (this *Trace) SetElevation(val float64)

func (*Trace) SetHandle

func (this *Trace) SetHandle(val Handle)

func (*Trace) SetImageByteCount

func (this *Trace) SetImageByteCount(val int)

func (*Trace) SetIsInPaperSpace

func (this *Trace) SetIsInPaperSpace(val bool)

func (*Trace) SetIsVisible

func (this *Trace) SetIsVisible(val bool)

func (*Trace) SetLayer

func (this *Trace) SetLayer(val string)

func (*Trace) SetLineTypeName

func (this *Trace) SetLineTypeName(val string)

func (*Trace) SetLineTypeScale

func (this *Trace) SetLineTypeScale(val float64)

func (*Trace) SetLineWeight

func (this *Trace) SetLineWeight(val LineWeight)

func (*Trace) SetMaterialHandle

func (this *Trace) SetMaterialHandle(val string)

func (*Trace) SetOwner

func (e *Trace) SetOwner(val *DrawingItem)

func (*Trace) SetPlotStyle

func (e *Trace) SetPlotStyle(val *DrawingItem)

func (*Trace) SetPreviewImageData

func (this *Trace) SetPreviewImageData(val []string)

func (*Trace) SetShadowMode

func (this *Trace) SetShadowMode(val ShadowMode)

func (*Trace) SetTransparency

func (this *Trace) SetTransparency(val int)

func (*Trace) ShadowMode

func (this *Trace) ShadowMode() ShadowMode

func (*Trace) Transparency

func (this *Trace) Transparency() int

type Ucs

type Ucs struct {
	Name                 string
	Flags                int
	Origin               Point
	XAxis                Vector
	YAxis                Vector
	OrthographicViewType OrthographicViewType
	Elevation            float64
	BaseUcsHandle        string
	OrthographicType     OrthographicViewType
	OrthographicOrigin   Point
	// contains filtered or unexported fields
}

func NewUcs

func NewUcs() *Ucs

func (*Ucs) Handle

func (this *Ucs) Handle() Handle

func (*Ucs) SetHandle

func (this *Ucs) SetHandle(val Handle)

type Underlay

type Underlay interface {
	ObjectHandle() string
	SetObjectHandle(val string)
	InsertionPoint() Point
	SetInsertionPoint(val Point)
	XScale() float64
	SetXScale(val float64)
	YScale() float64
	SetYScale(val float64)
	ZScale() float64
	SetZScale(val float64)
	RotationAngle() float64
	SetRotationAngle(val float64)
	Normal() Vector
	SetNormal(val Vector)
	Flags() int
	SetFlags(val int)
	Contrast() int16
	SetContrast(val int16)
	Fade() int16
	SetFade(val int16)
	BoundaryPoints() []Point
	SetBoundaryPoints(val []Point)

	SetpointX(val []float64)

	SetpointY(val []float64)
	// contains filtered or unexported methods
}

type UnderlayFrameMode

type UnderlayFrameMode int16
const (
	UnderlayFrameModeNone UnderlayFrameMode = iota
	UnderlayFrameModeDisplayAndPlot
	UnderlayFrameModeDisplayNoPlot
)

func (UnderlayFrameMode) String

func (this UnderlayFrameMode) String() string

type UnitFormat

type UnitFormat int16
const (
	UnitFormat_          UnitFormat = iota
	UnitFormatScientific UnitFormat = iota
	UnitFormatDecimal
	UnitFormatEngineering
	UnitFormatArchitecturalStacked
	UnitFormatFractionalStacked
	UnitFormatArchitectural
	UnitFormatFractional
)

func (UnitFormat) String

func (this UnitFormat) String() string

type UnitZeroSuppression

type UnitZeroSuppression int16
const (
	UnitZeroSuppressionSuppressZeroFeetAndZeroInches UnitZeroSuppression = iota
	UnitZeroSuppressionIncludeZeroFeetAndZeroInches
	UnitZeroSuppressionIncludeZeroFeetAndSuppressZeroInches
	UnitZeroSuppressionIncludeZeroInchesAndSuppressZeroFeet
)

func (UnitZeroSuppression) String

func (this UnitZeroSuppression) String() string

type Units

type Units int16
const (
	UnitsUnitless Units = iota
	UnitsInches
	UnitsFeet
	UnitsMiles
	UnitsMillimeters
	UnitsCentimeters
	UnitsMeters
	UnitsKilometers
	UnitsMicroinches
	UnitsMils
	UnitsYards
	UnitsAngstroms
	UnitsNanometers
	UnitsMicrons
	UnitsDecimeters
	UnitsDecameters
	UnitsHectometers
	UnitsGigameters
	UnitsAstronomicalUnits
	UnitsLightYears
	UnitsParsecs
	UnitsUSSurveyFeet
	UnitsUSSurveyInch
	UnitsUSSurveyYard
	UnitsUSSurveyMile
)

func (Units) String

func (this Units) String() string

type Vector

type Vector struct {
	X float64
	Y float64
	Z float64
}

The Vector struct represents a vector in 3D space.

func NewXAxis

func NewXAxis() *Vector

NewXAxis creates a unit vector along the X axis.

func NewYAxis

func NewYAxis() *Vector

NewYAxis creates a unit vector along the Y axis.

func NewZAxis

func NewZAxis() *Vector

NewZAxis creates a unit vector along the Z axis.

func NewZeroVector

func NewZeroVector() *Vector

NewZeroVector creates a vector representing zero distance across any axis.

func (*Vector) String

func (v *Vector) String() string

type Version

type Version int16
const (
	VersionR2010 Version = iota
)

func (Version) String

func (this Version) String() string

type Vertex

type Vertex struct {
	Location                 Point
	StartingWidth            float64
	EndingWidth              float64
	Bulge                    float64
	Flags                    int
	CurveFitTangentDirection float64
	PolyfaceMeshVertexIndex1 int
	PolyfaceMeshVertexIndex2 int
	PolyfaceMeshVertexIndex3 int
	PolyfaceMeshVertexIndex4 int
	Identifier               int
	// contains filtered or unexported fields
}

func NewVertex

func NewVertex() *Vertex

func (*Vertex) Color

func (this *Vertex) Color() Color

func (*Vertex) Color24Bit

func (this *Vertex) Color24Bit() int

func (*Vertex) ColorName

func (this *Vertex) ColorName() string

func (*Vertex) Elevation

func (this *Vertex) Elevation() float64

func (*Vertex) Handle

func (this *Vertex) Handle() Handle

func (*Vertex) ImageByteCount

func (this *Vertex) ImageByteCount() int

func (*Vertex) Is3DPolygonMesh

func (this *Vertex) Is3DPolygonMesh() bool

Is3DPolygonMesh status flag.

func (*Vertex) Is3DPolylineVertex

func (this *Vertex) Is3DPolylineVertex() bool

Is3DPolylineVertex status flag.

func (*Vertex) IsCurveFitTangentDefined

func (this *Vertex) IsCurveFitTangentDefined() bool

IsCurveFitTangentDefined status flag.

func (*Vertex) IsExtraCreatedByCurveFit

func (this *Vertex) IsExtraCreatedByCurveFit() bool

IsExtraCreatedByCurveFit status flag.

func (*Vertex) IsInPaperSpace

func (this *Vertex) IsInPaperSpace() bool

func (*Vertex) IsPolyfaceMeshVertex

func (this *Vertex) IsPolyfaceMeshVertex() bool

IsPolyfaceMeshVertex status flag.

func (*Vertex) IsSplineFrameControlPoint

func (this *Vertex) IsSplineFrameControlPoint() bool

IsSplineFrameControlPoint status flag.

func (*Vertex) IsSplineVertexCreatedBySplineFitting

func (this *Vertex) IsSplineVertexCreatedBySplineFitting() bool

IsSplineVertexCreatedBySplineFitting status flag.

func (*Vertex) IsVisible

func (this *Vertex) IsVisible() bool

func (*Vertex) Layer

func (this *Vertex) Layer() string

func (*Vertex) LineTypeName

func (this *Vertex) LineTypeName() string

func (*Vertex) LineTypeScale

func (this *Vertex) LineTypeScale() float64

func (*Vertex) LineWeight

func (this *Vertex) LineWeight() LineWeight

func (*Vertex) MaterialHandle

func (this *Vertex) MaterialHandle() string

func (*Vertex) Owner

func (e *Vertex) Owner() *DrawingItem

func (*Vertex) PlotStyle

func (e *Vertex) PlotStyle() *DrawingItem

func (*Vertex) PreviewImageData

func (this *Vertex) PreviewImageData() []string

func (*Vertex) SetColor

func (this *Vertex) SetColor(val Color)

func (*Vertex) SetColor24Bit

func (this *Vertex) SetColor24Bit(val int)

func (*Vertex) SetColorName

func (this *Vertex) SetColorName(val string)

func (*Vertex) SetElevation

func (this *Vertex) SetElevation(val float64)

func (*Vertex) SetHandle

func (this *Vertex) SetHandle(val Handle)

func (*Vertex) SetImageByteCount

func (this *Vertex) SetImageByteCount(val int)

func (*Vertex) SetIs3DPolygonMesh

func (this *Vertex) SetIs3DPolygonMesh(val bool)

Is3DPolygonMesh status flag.

func (*Vertex) SetIs3DPolylineVertex

func (this *Vertex) SetIs3DPolylineVertex(val bool)

Is3DPolylineVertex status flag.

func (*Vertex) SetIsCurveFitTangentDefined

func (this *Vertex) SetIsCurveFitTangentDefined(val bool)

IsCurveFitTangentDefined status flag.

func (*Vertex) SetIsExtraCreatedByCurveFit

func (this *Vertex) SetIsExtraCreatedByCurveFit(val bool)

IsExtraCreatedByCurveFit status flag.

func (*Vertex) SetIsInPaperSpace

func (this *Vertex) SetIsInPaperSpace(val bool)

func (*Vertex) SetIsPolyfaceMeshVertex

func (this *Vertex) SetIsPolyfaceMeshVertex(val bool)

IsPolyfaceMeshVertex status flag.

func (*Vertex) SetIsSplineFrameControlPoint

func (this *Vertex) SetIsSplineFrameControlPoint(val bool)

IsSplineFrameControlPoint status flag.

func (*Vertex) SetIsSplineVertexCreatedBySplineFitting

func (this *Vertex) SetIsSplineVertexCreatedBySplineFitting(val bool)

IsSplineVertexCreatedBySplineFitting status flag.

func (*Vertex) SetIsVisible

func (this *Vertex) SetIsVisible(val bool)

func (*Vertex) SetLayer

func (this *Vertex) SetLayer(val string)

func (*Vertex) SetLineTypeName

func (this *Vertex) SetLineTypeName(val string)

func (*Vertex) SetLineTypeScale

func (this *Vertex) SetLineTypeScale(val float64)

func (*Vertex) SetLineWeight

func (this *Vertex) SetLineWeight(val LineWeight)

func (*Vertex) SetMaterialHandle

func (this *Vertex) SetMaterialHandle(val string)

func (*Vertex) SetOwner

func (e *Vertex) SetOwner(val *DrawingItem)

func (*Vertex) SetPlotStyle

func (e *Vertex) SetPlotStyle(val *DrawingItem)

func (*Vertex) SetPreviewImageData

func (this *Vertex) SetPreviewImageData(val []string)

func (*Vertex) SetShadowMode

func (this *Vertex) SetShadowMode(val ShadowMode)

func (*Vertex) SetTransparency

func (this *Vertex) SetTransparency(val int)

func (*Vertex) ShadowMode

func (this *Vertex) ShadowMode() ShadowMode

func (*Vertex) Transparency

func (this *Vertex) Transparency() int

type VerticalTextJustification

type VerticalTextJustification int16
const (
	VerticalTextJustificationBaseline VerticalTextJustification = iota
	VerticalTextJustificationBottom
	VerticalTextJustificationMiddle
	VerticalTextJustificationTop
)

func (VerticalTextJustification) String

func (this VerticalTextJustification) String() string

type View

type View struct {
	Name                    string
	Flags                   int
	ViewHeight              float64
	ViewCenterPoint         Point
	ViewWidth               float64
	ViewDirection           Vector
	TargetPoint             Point
	LensLength              float64
	FrontClippingPlane      float64
	BackClippingPlane       float64
	TwistAngle              float64
	ViewMode                int16
	RenderMode              ViewRenderMode
	IsAssociatedUCSPresent  bool
	IsCameraPlottable       bool
	BackgroundObjectHandle  string
	SelectionObjectHandle   string
	VisualStyleObjectHandle string
	SunOwnershipHandle      string
	UCSOrigin               Point
	UCSXAxis                Vector
	UCSYAxis                Vector
	OrthographicViewType    OrthographicViewType
	UCSElevation            float64
	UCSHandle               string
	BaseUCSHandle           string
	// contains filtered or unexported fields
}

func NewView

func NewView() *View

func (*View) Handle

func (this *View) Handle() Handle

func (*View) SetHandle

func (this *View) SetHandle(val Handle)

type ViewMode

type ViewMode int

ViewMode represents the various states a given `ViewPort` can have.

func (*ViewMode) BackClippingOn

func (v *ViewMode) BackClippingOn() bool

BackClippingOn specifies whether back clipping is on.

func (*ViewMode) FrontClippingAtEye

func (v *ViewMode) FrontClippingAtEye() bool

FrontClippingAtEye specifies whether front eye clipping is on.

func (*ViewMode) FrontClippingOn

func (v *ViewMode) FrontClippingOn() bool

FrontClippingOn specifies whether front clipping is on.

func (*ViewMode) PerspectiveViewActive

func (v *ViewMode) PerspectiveViewActive() bool

PerspectiveViewActive specifies whether the perspective view is active.

func (*ViewMode) SetBackClippingOn

func (v *ViewMode) SetBackClippingOn(val bool)

SetBackClippingOn sets the front clipping state of the view.

func (*ViewMode) SetFrontClippingAtEye

func (v *ViewMode) SetFrontClippingAtEye(val bool)

SetFrontClippingAtEye sets the front eye clipping mode of the view.

func (*ViewMode) SetFrontClippingOn

func (v *ViewMode) SetFrontClippingOn(val bool)

SetFrontClippingOn sets the front clipping state of the view.

func (*ViewMode) SetPerspectiveViewActive

func (v *ViewMode) SetPerspectiveViewActive(val bool)

SetPerspectiveViewActive sets the active state of the perspective view.

func (*ViewMode) SetUcsFollowModeOn

func (v *ViewMode) SetUcsFollowModeOn(val bool)

SetUcsFollowModeOn sets the UCS follow mode of the view.

func (*ViewMode) UcsFollowModeOn

func (v *ViewMode) UcsFollowModeOn() bool

UcsFollowModeOn specifies whether UCS follow mode is on.

type ViewPort

type ViewPort struct {
	Name                    string
	Flags                   int
	LowerLeft               Point
	UpperRight              Point
	ViewCenter              Point
	SnapBasePoint           Point
	SnapSpacing             Vector
	GridSpacing             Vector
	ViewDirection           Vector
	TargetViewPoint         Point
	ViewHeight              float64
	ViewPortAspectRatio     float64
	LensLength              float64
	FrontClippingPlane      float64
	BackClippingPlane       float64
	SnapRotationAngle       float64
	ViewTwistAngle          float64
	ViewMode                ViewMode
	CircleSides             int
	FastZoom                bool
	UCSIcon                 int16
	SnapOn                  bool
	GridOn                  bool
	SnapStyle               SnapStyle
	SnapIsometricPlane      SnapIsometricPlane
	PlotStyleSheet          string
	RenderMode              ViewRenderMode
	HasOwnUCS               bool
	UCSOrigin               Point
	UCSXAxis                Vector
	UCSYAxis                Vector
	OrthographicViewType    OrthographicViewType
	UCSElevation            float64
	UCSHandle               string
	BaseUCSHandle           string
	ShadePlotSetting        ShadeEdgeMode
	MajorGridLines          bool
	BackgroundObjectHandle  string
	ShadePlotObjectHandle   string
	VisualStyleObjectHandle string
	IsDefaultLightingOn     bool
	DefaultLightingType     DefaultLightingType
	Brightness              float64
	Contrast                float64
	AmbientColor            Color
	AmbientColorInt         int
	AmbientColorName        string
	// contains filtered or unexported fields
}

func NewViewPort

func NewViewPort() *ViewPort

func (*ViewPort) Handle

func (this *ViewPort) Handle() Handle

func (*ViewPort) SetHandle

func (this *ViewPort) SetHandle(val Handle)

type ViewRenderMode

type ViewRenderMode int16
const (
	ViewRenderModeClassic2D ViewRenderMode = iota
	ViewRenderModeWireframe
	ViewRenderModeHiddenLine
	ViewRenderModeFlatShaded
	ViewRenderModeGouraudShaded
	ViewRenderModeFlatShadedWithWireframe
	ViewRenderModeGouraudShadedWithWireframe
)

func (ViewRenderMode) String

func (this ViewRenderMode) String() string

type Wipeout

type Wipeout struct {
	// contains filtered or unexported fields
}

func NewWipeout

func NewWipeout() *Wipeout

func (*Wipeout) Brightness

func (this *Wipeout) Brightness() int16

func (*Wipeout) ClassVersion

func (this *Wipeout) ClassVersion() int

func (*Wipeout) ClippingType

func (this *Wipeout) ClippingType() ImageClippingBoundaryType

func (*Wipeout) ClippingVertices

func (this *Wipeout) ClippingVertices() []Point

func (*Wipeout) Color

func (this *Wipeout) Color() Color

func (*Wipeout) Color24Bit

func (this *Wipeout) Color24Bit() int

func (*Wipeout) ColorName

func (this *Wipeout) ColorName() string

func (*Wipeout) Contrast

func (this *Wipeout) Contrast() int16

func (*Wipeout) DisplayOptionsFlags

func (this *Wipeout) DisplayOptionsFlags() int

func (*Wipeout) Elevation

func (this *Wipeout) Elevation() float64

func (*Wipeout) Fade

func (this *Wipeout) Fade() int16

func (*Wipeout) Handle

func (this *Wipeout) Handle() Handle

func (*Wipeout) ImageByteCount

func (this *Wipeout) ImageByteCount() int

func (*Wipeout) ImageSize

func (this *Wipeout) ImageSize() Vector

func (*Wipeout) IsInPaperSpace

func (this *Wipeout) IsInPaperSpace() bool

func (*Wipeout) IsInsideClipping

func (this *Wipeout) IsInsideClipping() bool

func (*Wipeout) IsVisible

func (this *Wipeout) IsVisible() bool

func (*Wipeout) Layer

func (this *Wipeout) Layer() string

func (*Wipeout) LineTypeName

func (this *Wipeout) LineTypeName() string

func (*Wipeout) LineTypeScale

func (this *Wipeout) LineTypeScale() float64

func (*Wipeout) LineWeight

func (this *Wipeout) LineWeight() LineWeight

func (*Wipeout) Location

func (this *Wipeout) Location() Point

func (*Wipeout) MaterialHandle

func (this *Wipeout) MaterialHandle() string

func (*Wipeout) Owner

func (e *Wipeout) Owner() *DrawingItem

func (*Wipeout) PlotStyle

func (e *Wipeout) PlotStyle() *DrawingItem

func (*Wipeout) PreviewImageData

func (this *Wipeout) PreviewImageData() []string

func (*Wipeout) SetBrightness

func (this *Wipeout) SetBrightness(val int16)

func (*Wipeout) SetClassVersion

func (this *Wipeout) SetClassVersion(val int)

func (*Wipeout) SetClippingType

func (this *Wipeout) SetClippingType(val ImageClippingBoundaryType)

func (*Wipeout) SetClippingVertices

func (this *Wipeout) SetClippingVertices(val []Point)

func (*Wipeout) SetColor

func (this *Wipeout) SetColor(val Color)

func (*Wipeout) SetColor24Bit

func (this *Wipeout) SetColor24Bit(val int)

func (*Wipeout) SetColorName

func (this *Wipeout) SetColorName(val string)

func (*Wipeout) SetContrast

func (this *Wipeout) SetContrast(val int16)

func (*Wipeout) SetDisplayOptionsFlags

func (this *Wipeout) SetDisplayOptionsFlags(val int)

func (*Wipeout) SetElevation

func (this *Wipeout) SetElevation(val float64)

func (*Wipeout) SetFade

func (this *Wipeout) SetFade(val int16)

func (*Wipeout) SetHandle

func (this *Wipeout) SetHandle(val Handle)

func (*Wipeout) SetImageByteCount

func (this *Wipeout) SetImageByteCount(val int)

func (*Wipeout) SetImageSize

func (this *Wipeout) SetImageSize(val Vector)

func (*Wipeout) SetIsInPaperSpace

func (this *Wipeout) SetIsInPaperSpace(val bool)

func (*Wipeout) SetIsInsideClipping

func (this *Wipeout) SetIsInsideClipping(val bool)

func (*Wipeout) SetIsVisible

func (this *Wipeout) SetIsVisible(val bool)

func (*Wipeout) SetLayer

func (this *Wipeout) SetLayer(val string)

func (*Wipeout) SetLineTypeName

func (this *Wipeout) SetLineTypeName(val string)

func (*Wipeout) SetLineTypeScale

func (this *Wipeout) SetLineTypeScale(val float64)

func (*Wipeout) SetLineWeight

func (this *Wipeout) SetLineWeight(val LineWeight)

func (*Wipeout) SetLocation

func (this *Wipeout) SetLocation(val Point)

func (*Wipeout) SetMaterialHandle

func (this *Wipeout) SetMaterialHandle(val string)

func (*Wipeout) SetOwner

func (e *Wipeout) SetOwner(val *DrawingItem)

func (*Wipeout) SetPlotStyle

func (e *Wipeout) SetPlotStyle(val *DrawingItem)

func (*Wipeout) SetPreviewImageData

func (this *Wipeout) SetPreviewImageData(val []string)

func (*Wipeout) SetShadowMode

func (this *Wipeout) SetShadowMode(val ShadowMode)

func (*Wipeout) SetTransparency

func (this *Wipeout) SetTransparency(val int)

func (*Wipeout) SetUVector

func (this *Wipeout) SetUVector(val Vector)

func (*Wipeout) SetUseClipping

func (this *Wipeout) SetUseClipping(val bool)

func (*Wipeout) SetVVector

func (this *Wipeout) SetVVector(val Vector)

func (*Wipeout) SetclippingVertexCount

func (this *Wipeout) SetclippingVertexCount(val int)

func (*Wipeout) SetclippingVerticesX

func (this *Wipeout) SetclippingVerticesX(val []float64)

func (*Wipeout) SetclippingVerticesY

func (this *Wipeout) SetclippingVerticesY(val []float64)

func (*Wipeout) SetimageDefinitionHandle

func (this *Wipeout) SetimageDefinitionHandle(val string)

func (*Wipeout) SetimageDefinitionReactorHandle

func (this *Wipeout) SetimageDefinitionReactorHandle(val string)

func (*Wipeout) SetsubclassMarker

func (this *Wipeout) SetsubclassMarker(val string)

func (*Wipeout) ShadowMode

func (this *Wipeout) ShadowMode() ShadowMode

func (*Wipeout) Transparency

func (this *Wipeout) Transparency() int

func (*Wipeout) UVector

func (this *Wipeout) UVector() Vector

func (*Wipeout) UseClipping

func (this *Wipeout) UseClipping() bool

func (*Wipeout) VVector

func (this *Wipeout) VVector() Vector

type XLine

type XLine struct {
	FirstPoint          Point
	UnitDirectionVector Vector
	// contains filtered or unexported fields
}

func NewXLine

func NewXLine() *XLine

func (*XLine) Color

func (this *XLine) Color() Color

func (*XLine) Color24Bit

func (this *XLine) Color24Bit() int

func (*XLine) ColorName

func (this *XLine) ColorName() string

func (*XLine) Elevation

func (this *XLine) Elevation() float64

func (*XLine) Handle

func (this *XLine) Handle() Handle

func (*XLine) ImageByteCount

func (this *XLine) ImageByteCount() int

func (*XLine) IsInPaperSpace

func (this *XLine) IsInPaperSpace() bool

func (*XLine) IsVisible

func (this *XLine) IsVisible() bool

func (*XLine) Layer

func (this *XLine) Layer() string

func (*XLine) LineTypeName

func (this *XLine) LineTypeName() string

func (*XLine) LineTypeScale

func (this *XLine) LineTypeScale() float64

func (*XLine) LineWeight

func (this *XLine) LineWeight() LineWeight

func (*XLine) MaterialHandle

func (this *XLine) MaterialHandle() string

func (*XLine) Owner

func (e *XLine) Owner() *DrawingItem

func (*XLine) PlotStyle

func (e *XLine) PlotStyle() *DrawingItem

func (*XLine) PreviewImageData

func (this *XLine) PreviewImageData() []string

func (*XLine) SetColor

func (this *XLine) SetColor(val Color)

func (*XLine) SetColor24Bit

func (this *XLine) SetColor24Bit(val int)

func (*XLine) SetColorName

func (this *XLine) SetColorName(val string)

func (*XLine) SetElevation

func (this *XLine) SetElevation(val float64)

func (*XLine) SetHandle

func (this *XLine) SetHandle(val Handle)

func (*XLine) SetImageByteCount

func (this *XLine) SetImageByteCount(val int)

func (*XLine) SetIsInPaperSpace

func (this *XLine) SetIsInPaperSpace(val bool)

func (*XLine) SetIsVisible

func (this *XLine) SetIsVisible(val bool)

func (*XLine) SetLayer

func (this *XLine) SetLayer(val string)

func (*XLine) SetLineTypeName

func (this *XLine) SetLineTypeName(val string)

func (*XLine) SetLineTypeScale

func (this *XLine) SetLineTypeScale(val float64)

func (*XLine) SetLineWeight

func (this *XLine) SetLineWeight(val LineWeight)

func (*XLine) SetMaterialHandle

func (this *XLine) SetMaterialHandle(val string)

func (*XLine) SetOwner

func (e *XLine) SetOwner(val *DrawingItem)

func (*XLine) SetPlotStyle

func (e *XLine) SetPlotStyle(val *DrawingItem)

func (*XLine) SetPreviewImageData

func (this *XLine) SetPreviewImageData(val []string)

func (*XLine) SetShadowMode

func (this *XLine) SetShadowMode(val ShadowMode)

func (*XLine) SetTransparency

func (this *XLine) SetTransparency(val int)

func (*XLine) ShadowMode

func (this *XLine) ShadowMode() ShadowMode

func (*XLine) Transparency

func (this *XLine) Transparency() int

type XrefClippingBoundaryVisibility

type XrefClippingBoundaryVisibility int16
const (
	XrefClippingBoundaryVisibilityNotDisplayedNotPlotted XrefClippingBoundaryVisibility = iota
	XrefClippingBoundaryVisibilityDisplayedAndPlotted
	XrefClippingBoundaryVisibilityDisplayedNotPlotted
)

func (XrefClippingBoundaryVisibility) String

func (this XrefClippingBoundaryVisibility) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL