Namespace Avalonia.Media
Classes
- Brush
Describes how an area is painted.
- BrushConverter
Creates an IBrush from a string representation.
- BrushExtensions
Extension methods for brush classes.
- Brushes
Predefined brushes.
- 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.
- Drawing
Abstract class that describes a 2-D drawing.
- DrawingBrush
Paints an area with an Drawing.
- DropShadowDirectionEffect
This class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
- EllipseGeometry
Represents the geometry of an ellipse or circle.
- FontFallback
Font fallback definition that is used to override the default fallback lookup of the current FontManager
- 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.
- FormattedText
The FormattedText class is targeted at programmers needing to add some simple text to a MIL visual.
- Geometry
Defines a geometric shape.
- 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.
- GlyphRun
Represents a sequence of glyphs from a single face of a single font at a single size, and with a single rendering style.
- 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.
- LineGeometry
Represents the geometry of a line.
- LinearGradientBrush
A brush that draws with a linear gradient.
- MediaExtensions
Provides extension methods for Avalonia media.
- PathMarkupParser
Parses a path markup string.
- PathSegments
Represents a collection of PathSegment objects that can be individually accessed by index.
- Pen
Describes how a stroke is drawn.
- 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.
- 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.
- TextTrimming
Describes how text is trimmed when it overflows.
- TileBrush
Base class for brushes which display repeating images.
- TransformConverter
Creates an ITransform from a string representation.
- TransformExtensions
Extension methods for transform classes.
- TranslateTransform
Translates (moves) an Visual.
- VisualBrush
Paints an area with an Visual.
Structs
- CharacterHit
Represents information about a character hit within a glyph run.
- Color
An ARGB color.
- FontMetrics
The font metrics is holding information about a font's ascent, descent, etc. in design em units.
- 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.
- TextHitTestResult
Holds a hit test result from a TextLayout.
- Typeface
Represents a typeface.
- UnicodeRange
The UnicodeRange descripes a set of Unicode characters.
Interfaces
- 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.
- IExperimentalAcrylicMaterial
Experimental Interface for producing Acrylic-like materials.
- 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.
- IImmutableBrush
Represents an immutable brush which can be safely used with various threading contexts
- IImmutableSolidColorBrush
Fills an area with a solid color.
- ILinearGradientBrush
A brush that draws with a linear gradient.
- IMutableExperimentalAcrylicMaterial
Represents a mutable brush which can return an immutable clone of itself.
- IPen
Describes how a stroke is drawn.
- IRadialGradientBrush
Paints an area with a radial gradient.
- ISolidColorBrush
Fills an area with a solid color.
- ITileBrush
A brush which displays a repeating image.
Enums
- 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
- 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.
- 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.
- TextWrapping
Controls the wrapping mode of text.