Hide Comments
Hide Comments

Comments (0)

expandingClasses

 

Name

Description

public class

TControlCrack

Represents type TControlCrack.

public class

TRSSVGTextHack

Represents type TRSSVGTextHack.

public class

TSVGCircle

Represents a SVG 'circle' element. The ‘circle’ element defines a circle based on a center point and a radius.

public class

TSVGClipPath

Represents a SVG 'clip-path' element. A clipping path is defined with a ‘clipPath’ element. A clipping path is used/referenced using the ‘clip-path’ property.
 
A ‘clipPath’ element can contain ‘path’ elements, ‘text’ elements, basic shapes (such as ‘circle’) or a ‘use’ element. If a ‘use’ element is a child of a ‘clipPath’ element, it must directly reference ‘path’, ‘text’ or basic shape elements.

public class

TSVGCustomGradient

Base class for SVG gradient elements

public class

TSVGCustomGroup

Base class for container elements in the RSCL

public class

TSVGCustomViewBox

Base class for SVG viewbox elements, elements that an define a new viewport

public class

TSVGDefs

Represents a SVG 'defs' element. The ‘defs’ element is a container element for referenced elements. For understandability and accessibility reasons, it is recommended that, whenever possible, referenced elements be defined inside of a ‘defs’.
 
The content model for ‘defs’ is the same as for the ‘ g’ element; thus, any element that can be a child of a ‘g’ can also be a child of a ‘defs’, and vice versa.
 
Elements that are descendants of a ‘defs’ are not rendered directly; they are prevented from becoming part of the rendering tree just as if the ‘defs’ element were a ‘g’ element and the ‘display’ property were set to none. Note, however, that the descendants of a ‘defs’ are always present in the source tree and thus can always be referenced by other elements; thus, the value of the ‘display’ property on the ‘defs’ element or any of its descendants does not prevent those elements from being referenced by other elements.

public class

TSVGDocument

Represents a SVG 'svg' element. An SVG document fragment consists of any number of SVG elements contained within an ‘svg’ element. The TSVGDocument class represents the actual SVG.

The TSVGDocument class is the base class for parsing a SVG and generating TSVGxxxElement classes to describe the SVG. Use the TSVGDocument class to load an SVG and paint the SVG to a TCanvas.

noteNote

The TSVGDocument is only available at run-time. The TRSSVGDocument (VCL) and TRSFMXSVGDocument (FMX) expose the TSVGDocument for loading at design-time.

public class

TSVGElement

Base class for SVG elements

SVG elements have a Owner , which specifies the SVG document that provides applicable styles, options, etc

SVG elements can have child elements, stored in the     Items property

SVG elements can have a Parent , which is the parent in the SVG hierarchy for inherited properties.

public class

TSVGEllipse

Represents a SVG 'ellipse' element. The ‘ellipse’ element defines an ellipse which is axis-aligned with the current user coordinate system based on a center point and two radii.

public class

TSVGGradientStop

Represents the SVG 'stop' element. The ramp of colors to use on a gradient is defined by the ‘stop’ elements that are child elements to either the ‘linearGradient’ element or the ‘ radialGradient’ element.

public class

TSVGGraphicElement

Base class for SVG elements that contain graphics. As such, the element contains graphical properties like location and width and height.

alert_noteTip

You can change visual properties of the graphical element using this class. However, make sure the     Inherits property does not specify the property is inherited from the element's parent.

public class

TSVGGroup

Represents a SVG 'g' element. The ‘g’ element is a container element for grouping together related graphics elements. A ‘g’ element can contain other ‘g’ elements nested within it, to an arbitrary depth

public class

TSVGImage

Represents a SVG 'image' element. The ‘image’ element indicates that the contents of a complete file are to be rendered into a given rectangle within the current user coordinate system. The ‘ image’ element can refer to raster image files such as PNG or JPEG or to files with MIME type of "image/svg+xml".

