skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SvgGradientServer

Inheritance
System.Object
SvgElement
SvgPaintServer
SvgGradientServer
SvgLinearGradientServer
SvgRadialGradientServer
Inherited Members
SvgPaintServer.None
SvgPaintServer.Inherit
SvgPaintServer.NotSet
SvgPaintServer.Render(ISvgRenderer)
SvgPaintServer.GetBrush(SvgVisualElement, ISvgRenderer, Single, Boolean)
SvgPaintServer.ToString()
SvgPaintServer.GetCallback
SvgElement.AutoPublishEvents
SvgElement.PrivateFonts
SvgElement.AddStyle(String, String, Int32)
SvgElement.FlushStyles(Boolean)
SvgElement.ContainsAttribute(String)
SvgElement.TryGetAttribute(String, String)
SvgElement.Descendants()
SvgElement.HasChildren()
SvgElement.GetAttribute<TAttributeType>(String, Boolean, TAttributeType)
SvgElement.PushTransforms(ISvgRenderer)
SvgElement.PopTransforms(ISvgRenderer)
SvgElement.ISvgTransformable.PushTransforms(ISvgRenderer)
SvgElement.ISvgTransformable.PopTransforms(ISvgRenderer)
SvgElement.TransformedBounds(RectangleF)
SvgElement.SetAndForceUniqueID(String, Boolean, Action<SvgElement, String, String>)
SvgElement.InitialiseFromXML(XmlTextReader, SvgDocument)
SvgElement.RenderElement(ISvgRenderer)
SvgElement.ShouldWriteElement()
SvgElement.WriteStartElement(XmlTextWriter)
SvgElement.WriteEndElement(XmlTextWriter)
SvgElement.WriteAttributes(XmlTextWriter)
SvgElement.Write(XmlTextWriter)
SvgElement.WriteChildren(XmlTextWriter)
SvgElement.RenderChildren(ISvgRenderer)
SvgElement.AddPaths(SvgElement, GraphicsPath)
SvgElement.GetPaths(SvgElement, ISvgRenderer)
SvgElement.Clone()
SvgElement.DeepCopy()
SvgElement.ISvgNode.DeepCopy()
SvgElement.DeepCopy<T>()
SvgElement.OnAttributeChanged(AttributeEventArgs)
SvgElement.OnContentChanged(ContentEventArgs)
SvgElement.RegisterEvents(ISvgEventCaller)
SvgElement.UnregisterEvents(ISvgEventCaller)
SvgElement.CreateMouseEventAction(Action<Object, MouseArg>)
SvgElement.RaiseMouseClick(Object, MouseArg)
SvgElement.RaiseMouseDown(Object, MouseArg)
SvgElement.RaiseMouseUp(Object, MouseArg)
SvgElement.RaiseMouseMove(Object, MouseArg)
SvgElement.RaiseMouseOver(Object, MouseArg)
SvgElement.RaiseMouseOut(Object, MouseArg)
SvgElement.OnMouseScroll(Int32, Boolean, Boolean, Boolean, String)
SvgElement.RaiseMouseScroll(Object, MouseScrollArg)
SvgElement.InvalidateChildPaths()
SvgElement.FixOpacityValue(Single)
SvgElement.ValidateFontFamily(String, SvgDocument)
SvgElement.ElementName
SvgElement.Color
SvgElement.Content
SvgElement.Events
SvgElement.Children
SvgElement.Nodes
SvgElement.Parent
SvgElement.Parents
SvgElement.ParentsAndSelf
SvgElement.OwnerDocument
SvgElement.Attributes
SvgElement.Writing
SvgElement.CustomAttributes
SvgElement.Transforms
SvgElement.ID
SvgElement.SpaceHandling
SvgElement.IsPathDirty
SvgElement.Fill
SvgElement.Stroke
SvgElement.FillRule
SvgElement.FillOpacity
SvgElement.StrokeWidth
SvgElement.StrokeLineCap
SvgElement.StrokeLineJoin
SvgElement.StrokeMiterLimit
SvgElement.StrokeDashArray
SvgElement.StrokeDashOffset
SvgElement.StrokeOpacity
SvgElement.Opacity
SvgElement.ShapeRendering
SvgElement.ColorInterpolation
SvgElement.ColorInterpolationFilters
SvgElement.Visibility
SvgElement.Display
SvgElement.TextAnchor
SvgElement.BaselineShift
SvgElement.FontFamily
SvgElement.FontSize
SvgElement.FontStyle
SvgElement.FontVariant
SvgElement.TextDecoration
SvgElement.FontWeight
SvgElement.FontStretch
SvgElement.TextTransformation
SvgElement.Font
SvgElement.Load
SvgElement.ChildAdded
SvgElement.AttributeChanged
SvgElement.ContentChanged
SvgElement.Click
SvgElement.MouseDown
SvgElement.MouseUp
SvgElement.MouseMove
SvgElement.MouseScroll
SvgElement.MouseOver
SvgElement.MouseOut
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll

