Skip to main content

Avalonia.Media Namespace

Classes

ArcSegment 
BezierSegment 
BlurEffect 
BrushDescribes how an area is painted.
BrushConverterCreates an IBrush from a string representation.
BrushesPredefined brushes.
BrushExtensionsExtension methods for brush classes.
ColorsDefines a set of predefined colors.
CombinedGeometryRepresents a 2-D geometric shape defined by the combination of two Geometry objects.
ConicGradientBrushPaints an area with a swept circular gradient.
DashStyleRepresents the sequence of dashes and gaps that will be applied by a Pen.
DrawingAbstract class that describes a 2-D drawing.
DrawingBrushPaints an area with an Drawing.
DrawingCollection 
DrawingContext 
DrawingGroup 
DrawingImageAn IImage that uses a Drawing for content.
DropShadowDirectionEffectThis class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
DropShadowEffect 
DropShadowEffectBase 
Effect 
EffectConverter 
EffectExtensions 
EllipseGeometryRepresents the geometry of an ellipse or circle.
ExperimentalAcrylicMaterial 
FontFallbackFont fallback definition that is used to override the default fallback lookup of the current FontManager
FontFamily 
FontFeatureFont feature
FontFeatureCollectionList of font feature settings
FontManagerThe 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 
FormattedTextThe FormattedText class is targeted at programmers needing to add some simple text to a MIL visual.
GeometryDefines a geometric shape.
GeometryCollection 
GeometryDrawingRepresents a drawing operation that combines a geometry with and brush and/or pen to produce rendered content.
GeometryGroupRepresents a composite geometry, composed of other Geometry objects.
GeometryTypeConverter 
GlyphRunRepresents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
GlyphRunDrawing 
GradientBrushBase class for brushes that draw with a gradient.
GradientStopDescribes the location and color of a transition point in a gradient.
GradientStopsA collection of GradientStops.
ImageBrushPaints an area with an IBitmap.
ImageDrawingDraws an image within a region defined by a Rect.
ImmediateDrawingContext 
ImmutableBlurEffect 
ImmutableDropShadowDirectionEffect 
ImmutableDropShadowEffect 
LinearGradientBrushA brush that draws with a linear gradient.
LineGeometryRepresents the geometry of a line.
LineSegment 
MaterialExtensions 
MatrixTransformTransforms an Visual according to a Matrix.
MediaExtensionsProvides extension methods for Avalonia media.
PathFigure 
PathFigures 
PathGeometry 
PathMarkupParserParses a path markup string.
PathSegment 
PathSegmentsRepresents a collection of PathSegment objects that can be individually accessed by index.
PenDescribes how a stroke is drawn.
PolyBezierSegmentPolyBezierSegment
PolylineGeometryRepresents the geometry of an polyline or polygon.
PolyLineSegmentRepresents a set of line segments defined by a points collection with each Point specifying the end point of a line segment.
QuadraticBezierSegment 
RadialGradientBrushPaints an area with a radial gradient.
RectangleGeometryRepresents the geometry of a rectangle.
Rotate3DTransformNon-Affine 3D transformation for rotating a visual around a definable axis
RotateTransformRotates an Visual.
ScaleTransformScale an Visual.
SkewTransformSkews an Visual.
SolidColorBrushFills an area with a solid color.
StreamGeometryRepresents the geometry of an arbitrarily complex shape.
StreamGeometryContextDescribes a geometry using drawing commands.
TextDecorationRepresents a text decoration, which is a visual ornamentation that is added to text (such as an underline).
TextDecorationCollectionA collection that holds TextDecoration objects.
TextDecorationsDefines a set of commonly used text decorations.
TextLeadingPrefixTrimming 
TextTrailingTrimming 
TextTrimmingDescribes how text is trimmed when it overflows.
TileBrushBase class for brushes which display repeating images.
TransformRepresents a transform on an Visual.
TransformConverterCreates an ITransform from a string representation.
TransformExtensionsExtension methods for transform classes.
TransformGroup 
Transforms 
TranslateTransformTranslates (moves) an Visual.
VisualBrushPaints an area with an Visual.

Structures

