Media Namespace
Namespace Avalonia.Media
Types
- AcrylicBackgroundSource - Background Sources for Acrylic.
- AlignmentX - Describes how content is positioned horizontally in a container.
- AlignmentY - Describes how content is positioned vertically in a container.
- ArcSegment
- AvFoundationMediaPlayerOptions
- BackgroundSizing - Defines how a background is drawn relative to its border.
- BaselineAlignment - Enum specifying where a box should be positioned Vertically
- BaselinePixelAlignment - Specifies the baseline pixel alignment options for rendering text or graphics.
- BezierSegment
- BitmapCache - Represents the behavior of caching a visual element or tree of elements as bitmap surfaces.
- BlurEffect
- BoxShadow - Represents a box shadow which can be attached to an element or control.
- BoxShadows - Represents a collection of Avalonia.Media.BoxShadows.
- BoxShadows.BoxShadowsEnumerator
- Brush - Describes how an area is painted.
- BrushConverter - Creates an Avalonia.Media.IBrush from a string representation.
- BrushExtensions - Extension methods for brush classes.
- BrushMappingMode
- Brushes - Predefined brushes.
- CacheMode - Represents cached content modes for graphics acceleration features.
- CharacterHit - Represents information about a character hit within a glyph run.
- Color - An ARGB color.
- Colors - Defines a set of predefined colors.
- CombinedGeometry - Represents a 2-D geometric shape defined by the combination of two Geometry objects.
- ConicGradientBrush - Paints an area with a swept circular gradient.
- DashStyle - Represents the sequence of dashes and gaps that will be applied by a Avalonia.Media.Pen.
- Drawing - Abstract class that describes a 2-D drawing.
- DrawingBrush - Paints an area with an Avalonia.Media.DrawingBrush.Drawing.
- DrawingCollection
- DrawingContext
- DrawingContext.PushedState
- DrawingContext.RestoreState.PushedStateType
- DrawingGroup
- DrawingImage - An Avalonia.Media.IImage that uses a Avalonia.Media.DrawingImage.Drawing for content.
- DropShadowDirectionEffect - This class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
- DropShadowEffect
- DropShadowEffectBase
- EdgeMode
- Effect
- EffectConverter
- EffectExtensions
- EllipseGeometry - Represents the geometry of an ellipse or circle.
- ExperimentalAcrylicMaterial
- FillRule
- FlowDirection - The 'flow-direction' property specifies whether the primary text advance direction shall be left-to-right or right-to-left.
- FontFallback - Font fallback definition that is used to override the default fallback lookup of the current Avalonia.Media.FontManager
- FontFamily
- FontFeature - Font feature
- FontFeatureCollection - List of font feature settings
- FontManager - The font manager is used to query the system's installed fonts and is responsible for caching loaded fonts. It is also responsible for the font fallback.
- FontManagerOptions
- FontMetrics - The font metrics is holding information about a font's ascent, descent, etc. in design em units.
- FontSimulations - Specifies algorithmic style simulations to be applied to the typeface. Bold and oblique simulations can be combined via bitwise OR operation.
- FontStretch - FontStretch describes relative change from the normal aspect ratio as specified by a font designer for the glyphs in a font.
- FontStyle - Defines the available font styles.
- FontWeight - Defines a set of predefined font weights.
- FormattedText - The FormattedText class is targeted at programmers needing to add some simple text to a MIL visual.
- Geometry - Defines a geometric shape.
- GeometryCollection
- GeometryCombineMode
- GeometryDrawing - Represents a drawing operation that combines a geometry with and brush and/or pen to produce rendered content.
- GeometryGroup - Represents a composite geometry, composed of other Avalonia.Media.Geometry objects.
- GeometryTypeConverter
- GlyphMetrics
- GlyphRun - Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
- GlyphRunDrawing
- GlyphRunMetrics
- GlyphTypeface - Represents a glyph typeface, providing access to font metrics, glyph mappings, and other font-related properties.
- GradientBrush - Base class for brushes that draw with a gradient.
- GradientSpreadMethod
- GradientStop - Describes the location and color of a transition point in a gradient.
- GradientStops - A collection of Avalonia.Media.GradientStops.
- HslColor - Defines a color using the hue/saturation/lightness (HSL) model. This uses a cylindrical-coordinate representation of a color.
- HsvColor - Defines a color using the hue/saturation/value (HSV) model. This uses a cylindrical-coordinate representation of a color.
- IBlurEffect
- IBrush - Describes how an area is painted.
- IConicGradientBrush - Paints an area with a conic gradient.
- IDashStyle - Represents the sequence of dashes and gaps that will be applied by a Avalonia.Media.Pen.
- IDropShadowEffect
- IEffect
- IExperimentalAcrylicMaterial - Experimental Interface for producing Acrylic-like materials.
- IFontMemory
- IGradientBrush - A brush that draws with a gradient.
- IGradientStop - Describes the location and color of a transition point in a gradient.
- IImage - Represents a raster or vector image.
- IImageBrush - Paints an area with an Avalonia.Media.Imaging.IBitmap.
- IImageBrushSource
- IImmutableBrush - Represents an immutable brush which can be safely used with various threading contexts
- IImmutableEffect
- IImmutableGlyphRunReference
- IImmutableSolidColorBrush - Fills an area with a solid color.
- ILinearGradientBrush - A brush that draws with a linear gradient.
- IMediaPlayer
- IMediaRendererProvider
- IMutableEffect
- IMutableExperimentalAcrylicMaterial - Represents a mutable brush which can return an immutable clone of itself.
- IMutableTransform
- IPen - Describes how a stroke is drawn.
- IPlatformTypeface
- IRadialGradientBrush - Paints an area with a radial gradient.
- ISceneBrush
- ISceneBrushContent
- ISolidColorBrush - Fills an area with a solid color.
- ITextShaperTypeface
- ITileBrush - A brush which displays a repeating image.
- ITransform
- ImageBrush - Paints an area with an Avalonia.Media.Imaging.IBitmap.
- ImageDrawing - Draws an image within a region defined by a Avalonia.Media.ImageDrawing.Rect.
- ImmediateDrawingContext
- ImmediateDrawingContext.PushedState
- ImmediateDrawingContext.PushedState.PushedStateType
- ImmutableBlurEffect
- ImmutableDropShadowDirectionEffect
- ImmutableDropShadowEffect
- ImmutableExperimentalAcrylicMaterial
- LineGeometry - Represents the geometry of a line.
- LineSegment
- LinearGradientBrush - A brush that draws with a linear gradient.
- MaterialExtensions
- MatrixTransform - Transforms an Avalonia.Visual according to a Avalonia.Media.MatrixTransform.Matrix.
- MediaExtensions - Provides extension methods for Avalonia media.
- MediaPlayer
- MediaPlayerErrorEventArgs
- MediaPlayerLoadedBehavior
- MediaPlayerOptions
- MediaRenderer
- MediaSource
- MediaStatistics
- NaturalSizeChangedEventArgs
- PathFigure
- PathFigures
- PathGeometry
- PathMarkupParser - Parses a path markup string.
- PathSegment
- PathSegments - Represents a collection of Avalonia.Media.PathSegment objects that can be individually accessed by index.
- Pen - Describes how a stroke is drawn.
- PenLineCap
- PenLineJoin
- PolyBezierSegment - PolyBezierSegment
- PolyLineSegment - Represents a set of line segments defined by a points collection with each Point specifying the end point of a line segment.
- PolylineGeometry - Represents the geometry of an polyline or polygon.
- PreciseEllipticArcHelper.EllipticalArc - This class represents an elliptical arc on a 2D plane.
This class is adapted for use with WPF StreamGeometryContext, and needs to be created explicitly for each particular arc.
Some helpers
It can handle ellipses which are not aligned with the x and y reference axes of the plane, as well as their parts.
Another improvement is that this class can handle degenerated cases like for example very flat ellipses(semi-minor axis much smaller than semi-major axis) and drawing of very small parts of such ellipses at very high magnification scales.This imply monitoring the drawing approximation error for extremely small values.Such cases occur for example while drawing orbits of comets near the perihelion.
When the arc does not cover the complete ellipse, the lines joining the center of the ellipse to the endpoints can optionally be included or not in the outline, hence allowing to use it for pie-charts rendering. If these lines are not included, the curve is not naturally closed.
- QuadraticBezierSegment
- RadialGradientBrush - Paints an area with a radial gradient.
- RectangleGeometry - Represents the geometry of a rectangle.
- RenderOptions - Provides a set of options that control rendering behavior for visuals, including text rendering, bitmap interpolation, edge rendering, blending, and opacity handling.
- Rotate3DTransform - Non-Affine 3D transformation for rotating a visual around a definable axis
- RotateTransform - Rotates a Avalonia.Visual.
- ScaleTransform - Scale an Avalonia.Visual.
- SkewTransform - Skews an Avalonia.Visual.
- SolidColorBrush - Fills an area with a solid color.
- StorageFileSource
- StorageFileSourcePriority
- StreamGeometry - Represents the geometry of an arbitrarily complex shape.
- StreamGeometryContext - Describes a geometry using drawing commands.
- StreamSource
- Stretch - Describes how content is resized to fill its allocated space.
- StretchDirection - Describes the type of scaling that can be used when scaling content.
- SweepDirection - Defines the direction an which elliptical arc is drawn.
- TextAlignment - Defines how text is aligned.
- TextCollapsingCreateInfo
- TextDecoration - Represents a text decoration, which is a visual ornamentation that is added to text (such as an underline).
- TextDecorationCollection - A collection that holds Avalonia.Media.TextDecoration objects.
- TextDecorationLocation - Specifies the vertical position of a Avalonia.Media.TextDecoration object.
- TextDecorationUnit - Specifies the unit type of either a Avalonia.Media.TextDecoration.StrokeOffset or a Avalonia.Media.TextDecoration.StrokeThickness value.
- TextDecorations - Defines a set of commonly used text decorations.
- TextHintingMode - Specifies the level of hinting applied to text glyphs during rendering. Text hinting adjusts glyph outlines to improve readability and crispness, especially at small font sizes or low DPI. This enum controls the amount of grid-fitting and outline adjustment performed.
- TextHitTestResult - Holds a hit test result from a Avalonia.Media.TextFormatting.TextLayout.
- TextLeadingPrefixTrimming
- TextOptions - Provides options for controlling text rendering behavior, including rendering mode, hinting mode, and baseline pixel alignment. Used to configure how text appears within visual elements.
- TextPathSegmentEllipsis - Provides text collapsing properties that replace the middle segments of a file path with an ellipsis symbol when the rendered width exceeds a specified limit.
- TextPathSegmentTrimming - Provides a text trimming strategy that collapses overflowing text by replacing path segments with an ellipsis string.
- TextRenderingMode - Specifies how text glyphs are rendered in Avalonia. Controls the smoothing and antialiasing applied during text rasterization.
- TextTrailingTrimming
- TextTrimming - Describes how text is trimmed when it overflows.
- TextWrapping - Controls the wrapping mode of text.
- TileBrush - Base class for brushes which display repeating images.
- TileMode - Describes how a Avalonia.Media.TileBrush is tiled.
- Transform - Represents a transform on an Avalonia.Visual.
- TransformConverter - Creates an Avalonia.Media.ITransform from a string representation.
- TransformExtensions - Extension methods for transform classes.
- TransformGroup
- Transforms
- TranslateTransform - Translates (moves) an Avalonia.Visual.
- Typeface - Represents a typeface.
- UnicodeRange - The Avalonia.Media.UnicodeRange descripes a set of Unicode characters.
- UnicodeRangeSegment
- UriSource
- VisualBrush - Paints an area with an Avalonia.Media.VisualBrush.Visual.