AutoPatientInfoRecorder/src/AntdUI/Lib/SVG/Rendering/SvgRendering.cs
(开头部分) 5KB这里只显示每个文件的开头 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
namespace AntdUI.Svg
{
/// <summary>
/// The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders 'path' element or basic shapes. The shape-rendering attribute provides these hints.
/// </summary>
/// <references>https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering</references>
/// <remarks>
/// Default is <see cref="Inherit"/>. That means the value comes from the parent element. If parents are also not set, then the value is <see cref="Auto"/>.
/// </remarks>
public enum SvgShapeRendering
{
/// <summary>
/// Indicates that the SVG shape rendering properties from the parent will be used.
/// </summary>
/// <AnitAlias>Based of parent. If parents are also not set, then <see cref="Auto"/></AnitAlias>
Inherit,
/// <summary>
/// Indicates that the user agent shall make appropriate tradeoffs to balance speed, crisp edges and geometric precision, but with geometric precision given more importance than speed and crisp edges.
/// </summary>
/// <AnitAlias>true</AnitAlias>
Auto,
/// <summary>
/// Indicates that the user agent shall emphasize rendering speed over geometric precision and crisp edges. This option will sometimes cause the user agent to turn off shape anti-aliasing.
/// </summary>
/// <AnitAlias>false</AnitAlias>
OptimizeSpeed,
/// <summary>
/// Indicates that the user agent shall attempt to emphasize the contrast between clean edges of artwork over rendering speed and geometric precision. To achieve crisp edges, the user agent might turn off anti-aliasing for all lines and curves or possibly just for straight lines which are close to vertical or horizontal. Also, the user agent might adjust line positions and line widths to align edges with device pixels.
/// </summary>
/// <AnitAlias>false</AnitAlias>
CrispEdges,
/// <summary>
/// Indicates that the user agent shall emphasize geometric precision over speed and crisp edges.
/// </summary>
/// <AnitAlias>false</AnitAlias>
GeometricPrecision
}
/// <summary>
/// The creator of SVG content might want to provide a hint about what tradeoffs to make as the browser renders text. The text-rendering attribute provides these hints.
/// </summary>
/// <references>https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-rendering</references>
/// <remarks>Not Implemented yet.</remarks>
public enum SvgTextRendering
{
/// <summary>
/// Indicates that the SVG shape rendering properties from the parent will be used.
/// </summary>
Inherit,
后面还有 50 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。