You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
13 KiB

<application>
<component name="Translation.Cache">
<option name="lastTrimTime" value="1759976873233" />
</component>
<component name="Translation.OpenAISettings">
<option name="OPEN_AI">
<open-ai>
<option name="API_PATH" value="/api/paas/v4/chat/completions" />
<option name="CUSTOM_MODEL" value="glm-4-flash" />
<option name="ENDPOINT" value="https://open.bigmodel.cn" />
<option name="USE_CUSTOM_MODEL" value="true" />
</open-ai>
</option>
</component>
<component name="Translation.Settings">
<option name="primaryLanguage" value="CHINESE_SIMPLIFIED" />
<option name="translator" value="OPEN_AI" />
</component>
<component name="Translation.States">
<option name="translationDialogHeight" value="260" />
<option name="translationDialogLocationX" value="3173" />
<option name="translationDialogLocationY" value="643" />
<histories>
<item value="Synchronously creates a handle to an image of this picture. {@template dart.ui.painting.Picture.toImageSync} The returned image will be `width` pixels wide and `height` pixels high. The picture is rasterized within the 0 (left), 0 (top), `width` (right), `height` (bottom) bounds. Content outside these bounds is clipped. The image object is created and returned synchronously, but is rasterized asynchronously. If the rasterization fails, an exception will be thrown when the image is drawn to a [Canvas]. If a GPU context is available, this image will be created as GPU resident and not copied back to the host. This means the image will be more efficient to draw. If no GPU context is available, the image will be rasterized on the CPU. {@endtemplate}" />
<item value="Using [ImageByteFormat.rawRgba] on an image in the color space [ColorSpace.extendedSRGB] will result in the gamut being squished to fit into the sRGB gamut, resulting in the loss of wide-gamut colors." />
<item value="Either the [width] and [height] arguments should be specified, or the widget should be placed in a context that sets tight layout constraints. Otherwise, the image dimensions will change as the image is loaded, which will result in ugly layout changes." />
<item value="This only accepts compressed image formats (e.g. PNG). Uncompressed formats like rawRgba (the default format of [dart:ui.Image.toByteData]) will lead to exceptions." />
<item value="Creates a widget that displays an [ImageStream] obtained from a [Uint8List]. The `bytes` argument specifies encoded image bytes, which can be encoded in any of the following supported image formats: {@macro dart.ui.imageFormats}" />
<item value="Unencoded bytes, in the image's existing format. For example, a grayscale image may use a single 8-bit channel for each pixel." />
<item value="A loss-less compression format for images. This format is well suited for images with hard edges, such as screenshots or sprites, and images with text. Transparency is supported. The PNG format supports images up to 2,147,483,647 pixels in either dimension, though in practice available memory provides a more immediate limitation on maximum image size." />
<item value="Raw RGBA format. Unencoded bytes, in RGBA row-primary form with premultiplied alpha, 8 bits per channel." />
<item value="Parses the [host] as an IP version 4 (IPv4) address, returning the address as a list of 4 bytes in network byte order (big endian). Throws a [FormatException] if [host] is not a valid IPv4 address representation." />
<item value="The port part of the authority component. The value is the default port if there is no port number in the authority component. That's 80 for http, 443 for https, and 0 for everything else." />
<item value="gapless playback" />
<item value="Each pixel is 32 bits, with the highest 8 bits encoding red, the next 8 bits encoding green, the next 8 bits encoding blue, and the lowest 8 bits encoding alpha. Premultiplied alpha is used." />
<item value="Creates an image descriptor from raw image pixels. The `pixels` parameter is the pixel data. They are packed in bytes in the order described by `pixelFormat`, then grouped in rows, from left to right, then top to bottom. The `rowBytes` parameter is the number of bytes consumed by each row of pixels in the data buffer. If unspecified, it defaults to `width` multiplied by the number of bytes per pixel in the provided `format`. Not async because there's no expensive work to do here." />
<item value="A descriptor of data that can be turned into an [Image] via a [Codec]. Use this class to determine the height, width, and byte size of image data before decoding it." />
<item value="The returned future can complete with an error if the image decoding has failed." />
<item value="Scaling the image to larger than its intrinsic size should usually be avoided, since it causes the image to use more memory than necessary. Instead, prefer scaling the [Canvas] transform. If the image must be scaled up, the `allowUpscaling` parameter must be set to true." />
<item value="The `targetWidth` and `targetHeight` arguments specify the size of the output image, in image pixels. If they are not equal to the intrinsic dimensions of the image, then the image will be scaled after being decoded. If the `allowUpscaling` parameter is not set to true, both dimensions will be capped at the intrinsic dimensions of the image, even if only one of them would have exceeded those intrinsic dimensions. If exactly one of these two arguments is specified, then the aspect ratio will be maintained while forcing the image to match the other given dimension. If neither is specified, then the image maintains its intrinsic size." />
<item value="{@template dart.ui.imageFormats} JPEG, PNG, GIF, Animated GIF, WebP, Animated WebP, BMP, and WBMP. Additional formats may be supported by the underlying platform. Flutter will attempt to call platform API to decode unrecognized formats, and if the platform API supports decoding the image Flutter will be able to render it. {@endtemplate}" />
<item value="The `list` parameter is the binary image data (e.g a PNG or GIF binary data). The data can be for either static or animated images. The following image formats are supported:" />
<item value="This method is a convenience wrapper around the [ImageDescriptor] API, and using [ImageDescriptor] directly is preferred since it allows the caller to make better determinations about how and whether to use the `targetWidth` and `targetHeight` parameters." />
<item value="Instantiates an image [Codec]." />
<item value="allow upscaling" />
<item value="Creates an image from a list of bytes. This function attempts to interpret the given bytes an image. If successful, the returned [Future] resolves to the decoded image. Otherwise, the [Future] resolves to null. If the image is animated, this returns the first frame. Consider [instantiateImageCodec] if support for animated images is necessary. This function differs from [decodeImageFromList] in that it defers to [PaintingBinding.instantiateImageCodecWithSize], and therefore can be mocked in tests." />
<item value="Performs a connect to the message broker with an optional username and password for the purposes of authentication. If a username and password are supplied these will override any previously set in a supplied connection message so if you supply your own connection message and use the authenticateAs method to set these parameters do not set them again here." />
<item value="场景" />
<item value="AMSTD control joy widget" />
<item value="The flutter tool converts all asset keys with spaces into URI encoded paths (replacing ' ' with '%20', for example). We perform the same encoding here so that users can load assets with the same key they have written in the pubspec." />
<item value="Creates a fragment program from the asset with key [assetKey]. The asset must be a file produced as the output of the `impellerc` compiler. The constructed object should then be reused via the [fragmentShader] method to create [Shader] objects that can be used by [Paint.shader]." />
<item value="Sets the float uniform at [index] to [value]. All uniforms defined in a fragment shader that are not samplers must be set through this method. This includes floats and vec2, vec3, and vec4. The correct index for each uniform is determined by the order of the uniforms as defined in the fragment program, ignoring any samplers. For data types that are composed of multiple floats such as a vec4, more than one call to [setFloat] is required." />
<item value="A greyscale color filter (values based on the [Filter Effects Spec](https:www.w3.orgTRfilter-effects-1grayscaleEquivalent)): ```dart const ColorFilter greyscale = ColorFilter.matrix(&lt;double&gt;[ 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0, 0, 0, 1, 0, ]);" />
<item value="const ColorFilter greyscale = ColorFilter.matrix(&lt;double&gt;[ 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0, 0, 0, 1, 0, ]);" />
<item value="A sepia-toned color matrix (values based on the [Filter Effects Spec](https:www.w3.orgTRfilter-effects-1sepiaEquivalent)): ```dart const ColorFilter sepia = ColorFilter.matrix(&lt;double&gt;[ 0.393, 0.769, 0.189, 0, 0, 0.349, 0.686, 0.168, 0, 0, 0.272, 0.534, 0.131, 0, 0, 0, 0, 0, 1, 0, ]); ```" />
<item value="An inversion color matrix: ```dart const ColorFilter invert = ColorFilter.matrix(&lt;double&gt;[ -1, 0, 0, 0, 255, 0, -1, 0, 0, 255, 0, 0, -1, 0, 255, 0, 0, 0, 1, 0, ]);" />
<item value="The matrix is in row-major order and the translation column is specified in unnormalized, 0...255, space. For example, the identity matrix is:" />
<item value="Every pixel's color value, represented as an `[R, G, B, A]`, is matrix multiplied to create a new color: | R' | | a00 a01 a02 a03 a04 | | R | | G' | | a10 a11 a12 a13 a14 | | G | | B' | = | a20 a21 a22 a23 a24 | | B | | A' | | a30 a31 a32 a33 a34 | | A | | 1 | | 0 0 0 0 1 | | 1 |" />
<item value="Construct a color filter from a 4x5 row-major matrix. The matrix is interpreted as a 5x5 matrix, where the fifth row is the identity configuration." />
<item value="A [Shader] generated from a [FragmentProgram]. Instances of this class can be obtained from the [FragmentProgram.fragmentShader] method. The float uniforms list is initialized to the size expected by the shader and is zero-filled. Uniforms of float type can then be set by calling [setFloat]. Sampler uniforms are set by calling [setImageSampler]. A [FragmentShader] can be re-used, and this is an efficient way to avoid allocating and re-initializing the uniform buffer and samplers. However, if two [FragmentShader] objects with different float uniforms or samplers are required to exist simultaneously, they must be obtained from two different calls to [FragmentProgram.fragmentShader]." />
<item value="A shader (as used by [Paint.shader]) that tiles an image." />
<item value="For example, [ShaderMask] can be used to gradually fade out the edge of a child by using a [ui.Gradient.linear] mask." />
<item value="A widget that applies a mask generated by a [Shader] to its child." />
<item value="[Opacity], which can apply a uniform alpha effect to its child. [CustomPaint], which lets you draw directly on the canvas. [DecoratedBox], for another approach at decorating child widgets. [BackdropFilter], which applies an image filter to the background." />
<item value="custom paint" />
<item value="A filter operation to apply to a raster image. See also: [BackdropFilter], a widget that applies [ImageFilter] to its rendering. [ImageFiltered], a widget that applies [ImageFilter] to its children. [SceneBuilder.pushBackdropFilter], which is the low-level API for using this class as a backdrop filter. [SceneBuilder.pushImageFilter], which is the low-level API for using this class as a child layer filter." />
<item value="A description of a color filter to apply when drawing a shape or compositing a layer with a particular [Paint]. A color filter is a function that takes two colors, and outputs one color. When applied during compositing, it is independently applied to each pixel of the layer being drawn before the entire layer is merged with the destination. Instances of this class are used with [Paint.colorFilter] on [Paint] objects." />
<item value="immutable" />
<item value="Raw straight RGBA format. Unencoded bytes, in RGBA row-primary form with straight alpha, 8 bits per channel." />
<item value="PNG format. A loss-less compression format for images. This format is well suited for images with hard edges, such as screenshots or sprites, and images with text. Transparency is supported. The PNG format supports images up to 2,147,483,647 pixels in either dimension, though in practice available memory provides a more immediate limitation on maximum image size." />
<item value="migration" />
<item value="Calculate offset of the stick based on the stick drag start position and the current stick position." />
<item value="Resets the [elapsed] count to zero. This method does not stop or start the [Stopwatch]." />
</histories>
<option name="languageScores">
<map>
<entry key="CHINESE_SIMPLIFIED" value="60" />
<entry key="ENGLISH" value="60" />
</map>
</option>
</component>
</application>