AutoPatientInfoRecorder/src/AntdUI/Lib/SVG/Painting/SvgRadialGradientServer.cs

(开头部分) 15KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// THIS FILE IS PART OF SVG PROJECT
// THE SVG PROJECT IS AN OPENSOURCE LIBRARY LICENSED UNDER THE MS-PL License.
// COPYRIGHT (C) svg-net. ALL RIGHTS RESERVED.
// GITHUB: https://github.com/svg-net/SVG

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;

namespace AntdUI.Svg
{
    public sealed class SvgRadialGradientServer : SvgGradientServer
    {
        public override string ClassName => "radialGradient";

        [SvgAttribute("cx")]
        public SvgUnit CenterX
        {
            get
            {
                return Attributes.GetAttribute<SvgUnit>("cx");
            }
            set
            {
                Attributes["cx"] = value;
            }
        }

        [SvgAttribute("cy")]
        public SvgUnit CenterY
        {
            get
            {
                return Attributes.GetAttribute<SvgUnit>("cy");
            }
            set
            {
                Attributes["cy"] = value;
            }
        }

        [SvgAttribute("r")]
        public SvgUnit Radius
        {
            get
            {
                return Attributes.GetAttribute<SvgUnit>("r");
            }
            set
            {
                Attributes["r"] = value;
            }
        }

        [SvgAttribute("fx")]
        public SvgUnit FocalX
        {
            get
后面还有 345 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。