Class GifPlainTextRenderingBlock
名称: Aspose.Imaging.FileFormats.Gif.Blocks 收藏: Aspose.Imaging.dll (25.4.0)
Gif 平板文本扩展区块. 平板文本扩展包含文本数据和参数需要将这些数据作为图形,在简单的形式。
[JsonObject(MemberSerialization.OptIn)]
public class GifPlainTextRenderingBlock : GifBlock, IGifBlock
Inheritance
object ← GifBlock ← GifPlainTextRenderingBlock
Implements
继承人
GifBlock.ExtensionIntroducer , GifBlock.Save(Stream) , GifBlock.IsChanged , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
GifPlainTextRenderingBlock()
启动 Aspose.Imaging.FileFormats.Gif.Blocks.GifPlainTextRenderingBlock 类的新例子。
public GifPlainTextRenderingBlock()
GifPlainTextRenderingBlock(比特、比特、比特、比特、比特、比特、比特、比特、比特[])
启动 Aspose.Imaging.FileFormats.Gif.Blocks.GifPlainTextRenderingBlock 类的新例子。
public GifPlainTextRenderingBlock(ushort textGridLeftPosition, ushort textGridTopPosition, ushort textGridWidth, ushort textGridHeight, byte characterCellWidth, byte characterCellHeight, byte textForegroundColorIndex, byte textBackgroundColorIndex, byte[] data)
Parameters
textGridLeftPosition
ushort
文本网左位置。
textGridTopPosition
ushort
文本网顶位置。
textGridWidth
ushort
文本网宽。
textGridHeight
ushort
文本网的高度。
characterCellWidth
byte
字符细胞宽度。
characterCellHeight
byte
字符细胞高度。
textForegroundColorIndex
byte
前方颜色指数。
textBackgroundColorIndex
byte
背景颜色指数。
data
byte
( )
清晰的文本数据。
Fields
BlockSize
整体区块大小。
public const byte BlockSize = 15
领域价值
ExtensionLabel
平板文本扩展标签。
public const byte ExtensionLabel = 1
领域价值
SubBlockSize
下区块的尺寸。
public const byte SubBlockSize = 12
领域价值
Properties
CharacterCellHeight
接收或设置字符细胞高度,在像素,在网络中的每个细胞。
public byte CharacterCellHeight { get; set; }
财产价值
CharacterCellWidth
接收或设置字符细胞宽度,在像素,每个细胞在网络。
public byte CharacterCellWidth { get; set; }
财产价值
PlainTextData
收到或设置清晰的文本数据。
public byte[] PlainTextData { get; set; }
财产价值
byte ( )
TextBackgroundColorIndex
获取或设置全球色彩板的颜色指数用于绘制文本背景。
public byte TextBackgroundColorIndex { get; set; }
财产价值
TextForegroundColorIndex
获取或设置在全球色彩板中的颜色指数用于绘制文本前线。
public byte TextForegroundColorIndex { get; set; }
财产价值
TextGridHeight
接收或设置文本网高度在像素
public ushort TextGridHeight { get; set; }
财产价值
TextGridLeftPosition
接收或设置文本网左位置。
public ushort TextGridLeftPosition { get; set; }
财产价值
Remarks
这是文本网的左边,与逻辑屏幕的左边有关的字符号。
TextGridTopPosition
接收或设置文本网顶部位置。
public ushort TextGridTopPosition { get; set; }
财产价值
Remarks
這是一個順序數字,在像素,在文本網的頂端,關於論理屏幕的頂端。
TextGridWidth
接收或将文本网设置为像素
public ushort TextGridWidth { get; set; }
财产价值
Methods
Save(Stream)
节省区块到指定的流。
public override void Save(Stream stream)
Parameters
stream
Stream
流来保存数据。