AutoPatientInfoRecorder/src/AntdUI/Lib/SVG/SvgDefinitionDefaults.cs
(开头部分) 3KB这里只显示每个文件的开头 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.Collections.Generic;
namespace AntdUI.Svg
{
/// <summary>
/// Holds a dictionary of the default values of the SVG specification
/// </summary>
public static class SvgDefaults
{
// defaults that are specific to some elements
private static Dictionary<string, Dictionary<string, string>> _propDefaults =
new Dictionary<string, Dictionary<string, string>>
{
{ "SvgRadialGradientServer", new Dictionary<string, string>
{ { "cx", "50%" }, { "cy", "50%" }, { "r", "50%" } } },
{ "SvgLinearGradientServer", new Dictionary<string, string>
{ { "x1", "0%" }, { "x2", "100%" }, { "y1", "0%" }, { "y2", "100%" } } },
};
// common defaults
private static readonly Dictionary<string, string> _defaults =
new Dictionary<string, string>()
{
{ "d", "" },
{ "viewBox", "0, 0, 0, 0" },
{ "visibility", "visible" },
{ "display", "inline" },
{ "enable-background", "accumulate" },
{ "opacity", "1" },
{ "clip", "auto" },
{ "clip-rule", "nonzero" },
{ "clipPathUnits", "userSpaceOnUse" },
{ "transform", "" },
// line
{ "x1", "0" },
{ "x2", "0" },
{ "y1", "0" },
{ "y2", "0" },
// circle, ellipse
{ "cx", "0" },
{ "cy", "0" },
{ "fill", "" },
{ "fill-opacity", "1" },
{ "fill-rule", "nonzero" },
{ "stop-color", "black" },
{ "stop-opacity", "1" },
{ "stroke", "none" },
{ "stroke-opacity", "1" },
{ "stroke-width", "1" },
{ "stroke-miterlimit", "4" },
后面还有 43 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。