Syntax

public abstract class SvgGradientServer : SvgPaintServer, ISvgElement, ISvgTransformable, ICloneable, ISvgNode

Properties

EffectiveGradientTransform

Declaration
protected Matrix EffectiveGradientTransform { get; }
Property Value
System.Drawing.Drawing2D.Matrix

GradientTransform

Declaration
public SvgTransformCollection GradientTransform { get; set; }
Property Value
SvgTransformCollection

GradientUnits

Declaration
public SvgCoordinateUnits GradientUnits { get; set; }
Property Value
SvgCoordinateUnits

InheritGradient

Declaration
[SvgAttribute("href", "http://www.w3.org/1999/xlink")]
public SvgDeferredPaintServer InheritGradient { get; set; }
Property Value
SvgDeferredPaintServer

SpreadMethod

Declaration
public SvgGradientSpreadMethod SpreadMethod { get; set; }
Property Value
SvgGradientSpreadMethod

StopColor

Declaration
public SvgPaintServer StopColor { get; set; }
Property Value
SvgPaintServer

StopOpacity

Declaration
public float StopOpacity { get; set; }
Property Value
System.Single

Stops

Declaration
public List<SvgGradientStop> Stops { get; }
Property Value
System.Collections.Generic.List<SvgGradientStop>

Methods

AddElement(SvgElement, Int32)

Declaration
protected override void AddElement(SvgElement child, int index)
Parameters
SvgElement child

System.Int32 index

Overrides
SvgElement.AddElement(SvgElement, Int32)

CalculateDistance(PointF, PointF)

Declaration
protected static double CalculateDistance(PointF first, PointF second)
Parameters
System.Drawing.PointF first

System.Drawing.PointF second

Returns
System.Double

CalculateLength(PointF)

Declaration
protected static float CalculateLength(PointF vector)
Parameters
System.Drawing.PointF vector

Returns
System.Single

GetColorBlend(ISvgRenderer, Single, Boolean)

Declaration
protected ColorBlend GetColorBlend(ISvgRenderer renderer, float opacity, bool radial)
Parameters
ISvgRenderer renderer

System.Single opacity

System.Boolean radial

Returns
System.Drawing.Drawing2D.ColorBlend

LoadStops(SvgVisualElement)

Declaration
protected void LoadStops(SvgVisualElement parent)
Parameters
SvgVisualElement parent

RemoveElement(SvgElement)

Declaration
protected override void RemoveElement(SvgElement child)
Parameters
SvgElement child

Overrides
SvgElement.RemoveElement(SvgElement)

Extension Methods

SvgExtentions.GetXML(SvgElement)
SvgExtentions.HasNonEmptyCustomAttribute(SvgElement, String)
SvgExtentions.ApplyRecursive(SvgElement, Action<SvgElement>)
SvgExtentions.ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.