The TSVGImage element supports SVG and bitmap (PNG, JPG, BMP, etc) format files.

public class

TSVGLine

Represents a SVG 'line' element. The ‘line’ element defines a line segment that starts at one point and ends at another.

public class

TSVGLinearGradient

Represents a SVG linear gradient.

public class

TSVGMarker

Represents a SVG 'marker' element. Properties inherit into the ‘ marker’ element from its ancestors; properties do not inherit from the element referencing the ‘marker’ element. ‘marker’ elements are never rendered directly; their only usage is as something that can be referenced using the ‘marker’, ‘marker-start’, ‘marker-end’ and ‘marker-mid’ properties. The ‘display’ property does not apply to the ‘marker’ element; thus, ‘marker’ elements are not directly rendered even if the ‘display’ property is set to a value other than none, and ‘marker’ elements are available for referencing even when the ‘display’ property on the ‘marker’ element or any of its ancestors is set to none.

public class

TSVGMetadata

SVG Metadata element

public class

TSVGPath

Represents a SVG 'path' element. A path is defined by including a ‘path’ element which contains a d="(path data)" attribute, where the ‘d’ attribute contains the moveto, line, curve (both cubic and quadratic Béziers), arc and closepath instructions.

public class

TSVGPattern

Represents a SVG 'pattern' element. A pattern is used to fill or stroke an object using a pre-defined graphic object which can be replicated ("tiled") at fixed intervals in x and y to cover the areas to be painted. Patterns are defined using a ‘pattern’ element and then referenced by properties ‘fill’ and ‘stroke’ on a given graphics element to indicate that the given element shall be filled or stroked with the referenced pattern.
 
 

public class

TSVGPolygon

Represents a SVG 'polygon' element. The ‘polygon’ element defines a closed shape consisting of a set of connected straight line segments.

public class

TSVGPolyline

Represents a SVG 'polyline' element. The ‘polyline’ element defines a set of connected straight line segments. Typically, ‘ polyline’ elements define open shapes.

public class

TSVGRadialGradient

Represents a SVG radial gradient.

public class

TSVGRectangle

Represents a SVG 'rect' element. The ‘rect’ element defines a rectangle which is axis-aligned with the current user coordinate system. Rounded rectangles can be achieved by setting appropriate values for attributes ‘rx’ and ‘ry’.

public class

TSVGScript

SVG script element. A ‘script’ element is equivalent to the ‘ script’ element in HTML and thus is the place for scripts (e.g., ECMAScript). Any functions defined within any ‘script’ element have a "global" scope across the entire current document.

public class

TSVGStyle

Encapsulates a SVG style with presentation attributes

public class

TSVGSwitch

Represent a SVG 'switch' element. The ‘switch’ element evaluates the ‘requiredFeatures’, ‘requiredExtensions’ and ‘systemLanguage’ attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true. All others will be bypassed and therefore not rendered. If the child element is a container element such as a ‘ g’, then the entire subtree is either processed/rendered or bypassed/not rendered.

public class

TSVGSymbol

Represents a SVG 'symbol' element. The ‘symbol’ element is used to define graphical template objects which can be instantiated by a ‘use’ element.

public class

TSVGText

Represents a SVG 'text' element. The ‘text’ element defines a graphics element consisting of text.

public class

TSVGTextRef

Represents a SVG tref element. The textual content for a ‘text’ can be either character data directly embedded within the ‘text’ element or the character data content of a referenced element, where the referencing is specified with a ‘tref’ element.

public class

TSVGUse

Represents a SVG 'use' element. Any ‘svg’, ‘symbol’, ‘g’, graphics element or other ‘use’ is potentially a template object that can be re-used (i.e., "instanced") in the SVG document via a ‘use’ element. The ‘use’ element references another element and indicates that the graphical contents of that element is included/ drawn at that given point in the document.
 
Unlike ‘ image’, the ‘use’ element cannot reference entire files.

Top

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb