Avalonia.Media Namespace

 

Classes

ArcSegment 
BezierSegment 
BlurEffect 
Brush Describes how an area is painted.
BrushConverter Creates an IBrush from a string representation.
Brushes Predefined brushes.
BrushExtensions Extension methods for brush classes.
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 Pen.
Drawing Abstract class that describes a 2-D drawing.
DrawingBrush Paints an area with an Drawing.
DrawingCollection 
DrawingContext 
DrawingGroup 
DrawingImage An IImage that uses a Drawing for content.
DropShadowDirectionEffect This class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
DropShadowEffect 
DropShadowEffectBase 
Effect 
EffectConverter 
EffectExtensions 
EllipseGeometry Represents the geometry of an ellipse or circle.
ExperimentalAcrylicMaterial 
FontFallback Font fallback definition that is used to override the default fallback lookup of the current 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 
FormattedText The FormattedText class is targeted at programmers needing to add some simple text to a MIL visual.
Geometry Defines a geometric shape.
GeometryCollection 
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 Geometry objects.
GeometryTypeConverter 
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 
GradientBrush Base class for brushes that draw with a gradient.
GradientStop Describes the location and color of a transition point in a gradient.
GradientStops A collection of GradientStops.
ImageBrush Paints an area with an IBitmap.
ImageDrawing Draws an image within a region defined by a Rect.
ImmediateDrawingContext 
ImmutableBlurEffect 
ImmutableDropShadowDirectionEffect 
ImmutableDropShadowEffect 
LinearGradientBrush A brush that draws with a linear gradient.
LineGeometry Represents the geometry of a line.
LineSegment 
MaterialExtensions 
MatrixTransform Transforms an Visual according to a Matrix.
MediaExtensions Provides extension methods for Avalonia media.
PathFigure 
PathFigures 
PathGeometry 
PathMarkupParser Parses a path markup string.
PathSegment 
PathSegments Represents a collection of PathSegment objects that can be individually accessed by index.
Pen Describes how a stroke is drawn.
PolyBezierSegment PolyBezierSegment
PolylineGeometry Represents the geometry of an polyline or polygon.
PolyLineSegment Represents a set of line segments defined by a points collection with each Point specifying the end point of a line segment.
QuadraticBezierSegment 
RadialGradientBrush Paints an area with a radial gradient.
RectangleGeometry Represents the geometry of a rectangle.
Rotate3DTransform Non-Affine 3D transformation for rotating a visual around a definable axis
RotateTransform Rotates an Visual.
ScaleTransform Scale an Visual.
SkewTransform Skews an Visual.
SolidColorBrush Fills an area with a solid color.
StreamGeometry Represents the geometry of an arbitrarily complex shape.
StreamGeometryContext Describes a geometry using drawing commands.
TextDecoration Represents a text decoration, which is a visual ornamentation that is added to text (such as an underline).
TextDecorationCollection A collection that holds TextDecoration objects.
TextDecorations Defines a set of commonly used text decorations.
TextLeadingPrefixTrimming 
TextTrailingTrimming 
TextTrimming Describes how text is trimmed when it overflows.
TileBrush Base class for brushes which display repeating images.
Transform Represents a transform on an Visual.
TransformConverter Creates an ITransform from a string representation.
TransformExtensions Extension methods for transform classes.
TransformGroup 
Transforms 
TranslateTransform Translates (moves) an Visual.
VisualBrush Paints an area with an Visual.

Structures

BoxShadow 
BoxShadows 
CharacterHit Represents information about a character hit within a glyph run.
Color An ARGB color.
DrawingContextPushedState 
FontMetrics The font metrics is holding information about a font's ascent, descent, etc. in design em units.
GlyphMetrics 
GlyphRunMetrics 
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.
ImmediateDrawingContextPushedState 
ImmutableExperimentalAcrylicMaterial 
RenderOptions 
TextCollapsingCreateInfo 
TextHitTestResult Holds a hit test result from a TextLayout.
Typeface Represents a typeface.
UnicodeRange The UnicodeRange descripes a set of Unicode characters.
UnicodeRangeSegment 

Interfaces

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 Pen.
IDropShadowEffect 
IEffect 
IExperimentalAcrylicMaterial Experimental Interface for producing Acrylic-like materials.
IGlyphTypeface 
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 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.
IMutableEffect 
IMutableExperimentalAcrylicMaterial Represents a mutable brush which can return an immutable clone of itself.
IMutableTransform 
IPen Describes how a stroke is drawn.
IRadialGradientBrush Paints an area with a radial gradient.
ISceneBrush 
ISceneBrushContent 
ISolidColorBrush Fills an area with a solid color.
ITileBrush A brush which displays a repeating image.
ITransform 

Enumerations

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.
BackgroundSizing Defines how a background is drawn relative to its border.
BaselineAlignment Enum specifying where a box should be positioned Vertically
BrushMappingMode 
EdgeMode 
FillRule 
FlowDirection The 'flow-direction' property specifies whether the primary text advance direction shall be left-to-right or right-to-left.
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.
GeometryCombineMode 
GradientSpreadMethod 
ImmediateDrawingContextPushedStatePushedStateType 
PenLineCap 
PenLineJoin 
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.
TextDecorationLocation Specifies the vertical position of a TextDecoration object.
TextDecorationUnit Specifies the unit type of either a StrokeOffset or a StrokeThickness value.
TextRenderingMode 
TextWrapping Controls the wrapping mode of text.
TileMode Describes how a TileBrush is tiled.