# Class: DbRasterImage

default.DbRasterImage

DbRasterImage 栅格图像实体.

# Hierarchy

# Table of contents

# Constructors

# Properties

# Constructors

# constructor

+ new DbRasterImage(prop?: IDbRasterImage): DbRasterImage

构造函数

# Parameters
Name Type Default value
prop IDbRasterImage {}

Returns: DbRasterImage

Overrides: DbEntity

# Properties

# alpha

Optional alpha: number

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: DbEntity.alpha


# brightness

Optional brightness: number

明亮度 [0.0 .. 100.0]


# cloneFromDb

Optional cloneFromDb: string

克隆的实体ID来源的图形,如为空,则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: DbEntity.cloneFromDb


# cloneObjectId

Optional cloneObjectId: string

克隆的实体ID,DbDocument有from图形来源字段时有效.

Inherited from: DbEntity.cloneObjectId


# color

Optional color: number

颜色.

Inherited from: DbEntity.color


# colorIndex

Optional colorIndex: number

颜色索引. 0 随块. 1 Red. 2 Yellow. 3 Green. 4 Cyan. 5 Blue. 6 Magenta. 256 表示随层

Inherited from: DbEntity.colorIndex


# heightRatio

Optional heightRatio: number

高比例..


# imageDisplayOptClip

Optional imageDisplayOptClip: boolean

是否裁剪.


# imageDisplayOptShow

Optional imageDisplayOptShow: boolean

是否显示.


# imageDisplayOptShowUnAligned

Optional imageDisplayOptShowUnAligned: boolean

是否对齐.


# imageDisplayOptTransparent

Optional imageDisplayOptTransparent: boolean

是否透明.


# layer

Optional layer: string

图层.

Inherited from: DbEntity.layer


# lineWidth

Optional lineWidth: number

线宽.

Inherited from: DbEntity.lineWidth


# linetype

Optional linetype: string

线型.

Inherited from: DbEntity.linetype


# linetypeScale

Optional linetypeScale: number

线型比例.

Inherited from: DbEntity.linetypeScale


# matrix

Optional matrix: IDbMatrixOp[]

矩阵.

Inherited from: DbEntity.matrix


# pixelHeight

Optional pixelHeight: number

源图片高.


# pixelWidth

Optional pixelWidth: number

源图片宽.


# position

Optional position: [number, number, undefined | number]

位置.


# sourceHttpUrl

Optional sourceHttpUrl: string

图片url地址.


# typename

Optional typename: string

类型.

Inherited from: DbEntity.typename


# units

Optional units: kNone | kMillimeter | kCentimeter | kMeter | kKilometer | kInch | kFoot | kYard | kMile | kMicroinches | kMils | kAngstroms | kNanometers | kMicrons | kDecimeters | kDekameters | kHectometers | kGigameters | kAstronomical | kLightYears | kParsecs

单位.


# visibility

Optional visibility: boolean

可见.

Inherited from: DbEntity.visibility


# widthRatio

Optional widthRatio: number

宽比例.


# xPelsPerUnit

Optional xPelsPerUnit: number

x轴每像素代表长度.


# xdata

Optional xdata: string

扩展数据.

Inherited from: DbEntity.xdata


# yPelsPerUnit

Optional yPelsPerUnit: number

y轴每像素代表长度.

vjmap / Exports / default / DbRotatedDimension