<PackageReference Include="System.Drawing.Common" Version="9.0.0-preview.4.24267.1" />

CustomLineCap

Encapsulates a custom user-defined line cap.
using System.Runtime.CompilerServices; namespace System.Drawing.Drawing2D { public class CustomLineCap : MarshalByRefObject, ICloneable, IDisposable { public LineCap BaseCap { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public float BaseInset { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public LineJoin StrokeJoin { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public float WidthScale { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } [System.Runtime.CompilerServices.NullableContext(2)] public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public CustomLineCap(GraphicsPath fillPath, GraphicsPath strokePath, LineCap baseCap, float baseInset) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(1)] public object Clone() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~CustomLineCap() { } public void GetStrokeCaps(out LineCap startCap, out LineCap endCap) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void SetStrokeCaps(LineCap startCap, LineCap endCap) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }