Table of Contents

TTMSFNCSVGImageCollectionItem Class

A named SVG image collection item that stores an SVG source with optional color, opacity, and rotation overrides applied at render time.

API unit family: TMSFNCTypes Inherits from: TCollectionItem

Syntax

TTMSFNCSVGImageCollectionItem = class(TCollectionItem)

Properties

Name Description
CustomFillColor Overrides the fill color of all SVG paths when set to a non-default value.
CustomOpacity Overrides the global opacity of the SVG (0.0 = transparent, 1.0 = fully opaque).
CustomStrokeColor Overrides the stroke color of all SVG paths when set to a non-default value.
Data The picture holding the SVG source data rendered for this item.
GrayScale When True, the SVG is rendered in grayscale.
Name Unique name that identifies this item within the collection.
RotationAngle Rotation angle in degrees applied to the SVG before rendering.
TintColor Optional tint color applied uniformly over the entire SVG rendering.

Methods

Name Description
GetDisplayName Returns the item's Name for display in the collection editor.