diff --git a/src/Graphics/src/Graphics/AbstractPattern.cs b/src/Graphics/src/Graphics/AbstractPattern.cs index 269b322ec023..16d35aaaaa15 100644 --- a/src/Graphics/src/Graphics/AbstractPattern.cs +++ b/src/Graphics/src/Graphics/AbstractPattern.cs @@ -9,17 +9,17 @@ public abstract class AbstractPattern : IPattern /// Gets the width of the pattern. /// public float Width { get; } - + /// /// Gets the height of the pattern. /// public float Height { get; } - + /// /// Gets the horizontal step size for repeating the pattern. /// public float StepX { get; } - + /// /// Gets the vertical step size for repeating the pattern. /// diff --git a/src/Graphics/src/Graphics/BitmapExportContext.cs b/src/Graphics/src/Graphics/BitmapExportContext.cs index f73fe25d6f51..0df2b615642c 100644 --- a/src/Graphics/src/Graphics/BitmapExportContext.cs +++ b/src/Graphics/src/Graphics/BitmapExportContext.cs @@ -16,12 +16,12 @@ public abstract class BitmapExportContext : IDisposable /// Gets the width of the bitmap in pixels. /// public int Width { get; } - + /// /// Gets the height of the bitmap in pixels. /// public int Height { get; } - + /// /// Gets the resolution (dots per inch) of the bitmap. /// diff --git a/src/Graphics/src/Graphics/BlendMode.cs b/src/Graphics/src/Graphics/BlendMode.cs index 43ea499b08af..fc4cd09ff675 100644 --- a/src/Graphics/src/Graphics/BlendMode.cs +++ b/src/Graphics/src/Graphics/BlendMode.cs @@ -9,137 +9,137 @@ public enum BlendMode /// Normal blending mode which simply draws the source over the destination. /// Normal, - + /// /// Multiplies the colors of the source with the destination, resulting in a darker image. /// Multiply, - + /// /// Multiplies the complements of the source and destination colors, then complements the result, resulting in a lighter image. /// Screen, - + /// /// Multiplies or screens the colors depending on the destination color, preserving highlights and shadows. /// Overlay, - + /// /// Selects the darker of the source and destination colors for each pixel. /// Darken, - + /// /// Selects the lighter of the source and destination colors for each pixel. /// Lighten, - + /// /// Brightens the destination color to reflect the source color, resulting in a lighter image. /// ColorDodge, - + /// /// Darkens the destination color to reflect the source color, resulting in a darker image. /// ColorBurn, - + /// /// Darkens or lightens the colors depending on the source color, creating a subtle effect. /// SoftLight, - + /// /// Similar to overlay but with source and destination reversed, creating a more dramatic effect. /// HardLight, - + /// /// Subtracts the darker of the two colors from the lighter color, creating an inverted effect. /// Difference, - + /// /// Similar to difference but with lower contrast, resulting in a more muted effect. /// Exclusion, - + /// /// Preserves the hue of the source color while using the saturation and luminosity of the destination. /// Hue, - + /// /// Preserves the saturation of the source color while using the hue and luminosity of the destination. /// Saturation, - + /// /// Preserves the hue and saturation of the source color while using the luminosity of the destination. /// Color, - + /// /// Preserves the luminosity of the source color while using the hue and saturation of the destination. /// Luminosity, - + /// /// Clears the destination area, making it fully transparent. /// Clear, - + /// /// Copies the source over the destination, ignoring the destination. /// Copy, - + /// /// Shows the source where both the source and destination overlap, otherwise displays transparency. /// SourceIn, - + /// /// Shows the source where it doesn't overlap with the destination, otherwise displays transparency. /// SourceOut, - + /// /// Shows the source where it overlaps with non-transparent parts of the destination. /// SourceAtop, - + /// /// Shows the destination over the source. /// DestinationOver, - + /// /// Shows the destination where both the source and destination overlap, otherwise displays transparency. /// DestinationIn, - + /// /// Shows the destination where it doesn't overlap with the source, otherwise displays transparency. /// DestinationOut, - + /// /// Shows the destination where it overlaps with non-transparent parts of the source. /// DestinationAtop, - + /// /// Shows the source where it doesn't overlap with the destination and shows the destination where it doesn't overlap with the source. /// Xor, - + /// /// Adds the source and destination colors, favoring darker results. /// PlusDarker, - + /// /// Adds the source and destination colors, favoring lighter results. /// diff --git a/src/Graphics/src/Graphics/CanvasDefaults.cs b/src/Graphics/src/Graphics/CanvasDefaults.cs index 28f6e92e9985..37ea446a6e4f 100644 --- a/src/Graphics/src/Graphics/CanvasDefaults.cs +++ b/src/Graphics/src/Graphics/CanvasDefaults.cs @@ -9,17 +9,17 @@ public static class CanvasDefaults /// The default shadow color, which is black with 50% opacity. /// public static readonly Color DefaultShadowColor = new Color(0f, 0f, 0f, .5f); - + /// /// The default shadow offset, which is 5 units in both x and y directions. /// public static readonly SizeF DefaultShadowOffset = new SizeF(5, 5); - + /// /// The default shadow blur value, which is 5. /// public const float DefaultShadowBlur = 5; - + /// /// The default miter limit value, which is 10. /// diff --git a/src/Graphics/src/Graphics/CanvasState.cs b/src/Graphics/src/Graphics/CanvasState.cs index 1261f77786ab..803ff0ed212a 100644 --- a/src/Graphics/src/Graphics/CanvasState.cs +++ b/src/Graphics/src/Graphics/CanvasState.cs @@ -12,12 +12,12 @@ public class CanvasState : IDisposable /// Gets or sets the pattern of dashes and gaps used to stroke paths. /// public float[] StrokeDashPattern { get; set; } - + /// /// Gets or sets the distance into the dash pattern to start the dash. /// public float StrokeDashOffset { get; set; } = 1; - + /// /// Gets or sets the width of the stroke used to draw an object's outline. /// @@ -44,17 +44,17 @@ public Matrix3x2 Transform TransformChanged(); } } - + /// /// Gets the uniform scale factor derived from the transformation matrix. /// public float Scale => this._scale; - + /// /// Gets the horizontal scale factor derived from the transformation matrix. /// public float ScaleX => this._scaleX; - + /// /// Gets the vertical scale factor derived from the transformation matrix. /// diff --git a/src/Graphics/src/Graphics/Color.cs b/src/Graphics/src/Graphics/Color.cs index 1e14e54df9eb..725cb28ad67c 100644 --- a/src/Graphics/src/Graphics/Color.cs +++ b/src/Graphics/src/Graphics/Color.cs @@ -18,17 +18,17 @@ public class Color /// The red component of the color, ranging from 0.0 to 1.0. /// public readonly float Red; - + /// /// The green component of the color, ranging from 0.0 to 1.0. /// public readonly float Green; - + /// /// The blue component of the color, ranging from 0.0 to 1.0. /// public readonly float Blue; - + /// /// The alpha (opacity) component of the color, ranging from 0.0 (transparent) to 1.0 (opaque). /// diff --git a/src/Graphics/src/Graphics/Font.cs b/src/Graphics/src/Graphics/Font.cs index 047cfd2ed787..6e551b77e0ed 100644 --- a/src/Graphics/src/Graphics/Font.cs +++ b/src/Graphics/src/Graphics/Font.cs @@ -16,82 +16,82 @@ public static class FontWeights /// Represents a thin font weight (100). /// public const int Thin = 100; - + /// /// Represents an extra light font weight (200). /// public const int ExtraLight = 200; - + /// /// Represents an ultra light font weight (200), equivalent to ExtraLight. /// public const int UltraLight = 200; - + /// /// Represents a light font weight (300). /// public const int Light = 300; - + /// /// Represents a semi-light font weight (400), equivalent to Normal. /// public const int SemiLight = 400; - + /// /// Represents a normal font weight (400). /// public const int Normal = 400; - + /// /// Represents a regular font weight (400), equivalent to Normal. /// public const int Regular = 400; - + /// /// Represents a medium font weight (500). /// public const int Medium = 500; - + /// /// Represents a demi-bold font weight (600), equivalent to SemiBold. /// public const int DemiBold = 600; - + /// /// Represents a semi-bold font weight (600). /// public const int SemiBold = 600; - + /// /// Represents a bold font weight (700). /// public const int Bold = 700; - + /// /// Represents an extra bold font weight (800). /// public const int ExtraBold = 800; - + /// /// Represents an ultra bold font weight (800), equivalent to ExtraBold. /// public const int UltraBold = 800; - + /// /// Represents a black font weight (900). /// public const int Black = 900; - + /// /// Represents a heavy font weight (900), equivalent to Black. /// public const int Heavy = 900; - + /// /// Represents an extra black font weight (950). /// public const int ExtraBlack = 950; - + /// /// Represents an ultra black font weight (950), equivalent to ExtraBlack. /// @@ -132,12 +132,12 @@ public Font(string name, int weight = FontWeights.Normal, FontStyleType styleTyp /// Gets the font name or family. /// public string Name { get; private set; } - + /// /// Gets the font weight. /// public int Weight { get; private set; } - + /// /// Gets the font style type. /// diff --git a/src/Graphics/src/Graphics/FontSource.cs b/src/Graphics/src/Graphics/FontSource.cs index f591d7cab772..ff6b32d4d0b8 100644 --- a/src/Graphics/src/Graphics/FontSource.cs +++ b/src/Graphics/src/Graphics/FontSource.cs @@ -22,17 +22,17 @@ public FontSource(string filename, int weight = FontWeights.Normal, FontStyleTyp Weight = weight; FontStyleType = fontStyleType; } - + /// /// Gets the font file name or font family name. /// public readonly string Name; - + /// /// Gets the font weight. /// public readonly int Weight; - + /// /// Gets the font style type. /// diff --git a/src/Graphics/src/Graphics/FontStyleType.cs b/src/Graphics/src/Graphics/FontStyleType.cs index e7b9d42c68a9..fa9f9fa39850 100644 --- a/src/Graphics/src/Graphics/FontStyleType.cs +++ b/src/Graphics/src/Graphics/FontStyleType.cs @@ -12,12 +12,12 @@ public enum FontStyleType /// A normal, upright font style. /// Normal, - + /// /// An italic font style, typically slanted and based on a specially designed italic typeface. /// Italic, - + /// /// An oblique font style, typically a slanted version of the regular typeface. /// diff --git a/src/Graphics/src/Graphics/HorizontalAlignment.cs b/src/Graphics/src/Graphics/HorizontalAlignment.cs index 276877aba85d..63a151909151 100644 --- a/src/Graphics/src/Graphics/HorizontalAlignment.cs +++ b/src/Graphics/src/Graphics/HorizontalAlignment.cs @@ -9,17 +9,17 @@ public enum HorizontalAlignment /// Aligns content to the left edge. /// Left = 0, - + /// /// Centers content horizontally. /// Center = 1, - + /// /// Aligns content to the right edge. /// Right = 2, - + /// /// Adjusts spacing to fill the available width, creating even left and right edges. /// diff --git a/src/Graphics/src/Graphics/IImage.cs b/src/Graphics/src/Graphics/IImage.cs index ca352574df21..832b42bd02e7 100644 --- a/src/Graphics/src/Graphics/IImage.cs +++ b/src/Graphics/src/Graphics/IImage.cs @@ -14,12 +14,12 @@ public enum ResizeMode /// May leave empty space if the aspect ratios don't match. /// Fit, - + /// /// Preserves aspect ratio and fills the target dimensions, potentially cropping the image. /// Bleed, - + /// /// Ignores aspect ratio and stretches the image to exactly fit the target dimensions. /// @@ -35,12 +35,12 @@ public interface IImage : IDrawable, IDisposable /// Gets the width of the image in pixels. /// float Width { get; } - + /// /// Gets the height of the image in pixels. /// float Height { get; } - + /// /// Creates a downsized version of the image with the same aspect ratio. /// @@ -48,7 +48,7 @@ public interface IImage : IDrawable, IDisposable /// Whether to dispose the original image after downsizing. /// A new with the downsized dimensions. IImage Downsize(float maxWidthOrHeight, bool disposeOriginal = false); - + /// /// Creates a downsized version of the image that fits within the specified dimensions. /// @@ -57,7 +57,7 @@ public interface IImage : IDrawable, IDisposable /// Whether to dispose the original image after downsizing. /// A new with the downsized dimensions. IImage Downsize(float maxWidth, float maxHeight, bool disposeOriginal = false); - + /// /// Resizes the image to the specified dimensions using the specified resize mode. /// @@ -67,7 +67,7 @@ public interface IImage : IDrawable, IDisposable /// Whether to dispose the original image after resizing. /// A new with the resized dimensions. IImage Resize(float width, float height, ResizeMode resizeMode = ResizeMode.Fit, bool disposeOriginal = false); - + /// /// Saves the image to a stream in the specified format. /// @@ -77,7 +77,7 @@ public interface IImage : IDrawable, IDisposable /// Thrown when is null. /// Thrown when is not between 0.0 and 1.0. void Save(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1); - + /// /// Asynchronously saves the image to a stream in the specified format. /// @@ -88,7 +88,7 @@ public interface IImage : IDrawable, IDisposable /// Thrown when is null. /// Thrown when is not between 0.0 and 1.0. Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1); - + /// /// Creates a platform-specific representation of this image. /// diff --git a/src/Graphics/src/Graphics/IPattern.cs b/src/Graphics/src/Graphics/IPattern.cs index c640472de5ac..b455f2a18b87 100644 --- a/src/Graphics/src/Graphics/IPattern.cs +++ b/src/Graphics/src/Graphics/IPattern.cs @@ -9,22 +9,22 @@ public interface IPattern /// Gets the width of the pattern. /// float Width { get; } - + /// /// Gets the height of the pattern. /// float Height { get; } - + /// /// Gets the horizontal step size for repeating the pattern. /// float StepX { get; } - + /// /// Gets the vertical step size for repeating the pattern. /// float StepY { get; } - + /// /// Draws the pattern onto the specified canvas. /// diff --git a/src/Graphics/src/Graphics/IPdfPage.cs b/src/Graphics/src/Graphics/IPdfPage.cs index e1909d5f863d..6e21fce4fa18 100644 --- a/src/Graphics/src/Graphics/IPdfPage.cs +++ b/src/Graphics/src/Graphics/IPdfPage.cs @@ -13,12 +13,12 @@ public interface IPdfPage : IDrawable, IDisposable /// Gets the width of the PDF page. /// float Width { get; } - + /// /// Gets the height of the PDF page. /// float Height { get; } - + /// /// Gets the page number within the PDF document. /// @@ -31,7 +31,7 @@ public interface IPdfPage : IDrawable, IDisposable /// Thrown when is null. /// Thrown when an I/O error occurs. void Save(Stream stream); - + /// /// Asynchronously saves the PDF page to the specified stream. /// diff --git a/src/Graphics/src/Graphics/IPlatformFonts.cs b/src/Graphics/src/Graphics/IPlatformFonts.cs index c51e1e8d06b8..def58094f0d5 100644 --- a/src/Graphics/src/Graphics/IPlatformFonts.cs +++ b/src/Graphics/src/Graphics/IPlatformFonts.cs @@ -15,7 +15,7 @@ public interface IPlatformFonts /// Gets the default platform font. /// IFont Default { get; } - + /// /// Gets the default bold platform font. /// diff --git a/src/Graphics/src/Graphics/ImageFormat.cs b/src/Graphics/src/Graphics/ImageFormat.cs index d6a55477e591..de2fb5ea300b 100644 --- a/src/Graphics/src/Graphics/ImageFormat.cs +++ b/src/Graphics/src/Graphics/ImageFormat.cs @@ -9,22 +9,22 @@ public enum ImageFormat /// Portable Network Graphics format, which supports lossless compression and transparency. /// Png, - + /// /// Joint Photographic Experts Group format, which uses lossy compression optimized for photographs. /// Jpeg, - + /// /// Graphics Interchange Format, which supports animation and a limited color palette with transparency. /// Gif, - + /// /// Tagged Image File Format, which supports multiple images, layers, and various compression methods. /// Tiff, - + /// /// Bitmap format, which stores pixel data with minimal or no compression. /// diff --git a/src/Graphics/src/Graphics/LineCap.cs b/src/Graphics/src/Graphics/LineCap.cs index 28ae1464af9a..66ea5fe02706 100644 --- a/src/Graphics/src/Graphics/LineCap.cs +++ b/src/Graphics/src/Graphics/LineCap.cs @@ -9,12 +9,12 @@ public enum LineCap /// The line ends at the endpoint with no extension. /// Butt, - + /// /// The line is capped with a semicircle whose diameter equals the line thickness. /// Round, - + /// /// The line is capped with a square that has the same width as the line thickness and extends beyond the end point by half the line thickness. /// diff --git a/src/Graphics/src/Graphics/LineJoin.cs b/src/Graphics/src/Graphics/LineJoin.cs index 28839fc48ebc..b5906207c50d 100644 --- a/src/Graphics/src/Graphics/LineJoin.cs +++ b/src/Graphics/src/Graphics/LineJoin.cs @@ -10,12 +10,12 @@ public enum LineJoin /// If the joint's angle is too sharp, a bevel join is used instead. /// Miter, - + /// /// Creates a rounded corner at the joint. The corner is filled with a circle with the diameter equal to the line width. /// Round, - + /// /// Creates a beveled corner at the joint. The joint is filled by a triangle that connects the outer edges of the lines. /// diff --git a/src/Graphics/src/Graphics/PaintPattern.cs b/src/Graphics/src/Graphics/PaintPattern.cs index d25f10ba26ab..ecb02b2f12be 100644 --- a/src/Graphics/src/Graphics/PaintPattern.cs +++ b/src/Graphics/src/Graphics/PaintPattern.cs @@ -9,7 +9,7 @@ public class PaintPattern : IPattern /// Gets the wrapped pattern that this pattern applies a paint to. /// public IPattern Wrapped { get; } - + /// /// Gets or sets the paint to apply to the wrapped pattern. /// @@ -19,17 +19,17 @@ public class PaintPattern : IPattern /// Gets the width of the pattern, which is the width of the wrapped pattern or 0 if there is no wrapped pattern. /// public float Width => Wrapped?.Width ?? 0; - + /// /// Gets the height of the pattern, which is the height of the wrapped pattern or 0 if there is no wrapped pattern. /// public float Height => Wrapped?.Height ?? 0; - + /// /// Gets the horizontal step size for repeating the pattern, which is the step X of the wrapped pattern or 0 if there is no wrapped pattern. /// public float StepX => Wrapped?.StepX ?? 0; - + /// /// Gets the vertical step size for repeating the pattern, which is the step Y of the wrapped pattern or 0 if there is no wrapped pattern. /// diff --git a/src/Graphics/src/Graphics/PathOperation.cs b/src/Graphics/src/Graphics/PathOperation.cs index 8afd01c2355f..5aa6f8decf1f 100644 --- a/src/Graphics/src/Graphics/PathOperation.cs +++ b/src/Graphics/src/Graphics/PathOperation.cs @@ -9,27 +9,27 @@ public enum PathOperation /// Moves the current point to a new location without drawing a line. /// Move, - + /// /// Draws a straight line from the current point to a new point. /// Line, - + /// /// Draws a quadratic Bézier curve using the current point, a control point, and an end point. /// Quad, - + /// /// Draws a cubic Bézier curve using the current point, two control points, and an end point. /// Cubic, - + /// /// Draws an elliptical arc from the current point to a specified point. /// Arc, - + /// /// Closes the current subpath by drawing a straight line from the current point to the first point of the subpath. /// diff --git a/src/Graphics/src/Graphics/PictureCommand.cs b/src/Graphics/src/Graphics/PictureCommand.cs index 129cba8d3607..93f53647a460 100644 --- a/src/Graphics/src/Graphics/PictureCommand.cs +++ b/src/Graphics/src/Graphics/PictureCommand.cs @@ -9,37 +9,37 @@ public enum PictureCommand /// Draws a line between two points. /// DrawLine = 0, - + /// /// Draws the outline of a rectangle. /// DrawRectangle = 1, - + /// /// Draws the outline of a rectangle with rounded corners. /// DrawRoundedRectangle = 2, - + /// /// Draws the outline of an ellipse. /// DrawEllipse = 3, - + /// /// Draws the outline of a path. /// DrawPath = 4, - + /// /// Draws an image. /// DrawImage = 5, - + /// /// Draws an arc. /// DrawArc = 6, - + /// /// Draws a PDF page. /// @@ -49,27 +49,27 @@ public enum PictureCommand /// Fills a rectangle with the current fill color or paint. /// FillRectangle = 10, - + /// /// Fills a rectangle with rounded corners with the current fill color or paint. /// FillRoundedRectangle = 11, - + /// /// Fills an ellipse with the current fill color or paint. /// FillEllipse = 12, - + /// /// Fills a path with the current fill color or paint. /// FillPath = 13, - + /// /// Fills an arc with the current fill color or paint. /// FillArc = 14, - + /// /// Alternative command for filling a path. /// @@ -79,17 +79,17 @@ public enum PictureCommand /// Draws text at a specific point. /// DrawStringAtPoint = 20, - + /// /// Draws text within a rectangle with alignment. /// DrawStringInRect = 21, - + /// /// Draws text along a path. /// DrawStringInPath = 22, - + /// /// Draws formatted text within a rectangle. /// @@ -99,27 +99,27 @@ public enum PictureCommand /// Sets the stroke width. /// StrokeSize = 30, - + /// /// Sets the stroke color. /// StrokeColor = 31, - + /// /// Sets the stroke dash pattern. /// StrokeDashPattern = 32, - + /// /// Sets the stroke line cap style. /// StrokeLineCap = 33, - + /// /// Sets the stroke line join style. /// StrokeLineJoin = 34, - + /// /// Sets the stroke location. /// @@ -127,22 +127,22 @@ public enum PictureCommand /// Sets the stroke location. /// StrokeLocation = 35, - + /// /// Sets the miter limit for stroke line joins. /// StrokeMiterLimit = 36, - + /// /// Controls whether stroke scaling is limited. /// LimitStrokeScaling = 37, - + /// /// Sets the stroke limit. /// StrokeLimit = 38, - + /// /// Sets the stroke brush. /// @@ -152,7 +152,7 @@ public enum PictureCommand /// Sets the fill color. /// FillColor = 40, - + /// /// Sets the fill paint (gradient, pattern, etc.). /// @@ -162,12 +162,12 @@ public enum PictureCommand /// Sets the font color. /// FontColor = 50, - + /// /// Sets the font name or family. /// FontName = 51, - + /// /// Sets the font size. /// @@ -177,22 +177,22 @@ public enum PictureCommand /// Applies a scaling transformation. /// Scale = 60, - + /// /// Applies a translation transformation. /// Translate = 61, - + /// /// Applies a rotation transformation around the origin. /// Rotate = 62, - + /// /// Applies a rotation transformation around a specified point. /// RotateAtPoint = 63, - + /// /// Concatenates a transformation matrix with the current transformation. /// @@ -202,12 +202,12 @@ public enum PictureCommand /// Sets shadow properties. /// Shadow = 70, - + /// /// Sets the global alpha (transparency) value. /// Alpha = 71, - + /// /// Sets the blend mode for compositing. /// @@ -217,17 +217,17 @@ public enum PictureCommand /// Subtracts a region from the current clipping area. /// SubtractFromClip = 80, - + /// /// Sets the clipping area to a path. /// ClipPath = 81, - + /// /// Sets the clipping area to a rectangle. /// ClipRectangle = 82, - + /// /// Subtracts a path from the current clipping area. /// @@ -237,12 +237,12 @@ public enum PictureCommand /// Saves the current graphics state on a stack. /// SaveState = 100, - + /// /// Restores the most recently saved graphics state. /// RestoreState = 101, - + /// /// Resets the graphics state to its default values. /// diff --git a/src/Graphics/src/Graphics/Size.cs b/src/Graphics/src/Graphics/Size.cs index 5ab44f9f6428..4a1558c9fc35 100644 --- a/src/Graphics/src/Graphics/Size.cs +++ b/src/Graphics/src/Graphics/Size.cs @@ -196,7 +196,7 @@ public void Deconstruct(out double width, out double height) width = Width; height = Height; } - + /// /// Implicitly converts a to a . /// diff --git a/src/Graphics/src/Graphics/StandardPicture.cs b/src/Graphics/src/Graphics/StandardPicture.cs index 5e11f9650ccd..052f97e7a0a5 100644 --- a/src/Graphics/src/Graphics/StandardPicture.cs +++ b/src/Graphics/src/Graphics/StandardPicture.cs @@ -17,22 +17,22 @@ public class StandardPicture : IPicture /// Gets the x-coordinate of the picture's origin. /// public float X { get; } - + /// /// Gets the y-coordinate of the picture's origin. /// public float Y { get; } - + /// /// Gets the width of the picture. /// public float Width { get; } - + /// /// Gets the height of the picture. /// public float Height { get; } - + /// /// Gets or sets a hash value that uniquely identifies this picture's content. /// diff --git a/src/Graphics/src/Graphics/TextFlow.cs b/src/Graphics/src/Graphics/TextFlow.cs index d80d90cbb773..98a25c3dcaaa 100644 --- a/src/Graphics/src/Graphics/TextFlow.cs +++ b/src/Graphics/src/Graphics/TextFlow.cs @@ -9,7 +9,7 @@ public enum TextFlow /// Text that exceeds the bounds will be clipped (not visible). /// ClipBounds = 0, - + /// /// Text that exceeds the bounds will still be rendered, potentially overlapping with other elements. /// diff --git a/src/Graphics/src/Graphics/VerticalAlignment.cs b/src/Graphics/src/Graphics/VerticalAlignment.cs index 1d0564dce025..e59fb9596114 100644 --- a/src/Graphics/src/Graphics/VerticalAlignment.cs +++ b/src/Graphics/src/Graphics/VerticalAlignment.cs @@ -9,12 +9,12 @@ public enum VerticalAlignment /// Aligns content to the top edge. /// Top = 0, - + /// /// Centers content vertically. /// Center = 1, - + /// /// Aligns content to the bottom edge. /// diff --git a/src/Graphics/src/Graphics/WindingMode.cs b/src/Graphics/src/Graphics/WindingMode.cs index 345e39d7129f..c5cbe25ed6d2 100644 --- a/src/Graphics/src/Graphics/WindingMode.cs +++ b/src/Graphics/src/Graphics/WindingMode.cs @@ -10,7 +10,7 @@ public enum WindingMode /// A point is inside the shape if a ray from that point to infinity crosses path segments with a non-zero net number of clockwise versus counter-clockwise crossings. /// NonZero = 0, - + /// /// Uses the even-odd rule, which fills regions based on alternating crossings. /// A point is inside the shape if a ray from that point to infinity crosses an odd number of path segments. diff --git a/src/Graphics/src/Graphics/XmlnsDefinitionAttribute.cs b/src/Graphics/src/Graphics/XmlnsDefinitionAttribute.cs index f3caaddd65af..30f8b60e288c 100644 --- a/src/Graphics/src/Graphics/XmlnsDefinitionAttribute.cs +++ b/src/Graphics/src/Graphics/XmlnsDefinitionAttribute.cs @@ -17,7 +17,7 @@ internal sealed class XmlnsDefinitionAttribute : Attribute /// Gets the XML namespace. /// public string XmlNamespace { get; } - + /// /// Gets the CLR namespace. /// diff --git a/src/TestUtils/src/Microsoft.Maui.IntegrationTests/MultiProjectTemplateTest.cs b/src/TestUtils/src/Microsoft.Maui.IntegrationTests/MultiProjectTemplateTest.cs index b4d00a47bb90..48692ad4b6fe 100644 --- a/src/TestUtils/src/Microsoft.Maui.IntegrationTests/MultiProjectTemplateTest.cs +++ b/src/TestUtils/src/Microsoft.Maui.IntegrationTests/MultiProjectTemplateTest.cs @@ -20,7 +20,7 @@ public void BuildMultiProject(string config, string projectName) // Always remove WinUI project if the project name contains special characters that cause WinRT source generator issues // See: https://github.com/microsoft/CsWinRT/issues/1809 (under "Special characters in assembly name" section) bool containsSpecialChars = projectName.IndexOfAny(new[] { '@', '&', '+', '%', '!', '#', '$', '^', '*', ' ', '-' }) >= 0; - + if (!TestEnvironment.IsWindows || containsSpecialChars) { Assert.IsTrue(DotnetInternal.Run("sln", $"\"{solutionFile}\" remove \"{projectDir}/{name}.WinUI/{name}.WinUI.csproj\""), @@ -65,7 +65,7 @@ public void BuildMultiProjectSinglePlatform(string config, string platformArg) [TestCase("--windows")] [TestCase("--macos")] [TestCase("")] // no platform arg means all platforms - // https://github.com/dotnet/maui/issues/28695 + // https://github.com/dotnet/maui/issues/28695 public void VerifyIncludedPlatformsInSln(string platformArg) { var projectDir = TestDirectory; @@ -109,7 +109,7 @@ public void VerifyIncludedPlatformsInSln(string platformArg) expectedCsprojFiles.Remove("WinUI.csproj"); break; } - + // Depending on the platform argument, we assert if the expected projects are included in the solution foreach (var platformCsproj in expectedCsprojFiles) {