فئة GifPlainTextRenderingBlock

Summary: Gif plain text extension block. The plain text extension contains textual data and the
parameters necessary to render that data as a graphic, in a simple form.

Module: aspose.imaging.fileformats.gif.blocks

Full Name: aspose.imaging.fileformats.gif.blocks.GifPlainTextRenderingBlock

Inheritance: IGifBlock, GifBlock

Constructors

Nameالوصف
GifPlainTextRenderingBlock()ينشئ مثلاً جديداً من الفئة GifPlainTextRenderingBlock.
GifPlainTextRenderingBlock(text_grid_left_position, text_grid_top_position, text_grid_width, text_grid_height, character_cell_width, character_cell_height, text_foreground_color_index, text_background_color_index, data)ينشئ مثلاً جديداً من الفئة GifPlainTextRenderingBlock.

Properties

NameTypeAccessالوصف
BLOCK_SIZE [static]System.Byterالحجم الكلي للكتلة.
EXTENSION_INTRODUCER [static]System.Byterمُدخل الامتداد.
EXTENSION_LABEL [static]System.Byterتسمية امتداد النص العادي.
SUB_BLOCK_SIZE [static]System.Byterحجم الكتلة الفرعية.
character_cell_heightSystem.Byter/wيحصل أو يعيّن ارتفاع خلية الحرف، بالبكسل، لكل خلية في الشبكة.
character_cell_widthSystem.Byter/wيحصل أو يعيّن عرض خلية الحرف، بالبكسل، لكل خلية في الشبكة.
is_changedboolr/wيحصل أو يعيّن قيمة تشير إلى ما إذا كان الكتلة قد تغيرت وتحتاج إلى حفظ.
plain_text_dataSystem.Byter/wيحصل أو يعيّن بيانات النص العادي.
text_background_color_indexSystem.Byter/wيحصل أو يعيّن فهرس اللون في لوحة الألوان العامة المستخدمة لرسم خلفية النص.
text_foreground_color_indexSystem.Byter/wيحصل أو يعيّن فهرس اللون في لوحة الألوان العامة المستخدمة لرسم مقدمة النص.
text_grid_heightintr/wيحصل أو يضبط ارتفاع شبكة النص بالبكسل
text_grid_left_positionintr/wيحصل أو يضبط موضع شبكة النص الأيسر.
text_grid_top_positionintr/wيحصل أو يضبط موضع شبكة النص العلوي.
text_grid_widthintr/wيحصل أو يضبط عرض شبكة النص بالبكسل

Methods

Nameالوصف
save(stream)يحفظ الكتلة إلى الدفق المحدد.

Constructor: GifPlainTextRenderingBlock()

 GifPlainTextRenderingBlock() 

ينشئ مثلاً جديداً من الفئة GifPlainTextRenderingBlock.

Constructor: GifPlainTextRenderingBlock(text_grid_left_position, text_grid_top_position, text_grid_width, text_grid_height, character_cell_width, character_cell_height, text_foreground_color_index, text_background_color_index, data)

 GifPlainTextRenderingBlock(text_grid_left_position, text_grid_top_position, text_grid_width, text_grid_height, character_cell_width, character_cell_height, text_foreground_color_index, text_background_color_index, data) 

ينشئ مثلاً جديداً من الفئة GifPlainTextRenderingBlock.

Parameters:

معاملنوعالوصف
text_grid_left_positionintموضع شبكة النص الأيسر.
text_grid_top_positionintموضع شبكة النص العلوي.
text_grid_widthintعرض شبكة النص.
text_grid_heightintارتفاع شبكة النص.
character_cell_widthSystem.Byteعرض خلية الحرف.
character_cell_heightSystem.Byteارتفاع خلية الحرف.
text_foreground_color_indexSystem.Byteفهرس لون المقدمة.
text_background_color_indexSystem.Byteفهرس لون الخلفية.
البياناتSystem.Byteبيانات النص العادي.

Method: save(stream)

 save(stream) 

يحفظ الكتلة إلى الدفق المحدد.

Parameters:

معاملنوعالوصف
دفق_io.BufferedRandomالدفق لحفظ البيانات فيه.