BoxShadow 
BoxShadows 
CharacterHitRepresents information about a character hit within a glyph run.
ColorAn ARGB color.
DrawingContext.PushedState 
FontMetricsThe font metrics is holding information about a font's ascent, descent, etc. in design em units.
GlyphMetrics 
GlyphRunMetrics 
HslColorDefines a color using the hue/saturation/lightness (HSL) model. This uses a cylindrical-coordinate representation of a color.
HsvColorDefines a color using the hue/saturation/value (HSV) model. This uses a cylindrical-coordinate representation of a color.
ImmediateDrawingContext.PushedState 
ImmutableExperimentalAcrylicMaterial 
RenderOptions 
TextCollapsingCreateInfo 
TextHitTestResultHolds a hit test result from a TextLayout.
TypefaceRepresents a typeface.
UnicodeRangeThe UnicodeRange descripes a set of Unicode characters.
UnicodeRangeSegment 

Interfaces

IBlurEffect 
IBrushDescribes how an area is painted.
Not client implementable.
IConicGradientBrushPaints an area with a conic gradient.
Not client implementable.
IDashStyleRepresents the sequence of dashes and gaps that will be applied by a Pen.
Not client implementable.
IDropShadowEffect 
IEffect
Not client implementable.
IExperimentalAcrylicMaterialExperimental Interface for producing Acrylic-like materials.
Not client implementable.
IGlyphTypeface
Unstable.
IGradientBrushA brush that draws with a gradient.
Not client implementable.
IGradientStopDescribes the location and color of a transition point in a gradient.
Not client implementable.
IImageRepresents a raster or vector image.
IImageBrushPaints an area with an IBitmap.
Not client implementable.
IImageBrushSource
Not client implementable.
IImmutableBrushRepresents an immutable brush which can be safely used with various threading contexts
IImmutableEffect 
IImmutableGlyphRunReference 
IImmutableSolidColorBrushFills an area with a solid color.
Not client implementable.
ILinearGradientBrushA brush that draws with a linear gradient.
Not client implementable.
IMutableEffect 
IMutableExperimentalAcrylicMaterialRepresents a mutable brush which can return an immutable clone of itself.
Not client implementable.
IMutableTransform 
IPenDescribes how a stroke is drawn.
Not client implementable.
IRadialGradientBrushPaints an area with a radial gradient.
Not client implementable.
ISceneBrush
Not client implementable.
ISceneBrushContent
Not client implementable.
ISolidColorBrushFills an area with a solid color.
Not client implementable.
ITileBrushA brush which displays a repeating image.
Not client implementable.
ITransform
Not client implementable.

Enumerations

AcrylicBackgroundSourceBackground Sources for Acrylic.
AlignmentXDescribes how content is positioned horizontally in a container.
AlignmentYDescribes how content is positioned vertically in a container.
BackgroundSizingDefines how a background is drawn relative to its border.
BaselineAlignmentEnum specifying where a box should be positioned Vertically
BrushMappingMode 
EdgeMode 
FillRule 
FlowDirectionThe 'flow-direction' property specifies whether the primary text advance direction shall be left-to-right or right-to-left.
FontSimulationsSpecifies algorithmic style simulations to be applied to the typeface. Bold and oblique simulations can be combined via bitwise OR operation.
FontStretchFontStretch describes relative change from the normal aspect ratio as specified by a font designer for the glyphs in a font.
FontStyleDefines the available font styles.
FontWeightDefines a set of predefined font weights.
GeometryCombineMode 
GradientSpreadMethod 
ImmediateDrawingContext.PushedState.PushedStateType 
PenLineCap 
PenLineJoin 
StretchDescribes how content is resized to fill its allocated space.
StretchDirectionDescribes the type of scaling that can be used when scaling content.
SweepDirectionDefines the direction an which elliptical arc is drawn.
TextAlignmentDefines how text is aligned.
TextDecorationLocationSpecifies the vertical position of a TextDecoration object.
TextDecorationUnitSpecifies the unit type of either a StrokeOffset or a StrokeThickness value.
TextRenderingMode 
TextWrappingControls the wrapping mode of text.
TileModeDescribes how a TileBrush is tiled.