Skip to main content
HomePlaygroundGuideAPIBenchmarks
↑↓ navigate↵ openesc close

Guide navigation

API
  • 01Overview
  • 02All symbols A-Z
Subsystems
  • 01Core
  • 02Drawing / Rendering
  • 03UI
  • 04Input
  • 05Audio
  • 06Animation
  • 07Assets
  • 08Math
  • 09Extensions
  • 10Debug / Tooling
  • 11Particles (official extension)
  • 12Tilemap (official extension)
  • 13Tiled (official extension)
  • 14Physics (official extension)
  • 15Tilemap physics (official extension)
  • 16Lighting (official extension)
  • 17Pathfinding (official extension)
  • 18Aseprite (official extension)
  • 19LDtk (official extension)
Drawing / Rendering
  • 01AbstractText
  • 02AnimatedSprite
  • 03AnimatedSpriteClipDefinition
  • 04AnimatedSpritePlayOptions
  • 05AnyMaterial
  • 06AnyMeshMaterial
  • 07AnyShader
  • 08AnySpriteMaterial
  • 09AtlasMode
  • 10AtlasPage
  • 11AttributeType
  • 12BackendRenderPass
  • 13BitmapText
  • 14BitmapTextOptions
  • 15BlendModes
  • 16BloomFilter
  • 17BloomFilterOptions
  • 18BlurFilter
  • 19BlurFilterOptions
  • 20BmFont
  • 21BmFontAdapter
  • 22BmFontChar
  • 23BmFontData
  • 24BufferTypes
  • 25BufferUsage
  • 26CallbackRenderPass
  • 27CallbackRenderPassOptions
  • 28CaptureOptions
  • 29ColorMatrixEntries
  • 30ColorMatrixFilter
  • 31ColorTextureFormat
  • 32CompressedBlockLayout
  • 33CompressedTexture
  • 34CompressedTextureFormat
  • 35CompressedTextureLevel
  • 36CompressedTextureOptions
  • 37CompressedTexturePayload
  • 38Container
  • 39DataTexture
  • 40DataTextureBuffer
  • 41DataTextureDirtyRegion
  • 42DataTextureFormat
  • 43DataTextureOptions
  • 44DepthTexture
  • 45DisplacementFilter
  • 46DisplacementFilterOptions
  • 47Drawable
  • 48DrawBatchOptions
  • 49DrawContext
  • 50DrawGeometryOptions
  • 51DropShadowFilter
  • 52DropShadowFilterOptions
  • 53Filter
  • 54FilterPass
  • 55FilterPassOptions
  • 56FontFamily
  • 57FontFormat
  • 58FontRegistry
  • 59FontStyle
  • 60FontTypefaceKey
  • 61FontVariant
  • 62FontVariantKey
  • 63FontWeight
  • 64FragmentOutputCounts
  • 65Geometry
  • 66GeometryAttribute
  • 67GeometryOptions
  • 68GeometryUsage
  • 69GlyphAtlas
  • 70GlyphInfo
  • 71GlyphKey
  • 72GlyphMetrics
  • 73GlyphPlacement
  • 74GlyphProvider
  • 75Gradient
  • 76GradientStop
  • 77GradientToTextureOptions
  • 78GradientType
  • 79Graphics
  • 80GraphicsPath
  • 81HitArea
  • 82HTMLText
  • 83HTMLTextOptions
  • 84LayoutOptions
  • 85LinearGradient
  • 86LineShaper
  • 87LutFilter
  • 88LutFilterOptions
  • 89LutMode
  • 90MaskSource
  • 91Material
  • 92MaterialOptions
  • 93MaterialRawUniformName
  • 94MaterialUniformBlocksView
  • 95MaterialUniformsView
  • 96MaterialUniformValues
  • 97Mesh
  • 98MeshIndexArray
  • 99MeshIndexFormat
  • 100MeshMaterial
  • 101MeshMaterialOptions
  • 102MeshOptions
  • 103MultiRenderTarget
  • 104MultiRenderTargetOptions
  • 105NineSliceInsets
  • 106NineSliceModes
  • 107NineSliceOptions
  • 108NineSliceSprite
  • 109PassContext
  • 110PathContour
  • 111PixelData
  • 112PixelRead
  • 113PixelReader
  • 114PixelReaderOptions
  • 115PixelSnapMode
  • 116RadialGradient
  • 117ReadPixelsOptions
  • 118RenderBackendType
  • 119RenderBatch
  • 120RenderError
  • 121RenderErrorCode
  • 122RenderErrorOptions
  • 123RenderingContext
  • 124RenderingPrimitives
  • 125RenderNode
  • 126RenderNodePass
  • 127RenderNodePassOptions
  • 128RenderOptions
  • 129RenderPass
  • 130RenderPassOptions
  • 131RenderPipeline
  • 132RenderStats
  • 133RenderTarget
  • 134RenderTexture
  • 135RenderTextureOptions
  • 136RenderToOptions
  • 137RepeatFit
  • 138RepeatingSprite
  • 139RepeatingSpriteOptions
  • 140RepeatMode
  • 141RepeatPlan
  • 142RepeatSegment
  • 143ResolvedTextGradient
  • 144RetainedContainer
  • 145SamplerOptions
  • 146ScaleModes
  • 147Shader
  • 148ShaderFilter
  • 149ShaderFilterBackendError
  • 150ShaderFilterBlocksView
  • 151ShaderFilterLanguage
  • 152ShaderFilterOptions
  • 153ShaderFilterRawUniformName
  • 154ShaderFilterSourceOptions
  • 155ShaderFilterUniformsView
  • 156ShaderFilterUniformValue
  • 157ShaderFilterUniformValues
  • 158ShaderOptions
  • 159ShaderPrimitives
  • 160ShapingMode
  • 161SolidTexel
  • 162Sprite
  • 163SpriteMaterial
  • 164Spritesheet
  • 165SpritesheetData
  • 166SpritesheetFrame
  • 167StyleChangeHint
  • 168Text
  • 169TextAlignment
  • 170TextFontMetrics
  • 171TextGradient
  • 172TextLayoutResult
  • 173TextLayoutStyle
  • 174TextLineMetrics
  • 175TextOptions
  • 176TextPageQuads
  • 177TextSize
  • 178TextStyle
  • 179TextStyleOptions
  • 180TextTransform
  • 181Texture
  • 182TextureFormat
  • 183TextureOptions
  • 184TextureRegion
  • 185TextureRegionInsets
  • 186TextureRegionOptions
  • 187TextureUploadOptions
  • 188Topology
  • 189UniformAccessorFor
  • 190UniformArray
  • 191UniformArrayAccessor
  • 192UniformArrayElement
  • 193UniformArrayLayout
  • 194UniformBlock
  • 195UniformBlockData
  • 196UniformBlockDataRecord
  • 197UniformBlockInitialValues
  • 198UniformBlockLayout
  • 199UniformBlockRecord
  • 200UniformFieldAccessors
  • 201UniformFieldDeclaration
  • 202UniformFieldOptions
  • 203UniformFields
  • 204UniformFieldType
  • 205UniformInput
  • 206UniformLeafLayout
  • 207UniformMat3Input
  • 208UniformMat4Input
  • 209UniformMatrix3
  • 210UniformMatrix4
  • 211UniformMemberLayout
  • 212UniformNodeLayout
  • 213UniformScalar
  • 214UniformSchemaLayout
  • 215UniformSchemaOptions
  • 216UniformStruct
  • 217UniformStructAccessor
  • 218UniformStructInput
  • 219UniformStructLayout
  • 220UniformStructWriter
  • 221UniformType
  • 222UniformValue
  • 223UniformVec2Input
  • 224UniformVec3Input
  • 225UniformVec4Input
  • 226UniformVector2
  • 227UniformVector3
  • 228UniformVector4
  • 229Video
  • 230View
  • 231ViewFollowOptions
  • 232ViewFollowTarget
  • 233ViewOptions
  • 234ViewShakeOptions
  • 235WrapModes

API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceNineSliceModes

@codexo/exojs / rendering / stable

Per-section fill mode overrides for a nine-slice sprite.

8
props
0
methods
0
events
Import
import { NineSliceModes } from '@codexo/exojs'

Per-section fill mode overrides for a nine-slice sprite.

Properties8
bottom?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
center?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
centerFit?: RepeatFitHow a `'repeat'` or `'mirror-repeat'` run fits its destination span exactly.
edgeFit?: RepeatFitHow a `'repeat'` or `'mirror-repeat'` run fits its destination span exactly.
edges?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
left?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
right?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
top?: RepeatModeHow a scalable sprite fills its destination span. Shared by NineSliceSprite edges/center and RepeatingSprite.
Source
src/rendering/sprite/nineSlice.ts
On this page
  • Import
  • Properties
  • Source
Tools
  • API index
  • All symbols A-Z
  • Read Guide
  • Try Playground
  • Source link