|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Graphics & Sound VIs
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Picture Functions VIs to create visual representations of data. Many of these picture VIs use clusters to define points and rectangles. The VIs related to drawing text use clusters and enumerations to describe the font choice and the positioning of the text.
|Color Box Constant||Use the color box constant to supply a constant color value to the block diagram.|
|Color to RGB||Resolves any color input, including system colors, into its respective red, green, and blue components.|
|Create Mask||Applies a mask to an image and returns the mask information in the mask element of image data. This VI is useful if you want to make a certain color in an image transparent before writing the image to a 2D picture control.|
|Draw Arc||Draws an arc in a picture.|
|Draw Circle by Radius||Draws a circle based on a specified radius and center point.|
|Draw Flattened Pixmap||Draws a 1-, 4-, or 8-bit pixmap or a 24-bit RGB pixmap into a picture.|
|Draw Grayed Out Rect||Draws a patterned rectangle in the specified picture to create the effect of graying-out a section of the picture.|
|Draw Line||Draws a line from the current pen position to the specified location in a picture.|
|Draw Multiple Lines||Draws multiple connected lines into a picture.|
|Draw Oval||Draws an oval in the rectangle you specify, optionally filling the interior.|
|Draw Point||Sets a pixel in a picture to a specified color.|
|Draw Rectangle||Draws a rectangle, optionally filling the interior.|
|Draw Round Rect||Draws a rounded rectangle into a picture.|
|Draw Text at Point||Draws a string into a picture.|
|Draw Text in Rect||Draws a string into a picture.|
|Draw Unflattened Pixmap||Converts a pixmap into a picture so you can use other Picture Functions VIs to append drawing instructions to the image. The data type you wire to the data input determines the polymorphic instance to use. If you want to convert a 4-bit or 8-bit pixmap, you must manually select the polymorphic instance you want to use.|
|Empty Picture||Returns an empty picture. The picture input for all Picture VIs is an empty picture by default.
You also can create a picture constant for an empty or existing picture and wire the constant to any picture input. You can resize the constant or right-click it and select Visible Items»Scrollbar from the shortcut menu to view the entire picture.
|Get Image Subset||Returns a subset of a source image instead of the entire image. Use the Picture to Pixmap VI to convert a picture to a cluster you can wire to image data.|
|Get Text Rect||Returns a cluster that contains the left, top, right, and bottom dimensions, in pixels, of a string.|
|Hilite Color||Returns two new colors well matched to the input color for highlight and shadow coloration, based on the input color and a percentage you specify.|
|Move Pen||Changes the current pen location of a picture to the specified position or by the specified amount if the position is relative.|
|Picture to Pixmap||Converts a picture to a cluster of image data you can use to perform certain tasks with the image, such as save it to a file using the Graphics Formats VIs.|
|RGB to Color||Converts a red, green, and blue value from 0 to 255 to the corresponding RGB color.|