元編程參考文件

顯示

8 個節點

本頁內容 8

空白影像

函數

一張純色或透明的空白影像。

簽名
空白影像 -> Pixel Image
    寬度: 整數
    高度: 整數
    顏色: 可選顏色
    透明: 真否
PixelImage Empty(
    int width = 600,
    int height = 400,
    ColorElement? color,
    bool transparent = false)

參數

名稱型別預設值說明
寬度整數600
高度整數400
顏色可選顏色—
透明真否False

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

數字顯示

函數

生成一個基於像素的影像,顯示帶標籤的數值。

簽名
數字顯示 -> Pixel Image
    標籤: 文字
    數字: 數字
    配置: Number Display Configuration
PixelImage NumberDisplay(
    string label,
    double number,
    NumberDisplayConfiguration configurations)

參數

名稱型別預設值說明
標籤文字—要與數字一起顯示的標籤。
數字數字—要顯示的數值。
配置Number Display Configuration—用於樣式和佈局的可選配置。

返回

像素影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

組織樹

函數

生成組織樹結構的基於像素的影像表示。

簽名
組織樹(根節點: Tree Node) -> Pixel Image
PixelImage OrganizationTree(TreeNode root)

參數

名稱型別預設值說明
根節點Tree Node—組織樹的根節點。

返回

像素影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

二維碼生成

函數

生成基於像素的二維碼影像表示形式,源自給定的訊息。

簽名
二維碼生成 -> Pixel Image
    訊息: 文字
    配置: QR Code Configuration
PixelImage QRCode(
    string message,
    QRCodeConfiguration configurations)

參數

名稱型別預設值說明
訊息文字—要編碼到二維碼中的文字或資料。
配置QR Code Configuration—二維碼樣式和大小的可選配置。

返回

生成的二維碼影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

階段時間線

函數

過載 1/2

簽名
階段時間線 -> Pixel Image
    錨點: 文字陣列
    事件: 文字陣列
    配置: Stage Timeline Configuration
PixelImage StageTimeline(
    string[] anchors,
    string[] events,
    TimelineConfiguration configuration)

簡單的階段時間線。此圖在事件之間沒有“距離”。

參數

名稱型別預設值說明
錨點文字陣列—代表時間線點的錨標籤陣列。
事件文字陣列—與每個錨點對應的事件描述陣列。
配置Stage Timeline Configuration—用於樣式和佈局的可選配置。

返回

像素影像Pixel Image

過載 2/2

簽名
階段時間線 -> Pixel Image
    時間點: 時間日期陣列
    活動描述: 文字陣列
    配置: Stage Timeline Configuration
PixelImage StageTimeline(
    DateTime[] times,
    string[] activities,
    TimelineConfiguration configuration)

按時間點排列的簡單階段時間線。

參數

名稱型別預設值說明
時間點時間日期陣列—一個 DateTime 值的陣列,表示時間線上的點。
活動描述文字陣列—一個與每個時間點對應的活動描述陣列。
配置Stage Timeline Configuration—用於樣式和佈局的配置。

返回

時間線視覺化影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

SVG 影像

函數

過載 1/2

簽名
SVG 影像(來源: 文字, 配置: SVG Configuration) -> Pixel Image
PixelImage SVG(string source, SVGConfiguration configurations)

從SVG源字串生成基於像素的影像。

參數

名稱型別預設值說明
來源文字—檔案路徑或原始SVG字串
配置SVG Configuration—用於渲染SVG的可選配置。

返回

像素影像Pixel Image

過載 2/2

簽名
SVG 影像 -> Pixel Image
    SVG 圖形物件: SVGGraphics
    可選配置: SVG Configuration
PixelImage SVG(SVGGraphics svg, SVGConfiguration configurations)

從 SVG 圖形物件生成基於像素的影像。

參數

名稱型別預設值說明
SVG 圖形物件SVGGraphics—要渲染的 SVG 圖形物件。
可選配置SVG Configuration—渲染 SVG 的可選配置。

返回

像素影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

表格顯示

函數

把表格繪製為影像。

簽名
表格顯示 -> Pixel Image
    表格: Table
    配置: Table Display Configuration
PixelImage TableDisplay(
    Table table,
    TableDisplayConfiguration configurations)

參數

名稱型別預設值說明
表格Table—要顯示的表格。
配置Table Display Configuration—用於樣式和佈局的可選配置。

返回

結果Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析

文字顯示

函數

過載 1/3

簽名
文字顯示 -> Pixel Image
    文字: 文字
    配置: Text Display Configuration
PixelImage TextDisplay(
    string text,
    TextDisplayConfiguration configuration)

生成一個基於像素的影像,顯示一塊文字。

參數

名稱型別預設值說明
文字文字—要顯示的文字。
配置Text Display Configuration—用於樣式和佈局的可選配置。

返回

像素影像Pixel Image

過載 2/3

簽名
文字顯示 -> Pixel Image
    標題: 文字
    文字: 文字
    配置: Text Display Configuration
PixelImage TextDisplay(
    string title,
    string text,
    TextDisplayConfiguration configuration)

生成一個基於像素的影像,用於顯示標題和附加文字內容。

參數

名稱型別預設值說明
標題文字—要顯著顯示的標題文字。
文字文字—附帶的文字內容。
配置Text Display Configuration—可選的樣式和佈局配置。

返回

返回的影像Pixel Image

過載 3/3

簽名
文字顯示 -> Pixel Image
    主標題: 文字
    副標題: 文字
    主要文字: 文字
    配置: Text Display Configuration
PixelImage TextDisplay(
    string title,
    string subtitle,
    string text,
    TextDisplayConfiguration configuration)

生成一個基於像素的影像,顯示標題、副標題和額外的文字內容。

參數

名稱型別預設值說明
主標題文字—要顯著顯示的主標題。
副標題文字—位於主標題下方的副標題。
主要文字文字—要顯示的主要文字內容。
配置Text Display Configuration—用於樣式和佈局的可選配置。

返回

像素影像Pixel Image
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
顯示
所屬包
資料分析