Jellyfin.Drawing.Skia
Static helper class used to draw percentage-played indicators on images.
Draw a percentage played indicator on a canvas.
The canvas to draw the indicator on.
The size of the image being drawn on.
The percentage played to display with the indicator.
Image encoder that uses to manipulate images.
The default sampling options, equivalent to old high quality filter settings when upscaling.
The sampling options, used for downscaling images, equivalent to old high quality filter settings when not upscaling.
Initializes a new instance of the class.
The application logger.
The application paths.
Gets the default typeface to use.
Check if the native lib is available.
True if the native lib is available, otherwise false.
Convert a to a .
The format to convert.
The converted format.
The path is not valid.
The path is null.
The path is not valid.
Decode an image.
The filepath of the image to decode.
Whether to force clean the bitmap.
The orientation of the image.
The detected origin of the image.
The resulting bitmap of the image.
Resizes an image on the CPU, by utilizing a surface and canvas.
The convolutional matrix kernel used in this resize function gives a (light) sharpening effect.
This technique is similar to effect that can be created using for example the [Convolution matrix filter in GIMP](https://docs.gimp.org/2.10/en/gimp-filter-convolution-matrix.html).
The source bitmap.
This specifies the target size and other information required to create the surface.
This enables anti-aliasing on the SKPaint instance.
This enables dithering on the SKPaint instance.
The resized image.
Return the typeface that contains the glyph for the given character.
The text character.
The typeface contains the character.
The SkiaSharp extensions.
Draws an SKBitmap on the canvas with specified SkSamplingOptions.
The SKCanvas to draw on.
The SKBitmap to draw.
The destination SKRect.
The SKSamplingOptions to use for rendering.
Optional SKPaint to apply additional effects or styles.
Draws an SKBitmap on the canvas at the specified coordinates with the given SkSamplingOptions.
The SKCanvas to draw on.
The SKBitmap to draw.
The x-coordinate where the bitmap will be drawn.
The y-coordinate where the bitmap will be drawn.
The SKSamplingOptions to use for rendering.
Optional SKPaint to apply additional effects or styles.
Draws an SKBitmap on the canvas using a specified source rectangle, destination rectangle,
and optional paint, with the given SkSamplingOptions.
The SKCanvas to draw on.
The SKBitmap to draw.
The source SKRect defining the portion of the bitmap to draw.
The destination SKRect defining the area on the canvas where the bitmap will be drawn.
The SKSamplingOptions to use for rendering.
Optional SKPaint to apply additional effects or styles.
Class containing helper methods for working with SkiaSharp.
Gets the next valid image as a bitmap.
The current skia encoder.
The list of image paths.
The current checked index.
The new index.
A valid bitmap, or null if no bitmap exists after currentIndex.
Used to build the splashscreen.
Initializes a new instance of the class.
The SkiaEncoder.
The logger.
Generate a splashscreen.
The poster paths.
The landscape paths.
The output path.
Generates a collage of posters and landscape pictures.
The poster paths.
The landscape paths.
The created collage as a bitmap.
Transform the collage in 3D space.
The bitmap to transform.
The transformed image.
Used to build collages of multiple images arranged in vertical strips.
Initializes a new instance of the class.
The encoder to use for building collages.
Pattern:
\p{IsArabic}|\p{IsArmenian}|\p{IsHebrew}|\p{IsSyriac}|\p{IsThaana}
Explanation:
○ Match a character in the set [\u0530-\u074F\u0780-\u07BF].
Check which format an image has been encoded with using its filename extension.
The path to the image to get the format for.
The image format.
Create a square collage.
The paths of the images to use in the collage.
The path at which to place the resulting collage image.
The desired width of the collage.
The desired height of the collage.
Create a thumb collage.
The paths of the images to use in the collage.
The path at which to place the resulting image.
The desired width of the collage.
The desired height of the collage.
The name of the library to draw on the collage.
Draw shaped text with given SKPaint.
If not null, draw text to this canvas, otherwise only measure the text width.
x position of the canvas to draw text.
y position of the canvas to draw text.
The text to draw.
The SKPaint to style the text.
The SKFont to style the text.
The alignment of the text. Default aligns to left.
The width of the text.
Draw shaped text with given SKPaint, search defined type faces to render as many texts as possible.
If not null, draw text to this canvas, otherwise only measure the text width.
x position of the canvas to draw text.
y position of the canvas to draw text.
The text to draw.
The SKPaint to style the text.
The SKFont to style the text.
If true, render from right to left.
The width of the text.
Static helper class for drawing unplayed count indicators.
The x-offset used when drawing an unplayed count indicator.
Draw an unplayed count indicator in the top right corner of a canvas.
The canvas to draw the indicator on.
The dimensions of the image to draw the indicator on. The width is used to determine the x-position of the
indicator.
The number to draw in the indicator.
Custom -derived type for the IsRtlTextRegex method.
Cached, thread-safe singleton instance.
Initializes the instance.
Provides a factory for creating instances to be used by methods on .
Creates an instance of a used by methods on .
Provides the runner that contains the custom logic implementing the specified regular expression.
Scan the starting from base.runtextstart for the next match.
The text being scanned by the regular expression.
Search starting from base.runtextpos for the next location a match could possibly start.
The text being scanned by the regular expression.
true if a possible match was found; false if no more matches are possible.
Helper methods used by generated -derived implementations.
Default timeout value set in , or if none was set.
Whether is non-infinite.
Finds the next index of any character that matches a character in the set [\u0530-\u074F\u0780-\u07BF].