Search Results for

    Show / Hide Table of Contents

    Class SvgPatternServer

    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.

    Inheritance
    Object
    SvgElement
    SvgPaintServer
    SvgPatternServer
    Implements
    ISvgTransformable
    ICloneable
    ISvgNode
    ISvgViewPort
    Inherited Members
    SvgPaintServer.GetCallback
    SvgPaintServer.None
    SvgPaintServer.Inherit
    SvgPaintServer.NotSet
    SvgPaintServer.ToString()
    SvgPaintServer.Render(ISvgRenderer)
    SvgElement.AddStyle(String, String, Int32)
    SvgElement.FlushStyles(Boolean)
    SvgElement.ContainsAttribute(String)
    SvgElement.TryGetAttribute(String, String)
    SvgElement.HttpClient
    SvgElement.Namespaces
    SvgElement.ElementNamespace
    SvgElement.ElementName
    SvgElement.Color
    SvgElement.Content
    SvgElement.Events
    SvgElement.Load
    SvgElement.Children
    SvgElement.Nodes
    SvgElement.Descendants()
    SvgElement.HasChildren()
    SvgElement.Parent
    SvgElement.Parents
    SvgElement.ParentsAndSelf
    SvgElement.OwnerDocument
    SvgElement.Attributes
    SvgElement.Writing
    SvgElement.GetAttribute<TAttributeType>(String, Boolean, TAttributeType)
    SvgElement.CustomAttributes
    SvgElement.Transforms
    SvgElement.ID
    SvgElement.SpaceHandling
    SvgElement.SetAndForceUniqueID(String, Boolean, Action<SvgElement, String, String>)
    SvgElement.AddElement(SvgElement, Int32)
    SvgElement.ChildAdded
    SvgElement.RemoveElement(SvgElement)
    SvgElement.InitialiseFromXML(XmlReader, SvgDocument)
    SvgElement.ShouldWriteElement()
    SvgElement.WriteStartElement(XmlWriter)
    SvgElement.WriteEndElement(XmlWriter)
    SvgElement.WriteAttributes(XmlWriter)
    SvgElement.AutoPublishEvents
    SvgElement.Write(XmlWriter)
    SvgElement.WriteChildren(XmlWriter)
    SvgElement.Clone()
    SvgElement.ISvgNode.DeepCopy()
    SvgElement.AttributeChanged
    SvgElement.OnAttributeChanged(AttributeEventArgs)
    SvgElement.ContentChanged
    SvgElement.OnContentChanged(ContentEventArgs)
    SvgElement.RegisterEvents(ISvgEventCaller)
    SvgElement.UnregisterEvents(ISvgEventCaller)
    SvgElement.Click
    SvgElement.MouseDown
    SvgElement.MouseUp
    SvgElement.MouseMove
    SvgElement.MouseScroll
    SvgElement.MouseOver
    SvgElement.MouseOut
    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.PushTransforms(ISvgRenderer)
    SvgElement.PopTransforms(ISvgRenderer)
    SvgElement.ISvgTransformable.PushTransforms(ISvgRenderer)
    SvgElement.ISvgTransformable.PopTransforms(ISvgRenderer)
    SvgElement.TransformedBounds(RectangleF)
    SvgElement.RenderElement(ISvgRenderer)
    SvgElement.RenderChildren(ISvgRenderer)
    SvgElement.AddPaths(SvgElement, GraphicsPath)
    SvgElement.GetPaths(SvgElement, ISvgRenderer)
    SvgElement.IsPathDirty
    SvgElement.InvalidateChildPaths()
    SvgElement.FixOpacityValue(Single)
    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.ValidateFontFamily(String, SvgDocument, SvgFontManager)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Svg
    Assembly: Svg.dll
    Syntax
    [SvgElement("pattern")]
    public class SvgPatternServer : SvgPaintServer, ISvgTransformable, ICloneable, ISvgNode, ISvgViewPort

    Properties

    | Improve this Doc View Source

    AspectRatio

    Gets or sets the aspect of the viewport.

    Declaration
    public SvgAspectRatio AspectRatio { get; set; }
    Property Value
    Type Description
    SvgAspectRatio
    | Improve this Doc View Source

    Height

    Gets or sets the height of the pattern.

    Declaration
    public SvgUnit Height { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    InheritGradient

    Gets or sets another gradient fill from which to inherit the stops from.

    Declaration
    [SvgAttribute("href", "http://www.w3.org/1999/xlink")]
    public SvgDeferredPaintServer InheritGradient { get; set; }
    Property Value
    Type Description
    SvgDeferredPaintServer
    | Improve this Doc View Source

    Overflow

    Declaration
    public SvgOverflow Overflow { get; set; }
    Property Value
    Type Description
    SvgOverflow
    | Improve this Doc View Source

    PatternContentUnits

    Gets or sets the width of the pattern.

    Declaration
    public SvgCoordinateUnits PatternContentUnits { get; set; }
    Property Value
    Type Description
    SvgCoordinateUnits
    | Improve this Doc View Source

    PatternTransform

    Declaration
    public SvgTransformCollection PatternTransform { get; set; }
    Property Value
    Type Description
    SvgTransformCollection
    | Improve this Doc View Source

    PatternUnits

    Gets or sets the width of the pattern.

    Declaration
    public SvgCoordinateUnits PatternUnits { get; set; }
    Property Value
    Type Description
    SvgCoordinateUnits
    | Improve this Doc View Source

    ViewBox

    Specifies a supplemental transformation which is applied on top of any transformations necessary to create a new pattern coordinate system.

    Declaration
    public SvgViewBox ViewBox { get; set; }
    Property Value
    Type Description
    SvgViewBox
    | Improve this Doc View Source

    Width

    Gets or sets the width of the pattern.

    Declaration
    public SvgUnit Width { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    X

    Gets or sets the X-axis location of the pattern.

    Declaration
    public SvgUnit X { get; set; }
    Property Value
    Type Description
    SvgUnit
    | Improve this Doc View Source

    Y

    Gets or sets the Y-axis location of the pattern.

    Declaration
    public SvgUnit Y { get; set; }
    Property Value
    Type Description
    SvgUnit

    Methods

    | Improve this Doc View Source

    DeepCopy()

    Declaration
    public override SvgElement DeepCopy()
    Returns
    Type Description
    SvgElement
    Overrides
    SvgElement.DeepCopy()
    | Improve this Doc View Source

    DeepCopy<T>()

    Declaration
    public override SvgElement DeepCopy<T>()
        where T : SvgElement, new()
    Returns
    Type Description
    SvgElement
    Type Parameters
    Name Description
    T
    Overrides
    SvgElement.DeepCopy<T>()
    | Improve this Doc View Source

    GetBrush(SvgVisualElement, ISvgRenderer, Single, Boolean)

    Gets a representing the current paint server.

    Declaration
    public override Brush GetBrush(SvgVisualElement renderingElement, ISvgRenderer renderer, float opacity, bool forStroke = false)
    Parameters
    Type Name Description
    SvgVisualElement renderingElement

    The owner SvgVisualElement.

    ISvgRenderer renderer

    The renderer object.

    Single opacity

    The opacity of the brush.

    Boolean forStroke

    Not used.

    Returns
    Type Description
    Brush
    Overrides
    SvgPaintServer.GetBrush(SvgVisualElement, ISvgRenderer, Single, Boolean)

    Implements

    ISvgTransformable
    System.ICloneable
    ISvgNode
    ISvgViewPort

    Extension Methods

    SvgExtentions.GetXML(SvgElement)
    SvgExtentions.HasNonEmptyCustomAttribute(SvgElement, String)
    SvgExtentions.ApplyRecursive(SvgElement, Action<SvgElement>)
    SvgExtentions.ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX