Documentation ¶
Overview ¶
Render, compose, and animate visual elements.
Index ¶
- Variables
- func Animation_DefaultValueForKey(key string) objc.Object
- func EmitterCell_DefaultValueForKey(key string) objc.Object
- func Layer_CornerCurveExpansionFactor(curve LayerCornerCurve) float64
- func Layer_DefaultValueForKey(key string) objc.Object
- func Layer_NeedsDisplayForKey(key string) bool
- func TiledLayer_FadeDuration() corefoundation.TimeInterval
- func Transaction_AnimationDuration() corefoundation.TimeInterval
- func Transaction_Begin()
- func Transaction_Commit()
- func Transaction_CompletionBlock() func()
- func Transaction_DisableActions() bool
- func Transaction_Flush()
- func Transaction_Lock()
- func Transaction_SetAnimationDuration(dur corefoundation.TimeInterval)
- func Transaction_SetAnimationTimingFunction(function IMediaTimingFunction)
- func Transaction_SetCompletionBlock(block func())
- func Transaction_SetDisableActions(flag bool)
- func Transaction_SetValueForKey(anObject objc.IObject, key string)
- func Transaction_Unlock()
- func Transaction_ValueForKey(key string) objc.Object
- type ActionObject
- type Animation
- func (a_ Animation) Delegate() AnimationDelegateObject
- func (a_ Animation) FadeInDuration() float64
- func (a_ Animation) FadeOutDuration() float64
- func (a_ Animation) Init() Animation
- func (a_ Animation) IsRemovedOnCompletion() bool
- func (a_ Animation) PreferredFrameRateRange() FrameRateRange
- func (a_ Animation) SetDelegate(value PAnimationDelegate)
- func (a_ Animation) SetDelegateObject(valueObject objc.IObject)
- func (a_ Animation) SetFadeInDuration(value float64)
- func (a_ Animation) SetFadeOutDuration(value float64)
- func (a_ Animation) SetPreferredFrameRateRange(value FrameRateRange)
- func (a_ Animation) SetRemovedOnCompletion(value bool)
- func (a_ Animation) SetTimingFunction(value IMediaTimingFunction)
- func (a_ Animation) SetUsesSceneTimeBase(value bool)
- func (a_ Animation) ShouldArchiveValueForKey(key string) bool
- func (a_ Animation) TimingFunction() MediaTimingFunction
- func (a_ Animation) UsesSceneTimeBase() bool
- type AnimationCalculationMode
- type AnimationDelegate
- func (di *AnimationDelegate) AnimationDidStart(anim Animation)
- func (di *AnimationDelegate) AnimationDidStopFinished(anim Animation, flag bool)
- func (di *AnimationDelegate) HasAnimationDidStart() bool
- func (di *AnimationDelegate) HasAnimationDidStopFinished() bool
- func (di *AnimationDelegate) SetAnimationDidStart(f func(anim Animation))
- func (di *AnimationDelegate) SetAnimationDidStopFinished(f func(anim Animation, flag bool))
- type AnimationDelegateObject
- type AnimationGroup
- type AnimationRotationMode
- type AutoresizingMask
- type BasicAnimation
- func (b_ BasicAnimation) ByValue() objc.Object
- func (b_ BasicAnimation) FromValue() objc.Object
- func (b_ BasicAnimation) Init() BasicAnimation
- func (b_ BasicAnimation) SetByValue(value objc.IObject)
- func (b_ BasicAnimation) SetFromValue(value objc.IObject)
- func (b_ BasicAnimation) SetToValue(value objc.IObject)
- func (b_ BasicAnimation) ToValue() objc.Object
- type Constraint
- func ConstraintFrom(ptr unsafe.Pointer) Constraint
- func Constraint_ConstraintWithAttributeRelativeToAttribute(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute) Constraint
- func Constraint_ConstraintWithAttributeRelativeToAttributeOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, c float64) Constraint
- func Constraint_ConstraintWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, ...) Constraint
- func NewConstraint() Constraint
- func NewConstraintWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, ...) Constraint
- func (c_ Constraint) Attribute() ConstraintAttribute
- func (c_ Constraint) Init() Constraint
- func (c_ Constraint) InitWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, ...) Constraint
- func (c_ Constraint) Offset() float64
- func (c_ Constraint) Scale() float64
- func (c_ Constraint) SourceAttribute() ConstraintAttribute
- func (c_ Constraint) SourceName() string
- type ConstraintAttribute
- type ConstraintLayoutManager
- type CornerMask
- type EDRMetadata
- func EDRMetadataFrom(ptr unsafe.Pointer) EDRMetadata
- func EDRMetadata_HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale(displayData []byte, contentData []byte, scale float32) EDRMetadata
- func EDRMetadata_HDR10MetadataWithMinLuminanceMaxLuminanceOpticalOutputScale(minNits float32, maxNits float32, scale float32) EDRMetadata
- func EDRMetadata_HLGMetadata() EDRMetadata
- func NewEDRMetadata() EDRMetadata
- type EdgeAntialiasingMask
- type EmitterCell
- func (e_ EmitterCell) AlphaRange() float32
- func (e_ EmitterCell) AlphaSpeed() float32
- func (e_ EmitterCell) BirthRate() float32
- func (e_ EmitterCell) BlueRange() float32
- func (e_ EmitterCell) BlueSpeed() float32
- func (e_ EmitterCell) Color() coregraphics.ColorRef
- func (e_ EmitterCell) Contents() objc.Object
- func (e_ EmitterCell) ContentsRect() coregraphics.Rect
- func (e_ EmitterCell) ContentsScale() float64
- func (e_ EmitterCell) EmissionLatitude() float64
- func (e_ EmitterCell) EmissionLongitude() float64
- func (e_ EmitterCell) EmissionRange() float64
- func (e_ EmitterCell) EmitterCells() []EmitterCell
- func (e_ EmitterCell) GreenRange() float32
- func (e_ EmitterCell) GreenSpeed() float32
- func (e_ EmitterCell) Init() EmitterCell
- func (e_ EmitterCell) IsEnabled() bool
- func (e_ EmitterCell) Lifetime() float32
- func (e_ EmitterCell) LifetimeRange() float32
- func (e_ EmitterCell) MagnificationFilter() string
- func (e_ EmitterCell) MinificationFilter() string
- func (e_ EmitterCell) MinificationFilterBias() float32
- func (e_ EmitterCell) Name() string
- func (e_ EmitterCell) RedRange() float32
- func (e_ EmitterCell) RedSpeed() float32
- func (e_ EmitterCell) Scale() float64
- func (e_ EmitterCell) ScaleRange() float64
- func (e_ EmitterCell) ScaleSpeed() float64
- func (e_ EmitterCell) SetAlphaRange(value float32)
- func (e_ EmitterCell) SetAlphaSpeed(value float32)
- func (e_ EmitterCell) SetBirthRate(value float32)
- func (e_ EmitterCell) SetBlueRange(value float32)
- func (e_ EmitterCell) SetBlueSpeed(value float32)
- func (e_ EmitterCell) SetColor(value coregraphics.ColorRef)
- func (e_ EmitterCell) SetContents(value objc.IObject)
- func (e_ EmitterCell) SetContentsRect(value coregraphics.Rect)
- func (e_ EmitterCell) SetContentsScale(value float64)
- func (e_ EmitterCell) SetEmissionLatitude(value float64)
- func (e_ EmitterCell) SetEmissionLongitude(value float64)
- func (e_ EmitterCell) SetEmissionRange(value float64)
- func (e_ EmitterCell) SetEmitterCells(value []IEmitterCell)
- func (e_ EmitterCell) SetEnabled(value bool)
- func (e_ EmitterCell) SetGreenRange(value float32)
- func (e_ EmitterCell) SetGreenSpeed(value float32)
- func (e_ EmitterCell) SetLifetime(value float32)
- func (e_ EmitterCell) SetLifetimeRange(value float32)
- func (e_ EmitterCell) SetMagnificationFilter(value string)
- func (e_ EmitterCell) SetMinificationFilter(value string)
- func (e_ EmitterCell) SetMinificationFilterBias(value float32)
- func (e_ EmitterCell) SetName(value string)
- func (e_ EmitterCell) SetRedRange(value float32)
- func (e_ EmitterCell) SetRedSpeed(value float32)
- func (e_ EmitterCell) SetScale(value float64)
- func (e_ EmitterCell) SetScaleRange(value float64)
- func (e_ EmitterCell) SetScaleSpeed(value float64)
- func (e_ EmitterCell) SetSpin(value float64)
- func (e_ EmitterCell) SetSpinRange(value float64)
- func (e_ EmitterCell) SetStyle(value foundation.Dictionary)
- func (e_ EmitterCell) SetVelocity(value float64)
- func (e_ EmitterCell) SetVelocityRange(value float64)
- func (e_ EmitterCell) SetXAcceleration(value float64)
- func (e_ EmitterCell) SetYAcceleration(value float64)
- func (e_ EmitterCell) SetZAcceleration(value float64)
- func (e_ EmitterCell) ShouldArchiveValueForKey(key string) bool
- func (e_ EmitterCell) Spin() float64
- func (e_ EmitterCell) SpinRange() float64
- func (e_ EmitterCell) Style() foundation.Dictionary
- func (e_ EmitterCell) Velocity() float64
- func (e_ EmitterCell) VelocityRange() float64
- func (e_ EmitterCell) XAcceleration() float64
- func (e_ EmitterCell) YAcceleration() float64
- func (e_ EmitterCell) ZAcceleration() float64
- type EmitterLayer
- func (e_ EmitterLayer) BirthRate() float32
- func (e_ EmitterLayer) EmitterCells() []EmitterCell
- func (e_ EmitterLayer) EmitterDepth() float64
- func (e_ EmitterLayer) EmitterMode() EmitterLayerEmitterMode
- func (e_ EmitterLayer) EmitterPosition() coregraphics.Point
- func (e_ EmitterLayer) EmitterShape() EmitterLayerEmitterShape
- func (e_ EmitterLayer) EmitterSize() coregraphics.Size
- func (e_ EmitterLayer) EmitterZPosition() float64
- func (e_ EmitterLayer) Init() EmitterLayer
- func (e_ EmitterLayer) InitWithLayer(layer objc.IObject) EmitterLayer
- func (e_ EmitterLayer) Lifetime() float32
- func (e_ EmitterLayer) ModelLayer() EmitterLayer
- func (e_ EmitterLayer) PresentationLayer() EmitterLayer
- func (e_ EmitterLayer) PreservesDepth() bool
- func (e_ EmitterLayer) RenderMode() EmitterLayerRenderMode
- func (e_ EmitterLayer) Scale() float32
- func (e_ EmitterLayer) Seed() int
- func (e_ EmitterLayer) SetBirthRate(value float32)
- func (e_ EmitterLayer) SetEmitterCells(value []IEmitterCell)
- func (e_ EmitterLayer) SetEmitterDepth(value float64)
- func (e_ EmitterLayer) SetEmitterMode(value EmitterLayerEmitterMode)
- func (e_ EmitterLayer) SetEmitterPosition(value coregraphics.Point)
- func (e_ EmitterLayer) SetEmitterShape(value EmitterLayerEmitterShape)
- func (e_ EmitterLayer) SetEmitterSize(value coregraphics.Size)
- func (e_ EmitterLayer) SetEmitterZPosition(value float64)
- func (e_ EmitterLayer) SetLifetime(value float32)
- func (e_ EmitterLayer) SetPreservesDepth(value bool)
- func (e_ EmitterLayer) SetRenderMode(value EmitterLayerRenderMode)
- func (e_ EmitterLayer) SetScale(value float32)
- func (e_ EmitterLayer) SetSeed(value int)
- func (e_ EmitterLayer) SetSpin(value float32)
- func (e_ EmitterLayer) SetVelocity(value float32)
- func (e_ EmitterLayer) Spin() float32
- func (e_ EmitterLayer) Velocity() float32
- type EmitterLayerEmitterMode
- type EmitterLayerEmitterShape
- type EmitterLayerRenderMode
- type FrameRateRange
- type GradientLayer
- func (g_ GradientLayer) Colors() []objc.Object
- func (g_ GradientLayer) EndPoint() coregraphics.Point
- func (g_ GradientLayer) Init() GradientLayer
- func (g_ GradientLayer) InitWithLayer(layer objc.IObject) GradientLayer
- func (g_ GradientLayer) Locations() []foundation.Number
- func (g_ GradientLayer) ModelLayer() GradientLayer
- func (g_ GradientLayer) PresentationLayer() GradientLayer
- func (g_ GradientLayer) SetColors(value []objc.IObject)
- func (g_ GradientLayer) SetEndPoint(value coregraphics.Point)
- func (g_ GradientLayer) SetLocations(value []foundation.INumber)
- func (g_ GradientLayer) SetStartPoint(value coregraphics.Point)
- func (g_ GradientLayer) SetType(value GradientLayerType)
- func (g_ GradientLayer) StartPoint() coregraphics.Point
- func (g_ GradientLayer) Type() GradientLayerType
- type GradientLayerType
- type IAnimation
- type IAnimationGroup
- type IBasicAnimation
- type IConstraint
- type IConstraintLayoutManager
- type IEDRMetadata
- type IEmitterCell
- type IEmitterLayer
- type IGradientLayer
- type IKeyframeAnimation
- type ILayer
- type IMediaTimingFunction
- type IMetalLayer
- type IOpenGLLayer
- type IPropertyAnimation
- type IRemoteLayerClient
- type IRemoteLayerServer
- type IRenderer
- type IReplicatorLayer
- type IScrollLayer
- type IShapeLayer
- type ISpringAnimation
- type ITextLayer
- type ITiledLayer
- type ITransaction
- type ITransformLayer
- type ITransition
- type IValueFunction
- type KeyframeAnimation
- func (k_ KeyframeAnimation) BiasValues() []foundation.Number
- func (k_ KeyframeAnimation) CalculationMode() AnimationCalculationMode
- func (k_ KeyframeAnimation) ContinuityValues() []foundation.Number
- func (k_ KeyframeAnimation) Init() KeyframeAnimation
- func (k_ KeyframeAnimation) KeyTimes() []foundation.Number
- func (k_ KeyframeAnimation) Path() unsafe.Pointer
- func (k_ KeyframeAnimation) RotationMode() AnimationRotationMode
- func (k_ KeyframeAnimation) SetBiasValues(value []foundation.INumber)
- func (k_ KeyframeAnimation) SetCalculationMode(value AnimationCalculationMode)
- func (k_ KeyframeAnimation) SetContinuityValues(value []foundation.INumber)
- func (k_ KeyframeAnimation) SetKeyTimes(value []foundation.INumber)
- func (k_ KeyframeAnimation) SetPath(value unsafe.Pointer)
- func (k_ KeyframeAnimation) SetRotationMode(value AnimationRotationMode)
- func (k_ KeyframeAnimation) SetTensionValues(value []foundation.INumber)
- func (k_ KeyframeAnimation) SetTimingFunctions(value []IMediaTimingFunction)
- func (k_ KeyframeAnimation) SetValues(value []objc.IObject)
- func (k_ KeyframeAnimation) TensionValues() []foundation.Number
- func (k_ KeyframeAnimation) TimingFunctions() []MediaTimingFunction
- func (k_ KeyframeAnimation) Values() []objc.Object
- type Layer
- func (l_ Layer) ActionForKey(event string) ActionObject
- func (l_ Layer) Actions() foundation.Dictionary
- func (l_ Layer) AddAnimationForKey(anim IAnimation, key string)
- func (l_ Layer) AddConstraint(c IConstraint)
- func (l_ Layer) AddSublayer(layer ILayer)
- func (l_ Layer) AffineTransform() coregraphics.AffineTransform
- func (l_ Layer) AllowsEdgeAntialiasing() bool
- func (l_ Layer) AllowsGroupOpacity() bool
- func (l_ Layer) AnchorPoint() coregraphics.Point
- func (l_ Layer) AnchorPointZ() float64
- func (l_ Layer) AnimationForKey(key string) Animation
- func (l_ Layer) AnimationKeys() []string
- func (l_ Layer) AutoresizingMask() AutoresizingMask
- func (l_ Layer) BackgroundColor() coregraphics.ColorRef
- func (l_ Layer) BackgroundFilters() []objc.Object
- func (l_ Layer) BorderColor() coregraphics.ColorRef
- func (l_ Layer) BorderWidth() float64
- func (l_ Layer) Bounds() coregraphics.Rect
- func (l_ Layer) CompositingFilter() objc.Object
- func (l_ Layer) Constraints() []Constraint
- func (l_ Layer) ContainsPoint(p coregraphics.Point) bool
- func (l_ Layer) Contents() objc.Object
- func (l_ Layer) ContentsAreFlipped() bool
- func (l_ Layer) ContentsCenter() coregraphics.Rect
- func (l_ Layer) ContentsFormat() LayerContentsFormat
- func (l_ Layer) ContentsGravity() LayerContentsGravity
- func (l_ Layer) ContentsRect() coregraphics.Rect
- func (l_ Layer) ContentsScale() float64
- func (l_ Layer) ConvertPointFromLayer(p coregraphics.Point, l ILayer) coregraphics.Point
- func (l_ Layer) ConvertPointToLayer(p coregraphics.Point, l ILayer) coregraphics.Point
- func (l_ Layer) ConvertRectFromLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect
- func (l_ Layer) ConvertRectToLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect
- func (l_ Layer) ConvertTimeFromLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval
- func (l_ Layer) ConvertTimeToLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval
- func (l_ Layer) CornerCurve() LayerCornerCurve
- func (l_ Layer) CornerRadius() float64
- func (l_ Layer) Delegate() LayerDelegateObject
- func (l_ Layer) Display()
- func (l_ Layer) DisplayIfNeeded()
- func (l_ Layer) DrawInContext(ctx coregraphics.ContextRef)
- func (l_ Layer) DrawsAsynchronously() bool
- func (l_ Layer) EdgeAntialiasingMask() EdgeAntialiasingMask
- func (l_ Layer) Filters() []objc.Object
- func (l_ Layer) Frame() coregraphics.Rect
- func (l_ Layer) HitTest(p coregraphics.Point) Layer
- func (l_ Layer) Init() Layer
- func (l_ Layer) InitWithLayer(layer objc.IObject) Layer
- func (l_ Layer) InsertSublayerAbove(layer ILayer, sibling ILayer)
- func (l_ Layer) InsertSublayerAtIndex(layer ILayer, idx int)
- func (l_ Layer) InsertSublayerBelow(layer ILayer, sibling ILayer)
- func (l_ Layer) IsDoubleSided() bool
- func (l_ Layer) IsGeometryFlipped() bool
- func (l_ Layer) IsHidden() bool
- func (l_ Layer) IsOpaque() bool
- func (l_ Layer) LayoutIfNeeded()
- func (l_ Layer) LayoutManager() LayoutManagerObject
- func (l_ Layer) LayoutSublayers()
- func (l_ Layer) MagnificationFilter() LayerContentsFilter
- func (l_ Layer) Mask() Layer
- func (l_ Layer) MaskedCorners() CornerMask
- func (l_ Layer) MasksToBounds() bool
- func (l_ Layer) MinificationFilter() LayerContentsFilter
- func (l_ Layer) MinificationFilterBias() float32
- func (l_ Layer) ModelLayer() Layer
- func (l_ Layer) Name() string
- func (l_ Layer) NeedsDisplay() bool
- func (l_ Layer) NeedsDisplayOnBoundsChange() bool
- func (l_ Layer) NeedsLayout() bool
- func (l_ Layer) Opacity() float32
- func (l_ Layer) Position() coregraphics.Point
- func (l_ Layer) PreferredFrameSize() coregraphics.Size
- func (l_ Layer) PresentationLayer() Layer
- func (l_ Layer) RasterizationScale() float64
- func (l_ Layer) RemoveAllAnimations()
- func (l_ Layer) RemoveAnimationForKey(key string)
- func (l_ Layer) RemoveFromSuperlayer()
- func (l_ Layer) RenderInContext(ctx coregraphics.ContextRef)
- func (l_ Layer) ReplaceSublayerWith(oldLayer ILayer, newLayer ILayer)
- func (l_ Layer) ResizeSublayersWithOldSize(size coregraphics.Size)
- func (l_ Layer) ResizeWithOldSuperlayerSize(size coregraphics.Size)
- func (l_ Layer) ScrollPoint(p coregraphics.Point)
- func (l_ Layer) ScrollRectToVisible(r coregraphics.Rect)
- func (l_ Layer) SetActions(value foundation.Dictionary)
- func (l_ Layer) SetAffineTransform(m coregraphics.AffineTransform)
- func (l_ Layer) SetAllowsEdgeAntialiasing(value bool)
- func (l_ Layer) SetAllowsGroupOpacity(value bool)
- func (l_ Layer) SetAnchorPoint(value coregraphics.Point)
- func (l_ Layer) SetAnchorPointZ(value float64)
- func (l_ Layer) SetAutoresizingMask(value AutoresizingMask)
- func (l_ Layer) SetBackgroundColor(value coregraphics.ColorRef)
- func (l_ Layer) SetBackgroundFilters(value []objc.IObject)
- func (l_ Layer) SetBorderColor(value coregraphics.ColorRef)
- func (l_ Layer) SetBorderWidth(value float64)
- func (l_ Layer) SetBounds(value coregraphics.Rect)
- func (l_ Layer) SetCompositingFilter(value objc.IObject)
- func (l_ Layer) SetConstraints(value []IConstraint)
- func (l_ Layer) SetContents(value objc.IObject)
- func (l_ Layer) SetContentsCenter(value coregraphics.Rect)
- func (l_ Layer) SetContentsFormat(value LayerContentsFormat)
- func (l_ Layer) SetContentsGravity(value LayerContentsGravity)
- func (l_ Layer) SetContentsRect(value coregraphics.Rect)
- func (l_ Layer) SetContentsScale(value float64)
- func (l_ Layer) SetCornerCurve(value LayerCornerCurve)
- func (l_ Layer) SetCornerRadius(value float64)
- func (l_ Layer) SetDelegate(value PLayerDelegate)
- func (l_ Layer) SetDelegateObject(valueObject objc.IObject)
- func (l_ Layer) SetDoubleSided(value bool)
- func (l_ Layer) SetDrawsAsynchronously(value bool)
- func (l_ Layer) SetEdgeAntialiasingMask(value EdgeAntialiasingMask)
- func (l_ Layer) SetFilters(value []objc.IObject)
- func (l_ Layer) SetFrame(value coregraphics.Rect)
- func (l_ Layer) SetGeometryFlipped(value bool)
- func (l_ Layer) SetHidden(value bool)
- func (l_ Layer) SetLayoutManager(value PLayoutManager)
- func (l_ Layer) SetLayoutManagerObject(valueObject objc.IObject)
- func (l_ Layer) SetMagnificationFilter(value LayerContentsFilter)
- func (l_ Layer) SetMask(value ILayer)
- func (l_ Layer) SetMaskedCorners(value CornerMask)
- func (l_ Layer) SetMasksToBounds(value bool)
- func (l_ Layer) SetMinificationFilter(value LayerContentsFilter)
- func (l_ Layer) SetMinificationFilterBias(value float32)
- func (l_ Layer) SetName(value string)
- func (l_ Layer) SetNeedsDisplay()
- func (l_ Layer) SetNeedsDisplayInRect(r coregraphics.Rect)
- func (l_ Layer) SetNeedsDisplayOnBoundsChange(value bool)
- func (l_ Layer) SetNeedsLayout()
- func (l_ Layer) SetOpacity(value float32)
- func (l_ Layer) SetOpaque(value bool)
- func (l_ Layer) SetPosition(value coregraphics.Point)
- func (l_ Layer) SetRasterizationScale(value float64)
- func (l_ Layer) SetShadowColor(value coregraphics.ColorRef)
- func (l_ Layer) SetShadowOffset(value coregraphics.Size)
- func (l_ Layer) SetShadowOpacity(value float32)
- func (l_ Layer) SetShadowPath(value unsafe.Pointer)
- func (l_ Layer) SetShadowRadius(value float64)
- func (l_ Layer) SetShouldRasterize(value bool)
- func (l_ Layer) SetStyle(value foundation.Dictionary)
- func (l_ Layer) SetSublayerTransform(value Transform3D)
- func (l_ Layer) SetSublayers(value []ILayer)
- func (l_ Layer) SetTransform(value Transform3D)
- func (l_ Layer) SetZPosition(value float64)
- func (l_ Layer) ShadowColor() coregraphics.ColorRef
- func (l_ Layer) ShadowOffset() coregraphics.Size
- func (l_ Layer) ShadowOpacity() float32
- func (l_ Layer) ShadowPath() unsafe.Pointer
- func (l_ Layer) ShadowRadius() float64
- func (l_ Layer) ShouldArchiveValueForKey(key string) bool
- func (l_ Layer) ShouldRasterize() bool
- func (l_ Layer) Style() foundation.Dictionary
- func (l_ Layer) SublayerTransform() Transform3D
- func (l_ Layer) Sublayers() []Layer
- func (l_ Layer) Superlayer() Layer
- func (l_ Layer) Transform() Transform3D
- func (l_ Layer) VisibleRect() coregraphics.Rect
- func (l_ Layer) ZPosition() float64
- type LayerContentsFilter
- type LayerContentsFormat
- type LayerContentsGravity
- type LayerCornerCurve
- type LayerDelegate
- func (di *LayerDelegate) ActionForLayerForKey(layer Layer, event string) ActionObject
- func (di *LayerDelegate) DisplayLayer(layer Layer)
- func (di *LayerDelegate) DrawLayerInContext(layer Layer, ctx coregraphics.ContextRef)
- func (di *LayerDelegate) HasActionForLayerForKey() bool
- func (di *LayerDelegate) HasDisplayLayer() bool
- func (di *LayerDelegate) HasDrawLayerInContext() bool
- func (di *LayerDelegate) HasLayerWillDraw() bool
- func (di *LayerDelegate) HasLayoutSublayersOfLayer() bool
- func (di *LayerDelegate) LayerWillDraw(layer Layer)
- func (di *LayerDelegate) LayoutSublayersOfLayer(layer Layer)
- func (di *LayerDelegate) SetActionForLayerForKey(f func(layer Layer, event string) ActionObject)
- func (di *LayerDelegate) SetDisplayLayer(f func(layer Layer))
- func (di *LayerDelegate) SetDrawLayerInContext(f func(layer Layer, ctx coregraphics.ContextRef))
- func (di *LayerDelegate) SetLayerWillDraw(f func(layer Layer))
- func (di *LayerDelegate) SetLayoutSublayersOfLayer(f func(layer Layer))
- type LayerDelegateObject
- func (l_ LayerDelegateObject) ActionForLayerForKey(layer Layer, event string) ActionObject
- func (l_ LayerDelegateObject) DisplayLayer(layer Layer)
- func (l_ LayerDelegateObject) DrawLayerInContext(layer Layer, ctx coregraphics.ContextRef)
- func (l_ LayerDelegateObject) HasActionForLayerForKey() bool
- func (l_ LayerDelegateObject) HasDisplayLayer() bool
- func (l_ LayerDelegateObject) HasDrawLayerInContext() bool
- func (l_ LayerDelegateObject) HasLayerWillDraw() bool
- func (l_ LayerDelegateObject) HasLayoutSublayersOfLayer() bool
- func (l_ LayerDelegateObject) LayerWillDraw(layer Layer)
- func (l_ LayerDelegateObject) LayoutSublayersOfLayer(layer Layer)
- type LayoutManagerObject
- func (l_ LayoutManagerObject) HasInvalidateLayoutOfLayer() bool
- func (l_ LayoutManagerObject) HasLayoutSublayersOfLayer() bool
- func (l_ LayoutManagerObject) HasPreferredSizeOfLayer() bool
- func (l_ LayoutManagerObject) InvalidateLayoutOfLayer(layer Layer)
- func (l_ LayoutManagerObject) LayoutSublayersOfLayer(layer Layer)
- func (l_ LayoutManagerObject) PreferredSizeOfLayer(layer Layer) coregraphics.Size
- type MediaTimingFillMode
- type MediaTimingFunction
- func MediaTimingFunctionFrom(ptr unsafe.Pointer) MediaTimingFunction
- func MediaTimingFunction_FunctionWithControlPoints(c1x float32) MediaTimingFunction
- func MediaTimingFunction_FunctionWithName(name MediaTimingFunctionName) MediaTimingFunction
- func NewMediaTimingFunction() MediaTimingFunction
- func NewMediaTimingFunctionWithControlPoints(c1x float32) MediaTimingFunction
- func Transaction_AnimationTimingFunction() MediaTimingFunction
- type MediaTimingFunctionName
- type MediaTimingObject
- func (m_ MediaTimingObject) Autoreverses() bool
- func (m_ MediaTimingObject) BeginTime() corefoundation.TimeInterval
- func (m_ MediaTimingObject) Duration() corefoundation.TimeInterval
- func (m_ MediaTimingObject) FillMode() MediaTimingFillMode
- func (m_ MediaTimingObject) HasAutoreverses() bool
- func (m_ MediaTimingObject) HasBeginTime() bool
- func (m_ MediaTimingObject) HasDuration() bool
- func (m_ MediaTimingObject) HasFillMode() bool
- func (m_ MediaTimingObject) HasRepeatCount() bool
- func (m_ MediaTimingObject) HasRepeatDuration() bool
- func (m_ MediaTimingObject) HasSetAutoreverses() bool
- func (m_ MediaTimingObject) HasSetBeginTime() bool
- func (m_ MediaTimingObject) HasSetDuration() bool
- func (m_ MediaTimingObject) HasSetFillMode() bool
- func (m_ MediaTimingObject) HasSetRepeatCount() bool
- func (m_ MediaTimingObject) HasSetRepeatDuration() bool
- func (m_ MediaTimingObject) HasSetSpeed() bool
- func (m_ MediaTimingObject) HasSetTimeOffset() bool
- func (m_ MediaTimingObject) HasSpeed() bool
- func (m_ MediaTimingObject) HasTimeOffset() bool
- func (m_ MediaTimingObject) RepeatCount() float32
- func (m_ MediaTimingObject) RepeatDuration() corefoundation.TimeInterval
- func (m_ MediaTimingObject) SetAutoreverses(value bool)
- func (m_ MediaTimingObject) SetBeginTime(value corefoundation.TimeInterval)
- func (m_ MediaTimingObject) SetDuration(value corefoundation.TimeInterval)
- func (m_ MediaTimingObject) SetFillMode(value MediaTimingFillMode)
- func (m_ MediaTimingObject) SetRepeatCount(value float32)
- func (m_ MediaTimingObject) SetRepeatDuration(value corefoundation.TimeInterval)
- func (m_ MediaTimingObject) SetSpeed(value float32)
- func (m_ MediaTimingObject) SetTimeOffset(value corefoundation.TimeInterval)
- func (m_ MediaTimingObject) Speed() float32
- func (m_ MediaTimingObject) TimeOffset() corefoundation.TimeInterval
- type MetalDrawableObject
- type MetalLayer
- func (m_ MetalLayer) AllowsNextDrawableTimeout() bool
- func (m_ MetalLayer) Colorspace() coregraphics.ColorSpaceRef
- func (m_ MetalLayer) Device() metal.DeviceObject
- func (m_ MetalLayer) DisplaySyncEnabled() bool
- func (m_ MetalLayer) DrawableSize() coregraphics.Size
- func (m_ MetalLayer) EDRMetadata() EDRMetadata
- func (m_ MetalLayer) FramebufferOnly() bool
- func (m_ MetalLayer) Init() MetalLayer
- func (m_ MetalLayer) InitWithLayer(layer objc.IObject) MetalLayer
- func (m_ MetalLayer) MaximumDrawableCount() uint
- func (m_ MetalLayer) ModelLayer() MetalLayer
- func (m_ MetalLayer) NextDrawable() MetalDrawableObject
- func (m_ MetalLayer) PixelFormat() metal.PixelFormat
- func (m_ MetalLayer) PreferredDevice() metal.DeviceObject
- func (m_ MetalLayer) PresentationLayer() MetalLayer
- func (m_ MetalLayer) PresentsWithTransaction() bool
- func (m_ MetalLayer) SetAllowsNextDrawableTimeout(value bool)
- func (m_ MetalLayer) SetColorspace(value coregraphics.ColorSpaceRef)
- func (m_ MetalLayer) SetDevice(value metal.PDevice)
- func (m_ MetalLayer) SetDeviceObject(valueObject objc.IObject)
- func (m_ MetalLayer) SetDisplaySyncEnabled(value bool)
- func (m_ MetalLayer) SetDrawableSize(value coregraphics.Size)
- func (m_ MetalLayer) SetEDRMetadata(value IEDRMetadata)
- func (m_ MetalLayer) SetFramebufferOnly(value bool)
- func (m_ MetalLayer) SetMaximumDrawableCount(value uint)
- func (m_ MetalLayer) SetPixelFormat(value metal.PixelFormat)
- func (m_ MetalLayer) SetPresentsWithTransaction(value bool)
- func (m_ MetalLayer) SetWantsExtendedDynamicRangeContent(value bool)
- func (m_ MetalLayer) WantsExtendedDynamicRangeContent() bool
- type OpenGLLayer
- type PAction
- type PAnimationDelegate
- type PLayerDelegate
- type PLayoutManager
- type PMediaTiming
- type PMetalDrawable
- type PropertyAnimation
- func (p_ PropertyAnimation) Init() PropertyAnimation
- func (p_ PropertyAnimation) IsAdditive() bool
- func (p_ PropertyAnimation) IsCumulative() bool
- func (p_ PropertyAnimation) KeyPath() string
- func (p_ PropertyAnimation) SetAdditive(value bool)
- func (p_ PropertyAnimation) SetCumulative(value bool)
- func (p_ PropertyAnimation) SetKeyPath(value string)
- func (p_ PropertyAnimation) SetValueFunction(value IValueFunction)
- func (p_ PropertyAnimation) ValueFunction() ValueFunction
- type RemoteLayerClient
- type RemoteLayerServer
- type Renderer
- func (r_ Renderer) AddUpdateRect(r coregraphics.Rect)
- func (r_ Renderer) BeginFrameAtTimeTimeStamp(t corefoundation.TimeInterval, ts *corevideo.TimeStamp)
- func (r_ Renderer) Bounds() coregraphics.Rect
- func (r_ Renderer) EndFrame()
- func (r_ Renderer) Init() Renderer
- func (r_ Renderer) Layer() Layer
- func (r_ Renderer) NextFrameTime() corefoundation.TimeInterval
- func (r_ Renderer) Render()
- func (r_ Renderer) SetBounds(value coregraphics.Rect)
- func (r_ Renderer) SetDestination(tex metal.PTexture)
- func (r_ Renderer) SetDestinationObject(texObject objc.IObject)
- func (r_ Renderer) SetLayer(value ILayer)
- func (r_ Renderer) UpdateBounds() coregraphics.Rect
- type ReplicatorLayer
- func NewReplicatorLayer() ReplicatorLayer
- func NewReplicatorLayerWithLayer(layer objc.IObject) ReplicatorLayer
- func ReplicatorLayerFrom(ptr unsafe.Pointer) ReplicatorLayer
- func ReplicatorLayer_Layer() ReplicatorLayer
- func ReplicatorLayer_ModelLayer() ReplicatorLayer
- func ReplicatorLayer_PresentationLayer() ReplicatorLayer
- func (r_ ReplicatorLayer) Init() ReplicatorLayer
- func (r_ ReplicatorLayer) InitWithLayer(layer objc.IObject) ReplicatorLayer
- func (r_ ReplicatorLayer) InstanceAlphaOffset() float32
- func (r_ ReplicatorLayer) InstanceBlueOffset() float32
- func (r_ ReplicatorLayer) InstanceColor() coregraphics.ColorRef
- func (r_ ReplicatorLayer) InstanceCount() int
- func (r_ ReplicatorLayer) InstanceDelay() corefoundation.TimeInterval
- func (r_ ReplicatorLayer) InstanceGreenOffset() float32
- func (r_ ReplicatorLayer) InstanceRedOffset() float32
- func (r_ ReplicatorLayer) InstanceTransform() Transform3D
- func (r_ ReplicatorLayer) ModelLayer() ReplicatorLayer
- func (r_ ReplicatorLayer) PresentationLayer() ReplicatorLayer
- func (r_ ReplicatorLayer) PreservesDepth() bool
- func (r_ ReplicatorLayer) SetInstanceAlphaOffset(value float32)
- func (r_ ReplicatorLayer) SetInstanceBlueOffset(value float32)
- func (r_ ReplicatorLayer) SetInstanceColor(value coregraphics.ColorRef)
- func (r_ ReplicatorLayer) SetInstanceCount(value int)
- func (r_ ReplicatorLayer) SetInstanceDelay(value corefoundation.TimeInterval)
- func (r_ ReplicatorLayer) SetInstanceGreenOffset(value float32)
- func (r_ ReplicatorLayer) SetInstanceRedOffset(value float32)
- func (r_ ReplicatorLayer) SetInstanceTransform(value Transform3D)
- func (r_ ReplicatorLayer) SetPreservesDepth(value bool)
- type ScrollLayer
- func (s_ ScrollLayer) Init() ScrollLayer
- func (s_ ScrollLayer) InitWithLayer(layer objc.IObject) ScrollLayer
- func (s_ ScrollLayer) ModelLayer() ScrollLayer
- func (s_ ScrollLayer) PresentationLayer() ScrollLayer
- func (s_ ScrollLayer) ScrollMode() ScrollLayerScrollMode
- func (s_ ScrollLayer) ScrollToPoint(p coregraphics.Point)
- func (s_ ScrollLayer) ScrollToRect(r coregraphics.Rect)
- func (s_ ScrollLayer) SetScrollMode(value ScrollLayerScrollMode)
- type ScrollLayerScrollMode
- type ShapeLayer
- func (s_ ShapeLayer) FillColor() coregraphics.ColorRef
- func (s_ ShapeLayer) FillRule() ShapeLayerFillRule
- func (s_ ShapeLayer) Init() ShapeLayer
- func (s_ ShapeLayer) InitWithLayer(layer objc.IObject) ShapeLayer
- func (s_ ShapeLayer) LineCap() ShapeLayerLineCap
- func (s_ ShapeLayer) LineDashPattern() []foundation.Number
- func (s_ ShapeLayer) LineDashPhase() float64
- func (s_ ShapeLayer) LineJoin() ShapeLayerLineJoin
- func (s_ ShapeLayer) LineWidth() float64
- func (s_ ShapeLayer) MiterLimit() float64
- func (s_ ShapeLayer) ModelLayer() ShapeLayer
- func (s_ ShapeLayer) Path() unsafe.Pointer
- func (s_ ShapeLayer) PresentationLayer() ShapeLayer
- func (s_ ShapeLayer) SetFillColor(value coregraphics.ColorRef)
- func (s_ ShapeLayer) SetFillRule(value ShapeLayerFillRule)
- func (s_ ShapeLayer) SetLineCap(value ShapeLayerLineCap)
- func (s_ ShapeLayer) SetLineDashPattern(value []foundation.INumber)
- func (s_ ShapeLayer) SetLineDashPhase(value float64)
- func (s_ ShapeLayer) SetLineJoin(value ShapeLayerLineJoin)
- func (s_ ShapeLayer) SetLineWidth(value float64)
- func (s_ ShapeLayer) SetMiterLimit(value float64)
- func (s_ ShapeLayer) SetPath(value unsafe.Pointer)
- func (s_ ShapeLayer) SetStrokeColor(value coregraphics.ColorRef)
- func (s_ ShapeLayer) SetStrokeEnd(value float64)
- func (s_ ShapeLayer) SetStrokeStart(value float64)
- func (s_ ShapeLayer) StrokeColor() coregraphics.ColorRef
- func (s_ ShapeLayer) StrokeEnd() float64
- func (s_ ShapeLayer) StrokeStart() float64
- type ShapeLayerFillRule
- type ShapeLayerLineCap
- type ShapeLayerLineJoin
- type SpringAnimation
- func (s_ SpringAnimation) Damping() float64
- func (s_ SpringAnimation) Init() SpringAnimation
- func (s_ SpringAnimation) InitialVelocity() float64
- func (s_ SpringAnimation) Mass() float64
- func (s_ SpringAnimation) SetDamping(value float64)
- func (s_ SpringAnimation) SetInitialVelocity(value float64)
- func (s_ SpringAnimation) SetMass(value float64)
- func (s_ SpringAnimation) SetStiffness(value float64)
- func (s_ SpringAnimation) SettlingDuration() corefoundation.TimeInterval
- func (s_ SpringAnimation) Stiffness() float64
- type TextLayer
- func (t_ TextLayer) AlignmentMode() TextLayerAlignmentMode
- func (t_ TextLayer) AllowsFontSubpixelQuantization() bool
- func (t_ TextLayer) Font() corefoundation.TypeRef
- func (t_ TextLayer) FontSize() float64
- func (t_ TextLayer) ForegroundColor() coregraphics.ColorRef
- func (t_ TextLayer) Init() TextLayer
- func (t_ TextLayer) InitWithLayer(layer objc.IObject) TextLayer
- func (t_ TextLayer) IsWrapped() bool
- func (t_ TextLayer) ModelLayer() TextLayer
- func (t_ TextLayer) PresentationLayer() TextLayer
- func (t_ TextLayer) SetAlignmentMode(value TextLayerAlignmentMode)
- func (t_ TextLayer) SetAllowsFontSubpixelQuantization(value bool)
- func (t_ TextLayer) SetFont(value corefoundation.TypeRef)
- func (t_ TextLayer) SetFontSize(value float64)
- func (t_ TextLayer) SetForegroundColor(value coregraphics.ColorRef)
- func (t_ TextLayer) SetString(value objc.IObject)
- func (t_ TextLayer) SetTruncationMode(value TextLayerTruncationMode)
- func (t_ TextLayer) SetWrapped(value bool)
- func (t_ TextLayer) String() objc.Object
- func (t_ TextLayer) TruncationMode() TextLayerTruncationMode
- type TextLayerAlignmentMode
- type TextLayerTruncationMode
- type TiledLayer
- func (t_ TiledLayer) Init() TiledLayer
- func (t_ TiledLayer) InitWithLayer(layer objc.IObject) TiledLayer
- func (t_ TiledLayer) LevelsOfDetail() uint
- func (t_ TiledLayer) LevelsOfDetailBias() uint
- func (t_ TiledLayer) ModelLayer() TiledLayer
- func (t_ TiledLayer) PresentationLayer() TiledLayer
- func (t_ TiledLayer) SetLevelsOfDetail(value uint)
- func (t_ TiledLayer) SetLevelsOfDetailBias(value uint)
- func (t_ TiledLayer) SetTileSize(value coregraphics.Size)
- func (t_ TiledLayer) TileSize() coregraphics.Size
- type Transaction
- type Transform3D
- type TransformLayer
- func NewTransformLayer() TransformLayer
- func NewTransformLayerWithLayer(layer objc.IObject) TransformLayer
- func TransformLayerFrom(ptr unsafe.Pointer) TransformLayer
- func TransformLayer_Layer() TransformLayer
- func TransformLayer_ModelLayer() TransformLayer
- func TransformLayer_PresentationLayer() TransformLayer
- type Transition
- func (t_ Transition) EndProgress() float32
- func (t_ Transition) Filter() objc.Object
- func (t_ Transition) Init() Transition
- func (t_ Transition) SetEndProgress(value float32)
- func (t_ Transition) SetFilter(value objc.IObject)
- func (t_ Transition) SetStartProgress(value float32)
- func (t_ Transition) SetSubtype(value TransitionSubtype)
- func (t_ Transition) SetType(value TransitionType)
- func (t_ Transition) StartProgress() float32
- func (t_ Transition) Subtype() TransitionSubtype
- func (t_ Transition) Type() TransitionType
- type TransitionSubtype
- type TransitionType
- type ValueFunction
- type ValueFunctionName
Constants ¶
This section is empty.
Variables ¶
var AnimationClass = _AnimationClass{objc.GetClass("CAAnimation")}
The class instance for the Animation class.
var AnimationGroupClass = _AnimationGroupClass{objc.GetClass("CAAnimationGroup")}
The class instance for the AnimationGroup class.
var BasicAnimationClass = _BasicAnimationClass{objc.GetClass("CABasicAnimation")}
The class instance for the BasicAnimation class.
var ConstraintClass = _ConstraintClass{objc.GetClass("CAConstraint")}
The class instance for the Constraint class.
var ConstraintLayoutManagerClass = _ConstraintLayoutManagerClass{objc.GetClass("CAConstraintLayoutManager")}
The class instance for the ConstraintLayoutManager class.
var EDRMetadataClass = _EDRMetadataClass{objc.GetClass("CAEDRMetadata")}
The class instance for the EDRMetadata class.
var EmitterCellClass = _EmitterCellClass{objc.GetClass("CAEmitterCell")}
The class instance for the EmitterCell class.
var EmitterLayerClass = _EmitterLayerClass{objc.GetClass("CAEmitterLayer")}
The class instance for the EmitterLayer class.
var GradientLayerClass = _GradientLayerClass{objc.GetClass("CAGradientLayer")}
The class instance for the GradientLayer class.
var KeyframeAnimationClass = _KeyframeAnimationClass{objc.GetClass("CAKeyframeAnimation")}
The class instance for the KeyframeAnimation class.
var LayerClass = _LayerClass{objc.GetClass("CALayer")}
The class instance for the Layer class.
var MediaTimingFunctionClass = _MediaTimingFunctionClass{objc.GetClass("CAMediaTimingFunction")}
The class instance for the MediaTimingFunction class.
var MetalLayerClass = _MetalLayerClass{objc.GetClass("CAMetalLayer")}
The class instance for the MetalLayer class.
var OpenGLLayerClass = _OpenGLLayerClass{objc.GetClass("CAOpenGLLayer")}
The class instance for the OpenGLLayer class.
var PropertyAnimationClass = _PropertyAnimationClass{objc.GetClass("CAPropertyAnimation")}
The class instance for the PropertyAnimation class.
var RemoteLayerClientClass = _RemoteLayerClientClass{objc.GetClass("CARemoteLayerClient")}
The class instance for the RemoteLayerClient class.
var RemoteLayerServerClass = _RemoteLayerServerClass{objc.GetClass("CARemoteLayerServer")}
The class instance for the RemoteLayerServer class.
var RendererClass = _RendererClass{objc.GetClass("CARenderer")}
The class instance for the Renderer class.
var ReplicatorLayerClass = _ReplicatorLayerClass{objc.GetClass("CAReplicatorLayer")}
The class instance for the ReplicatorLayer class.
var ScrollLayerClass = _ScrollLayerClass{objc.GetClass("CAScrollLayer")}
The class instance for the ScrollLayer class.
var ShapeLayerClass = _ShapeLayerClass{objc.GetClass("CAShapeLayer")}
The class instance for the ShapeLayer class.
var SpringAnimationClass = _SpringAnimationClass{objc.GetClass("CASpringAnimation")}
The class instance for the SpringAnimation class.
var TextLayerClass = _TextLayerClass{objc.GetClass("CATextLayer")}
The class instance for the TextLayer class.
var TiledLayerClass = _TiledLayerClass{objc.GetClass("CATiledLayer")}
The class instance for the TiledLayer class.
var TransactionClass = _TransactionClass{objc.GetClass("CATransaction")}
The class instance for the Transaction class.
var TransformLayerClass = _TransformLayerClass{objc.GetClass("CATransformLayer")}
The class instance for the TransformLayer class.
var TransitionClass = _TransitionClass{objc.GetClass("CATransition")}
The class instance for the Transition class.
var ValueFunctionClass = _ValueFunctionClass{objc.GetClass("CAValueFunction")}
The class instance for the ValueFunction class.
Functions ¶
func Animation_DefaultValueForKey ¶
Specifies the default value of the property with the specified key. Full Topic
func EmitterCell_DefaultValueForKey ¶
Returns the default value of the property with the specified key. Full Topic
func Layer_CornerCurveExpansionFactor ¶
func Layer_CornerCurveExpansionFactor(curve LayerCornerCurve) float64
[Full Topic]
func Layer_DefaultValueForKey ¶
Specifies the default value associated with the specified key. Full Topic
func Layer_NeedsDisplayForKey ¶
Returns a Boolean indicating whether changes to the specified key require the layer to be redisplayed. Full Topic
func TiledLayer_FadeDuration ¶
func TiledLayer_FadeDuration() corefoundation.TimeInterval
The time, in seconds, that newly added images take to "fade-in" to the rendered representation of the tiled layer. Full Topic
func Transaction_AnimationDuration ¶
func Transaction_AnimationDuration() corefoundation.TimeInterval
Returns the animation duration used by all animations within this transaction group. Full Topic
func Transaction_Begin ¶
func Transaction_Begin()
Begin a new transaction for the current thread. Full Topic
func Transaction_Commit ¶
func Transaction_Commit()
Commit all changes made during the current transaction. Full Topic
func Transaction_CompletionBlock ¶
func Transaction_CompletionBlock() func()
Returns the completion block object. Full Topic
func Transaction_DisableActions ¶
func Transaction_DisableActions() bool
Returns whether actions triggered as a result of property changes made within this transaction group are suppressed. Full Topic
func Transaction_Flush ¶
func Transaction_Flush()
Flushes any extant implicit transaction. Full Topic
func Transaction_Lock ¶
func Transaction_Lock()
Attempts to acquire a recursive spin-lock lock, ensuring that returned layer values are valid until unlocked. Full Topic
func Transaction_SetAnimationDuration ¶
func Transaction_SetAnimationDuration(dur corefoundation.TimeInterval)
Sets the animation duration used by all animations within this transaction group. Full Topic
func Transaction_SetAnimationTimingFunction ¶
func Transaction_SetAnimationTimingFunction(function IMediaTimingFunction)
Sets the timing function used for all animations within this transaction group. Full Topic
func Transaction_SetCompletionBlock ¶
func Transaction_SetCompletionBlock(block func())
Sets the completion block object. Full Topic
func Transaction_SetDisableActions ¶
func Transaction_SetDisableActions(flag bool)
Sets whether actions triggered as a result of property changes made within this transaction group are suppressed. Full Topic
func Transaction_SetValueForKey ¶
Sets the arbitrary keyed-data for the specified key. Full Topic
func Transaction_Unlock ¶
func Transaction_Unlock()
Relinquishes a previously acquired transaction lock. Full Topic
func Transaction_ValueForKey ¶
Returns the arbitrary keyed-data specified by the given key. Full Topic
Types ¶
type ActionObject ¶
A concrete type for the PAction protocol.
func Layer_DefaultActionForKey ¶
func Layer_DefaultActionForKey(event string) ActionObject
Returns the default action for the current class. Full Topic
func (ActionObject) HasRunActionForKeyObjectArguments ¶
func (a_ ActionObject) HasRunActionForKeyObjectArguments() bool
func (ActionObject) RunActionForKeyObjectArguments ¶
func (a_ ActionObject) RunActionForKeyObjectArguments(event string, anObject objc.Object, dict foundation.Dictionary)
Called to trigger the action specified by the identifier. Full Topic
type Animation ¶
The abstract superclass for animations in Core Animation. Full Topic
func AnimationFrom ¶
func Animation_Animation ¶
func Animation_Animation() Animation
Creates and returns a new CAAnimation instance. Full Topic
func NewAnimation ¶
func NewAnimation() Animation
func (Animation) Delegate ¶
func (a_ Animation) Delegate() AnimationDelegateObject
Specifies the receiver’s delegate object. Full Topic
func (Animation) FadeInDuration ¶
For animations attached to SceneKit objects, the duration for transitioning into the animation’s effect as it begins. Full Topic
func (Animation) FadeOutDuration ¶
For animations attached to SceneKit objects, the duration for transitioning out of the animation’s effect as it ends. Full Topic
func (Animation) IsRemovedOnCompletion ¶
Determines if the animation is removed from the target layer’s animations upon completion. Full Topic
func (Animation) PreferredFrameRateRange ¶
func (a_ Animation) PreferredFrameRateRange() FrameRateRange
[Full Topic]
func (Animation) SetDelegate ¶
func (a_ Animation) SetDelegate(value PAnimationDelegate)
Specifies the receiver’s delegate object. Full Topic
func (Animation) SetDelegateObject ¶
Specifies the receiver’s delegate object. Full Topic
func (Animation) SetFadeInDuration ¶
For animations attached to SceneKit objects, the duration for transitioning into the animation’s effect as it begins. Full Topic
func (Animation) SetFadeOutDuration ¶
For animations attached to SceneKit objects, the duration for transitioning out of the animation’s effect as it ends. Full Topic
func (Animation) SetPreferredFrameRateRange ¶
func (a_ Animation) SetPreferredFrameRateRange(value FrameRateRange)
[Full Topic]
func (Animation) SetRemovedOnCompletion ¶
Determines if the animation is removed from the target layer’s animations upon completion. Full Topic
func (Animation) SetTimingFunction ¶
func (a_ Animation) SetTimingFunction(value IMediaTimingFunction)
An optional timing function defining the pacing of the animation. Full Topic
func (Animation) SetUsesSceneTimeBase ¶
For animations attached to SceneKit objects, a Boolean value that determines whether the animation is evaluated using the scene time or the system time. Full Topic
func (Animation) ShouldArchiveValueForKey ¶
Specifies whether the value of the property for a given key is archived. Full Topic
func (Animation) TimingFunction ¶
func (a_ Animation) TimingFunction() MediaTimingFunction
An optional timing function defining the pacing of the animation. Full Topic
func (Animation) UsesSceneTimeBase ¶
For animations attached to SceneKit objects, a Boolean value that determines whether the animation is evaluated using the scene time or the system time. Full Topic
type AnimationCalculationMode ¶
type AnimationCalculationMode string
[Full Topic]
const ( KAnimationCubic AnimationCalculationMode = "cubic" KAnimationCubicPaced AnimationCalculationMode = "cubicPaced" KAnimationDiscrete AnimationCalculationMode = "discrete" KAnimationLinear AnimationCalculationMode = "linear" KAnimationPaced AnimationCalculationMode = "paced" )
type AnimationDelegate ¶
type AnimationDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PAnimationDelegate protocol.
func (*AnimationDelegate) AnimationDidStart ¶
func (di *AnimationDelegate) AnimationDidStart(anim Animation)
Tells the delegate the animation has started. Full Topic
func (*AnimationDelegate) AnimationDidStopFinished ¶
func (di *AnimationDelegate) AnimationDidStopFinished(anim Animation, flag bool)
Tells the delegate the animation has ended. Full Topic
func (*AnimationDelegate) HasAnimationDidStart ¶
func (di *AnimationDelegate) HasAnimationDidStart() bool
func (*AnimationDelegate) HasAnimationDidStopFinished ¶
func (di *AnimationDelegate) HasAnimationDidStopFinished() bool
func (*AnimationDelegate) SetAnimationDidStart ¶
func (di *AnimationDelegate) SetAnimationDidStart(f func(anim Animation))
Tells the delegate the animation has started. Full Topic
func (*AnimationDelegate) SetAnimationDidStopFinished ¶
func (di *AnimationDelegate) SetAnimationDidStopFinished(f func(anim Animation, flag bool))
Tells the delegate the animation has ended. Full Topic
type AnimationDelegateObject ¶
A concrete type for the PAnimationDelegate protocol.
func (AnimationDelegateObject) AnimationDidStart ¶
func (a_ AnimationDelegateObject) AnimationDidStart(anim Animation)
Tells the delegate the animation has started. Full Topic
func (AnimationDelegateObject) AnimationDidStopFinished ¶
func (a_ AnimationDelegateObject) AnimationDidStopFinished(anim Animation, flag bool)
Tells the delegate the animation has ended. Full Topic
func (AnimationDelegateObject) HasAnimationDidStart ¶
func (a_ AnimationDelegateObject) HasAnimationDidStart() bool
func (AnimationDelegateObject) HasAnimationDidStopFinished ¶
func (a_ AnimationDelegateObject) HasAnimationDidStopFinished() bool
type AnimationGroup ¶
type AnimationGroup struct {
Animation
}
An object that allows multiple animations to be grouped and run concurrently. Full Topic
func AnimationGroupFrom ¶
func AnimationGroupFrom(ptr unsafe.Pointer) AnimationGroup
func AnimationGroup_Animation ¶
func AnimationGroup_Animation() AnimationGroup
Creates and returns a new CAAnimation instance. Full Topic
func NewAnimationGroup ¶
func NewAnimationGroup() AnimationGroup
func (AnimationGroup) Animations ¶
func (a_ AnimationGroup) Animations() []Animation
An array of CAAnimation objects to be evaluated in the time space of the receiver. Full Topic
func (AnimationGroup) Init ¶
func (a_ AnimationGroup) Init() AnimationGroup
func (AnimationGroup) SetAnimations ¶
func (a_ AnimationGroup) SetAnimations(value []IAnimation)
An array of CAAnimation objects to be evaluated in the time space of the receiver. Full Topic
type AnimationRotationMode ¶
type AnimationRotationMode string
[Full Topic]
const ( KAnimationRotateAuto AnimationRotationMode = "auto" KAnimationRotateAutoReverse AnimationRotationMode = "autoReverse" )
type AutoresizingMask ¶
type AutoresizingMask int
These constants are used by the quartzcore/calayer/autoresizingmask property. Full Topic
const ( KLayerHeightSizable AutoresizingMask = 16 KLayerMaxXMargin AutoresizingMask = 4 KLayerMaxYMargin AutoresizingMask = 32 KLayerMinXMargin AutoresizingMask = 1 KLayerMinYMargin AutoresizingMask = 8 KLayerNotSizable AutoresizingMask = 0 KLayerWidthSizable AutoresizingMask = 2 )
type BasicAnimation ¶
type BasicAnimation struct {
PropertyAnimation
}
An object that provides basic, single-keyframe animation capabilities for a layer property. Full Topic
func BasicAnimationFrom ¶
func BasicAnimationFrom(ptr unsafe.Pointer) BasicAnimation
func BasicAnimation_Animation ¶
func BasicAnimation_Animation() BasicAnimation
Creates and returns a new CAAnimation instance. Full Topic
func BasicAnimation_AnimationWithKeyPath ¶
func BasicAnimation_AnimationWithKeyPath(path string) BasicAnimation
Creates and returns an CAPropertyAnimation instance for the specified key path. Full Topic
func NewBasicAnimation ¶
func NewBasicAnimation() BasicAnimation
func (BasicAnimation) ByValue ¶
func (b_ BasicAnimation) ByValue() objc.Object
Defines the value the receiver uses to perform relative interpolation. Full Topic
func (BasicAnimation) FromValue ¶
func (b_ BasicAnimation) FromValue() objc.Object
Defines the value the receiver uses to start interpolation. Full Topic
func (BasicAnimation) Init ¶
func (b_ BasicAnimation) Init() BasicAnimation
func (BasicAnimation) SetByValue ¶
func (b_ BasicAnimation) SetByValue(value objc.IObject)
Defines the value the receiver uses to perform relative interpolation. Full Topic
func (BasicAnimation) SetFromValue ¶
func (b_ BasicAnimation) SetFromValue(value objc.IObject)
Defines the value the receiver uses to start interpolation. Full Topic
func (BasicAnimation) SetToValue ¶
func (b_ BasicAnimation) SetToValue(value objc.IObject)
Defines the value the receiver uses to end interpolation. Full Topic
func (BasicAnimation) ToValue ¶
func (b_ BasicAnimation) ToValue() objc.Object
Defines the value the receiver uses to end interpolation. Full Topic
type Constraint ¶
A representation of a single layout constraint between two layers. Full Topic
func ConstraintFrom ¶
func ConstraintFrom(ptr unsafe.Pointer) Constraint
func Constraint_ConstraintWithAttributeRelativeToAttribute ¶
func Constraint_ConstraintWithAttributeRelativeToAttribute(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute) Constraint
Creates and returns an CAConstraint object with the specified parameters. Full Topic
func Constraint_ConstraintWithAttributeRelativeToAttributeOffset ¶
func Constraint_ConstraintWithAttributeRelativeToAttributeOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, c float64) Constraint
Creates and returns an CAConstraint object with the specified parameters. Full Topic
func Constraint_ConstraintWithAttributeRelativeToAttributeScaleOffset ¶
func Constraint_ConstraintWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, c float64) Constraint
Creates and returns an CAConstraint object with the specified parameters. Full Topic
func NewConstraint ¶
func NewConstraint() Constraint
func NewConstraintWithAttributeRelativeToAttributeScaleOffset ¶
func NewConstraintWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, c float64) Constraint
Returns an CAConstraint object with the specified parameters. Designated initializer. Full Topic
func (Constraint) Attribute ¶
func (c_ Constraint) Attribute() ConstraintAttribute
The attribute the constraint affects. Full Topic
func (Constraint) Init ¶
func (c_ Constraint) Init() Constraint
func (Constraint) InitWithAttributeRelativeToAttributeScaleOffset ¶
func (c_ Constraint) InitWithAttributeRelativeToAttributeScaleOffset(attr ConstraintAttribute, srcId string, srcAttr ConstraintAttribute, m float64, c float64) Constraint
func (Constraint) Offset ¶
func (c_ Constraint) Offset() float64
Offset value of the constraint attribute. Full Topic
func (Constraint) Scale ¶
func (c_ Constraint) Scale() float64
Scale factor of the constraint attribute. Full Topic
func (Constraint) SourceAttribute ¶
func (c_ Constraint) SourceAttribute() ConstraintAttribute
The constraint attribute of the layer the receiver is calculated relative to Full Topic
func (Constraint) SourceName ¶
func (c_ Constraint) SourceName() string
Name of the layer that the constraint is calculated relative to. Full Topic
type ConstraintAttribute ¶
type ConstraintAttribute int
The constraint attribute type. Full Topic
const ( KConstraintHeight ConstraintAttribute = 7 KConstraintMaxX ConstraintAttribute = 2 KConstraintMaxY ConstraintAttribute = 6 KConstraintMidX ConstraintAttribute = 1 KConstraintMidY ConstraintAttribute = 5 KConstraintMinX ConstraintAttribute = 0 KConstraintMinY ConstraintAttribute = 4 KConstraintWidth ConstraintAttribute = 3 )
type ConstraintLayoutManager ¶
An object that provides a constraint-based layout manager. Full Topic
func ConstraintLayoutManagerFrom ¶
func ConstraintLayoutManagerFrom(ptr unsafe.Pointer) ConstraintLayoutManager
func ConstraintLayoutManager_LayoutManager ¶
func ConstraintLayoutManager_LayoutManager() ConstraintLayoutManager
Returns the shared layout manager object. Full Topic
func NewConstraintLayoutManager ¶
func NewConstraintLayoutManager() ConstraintLayoutManager
func (ConstraintLayoutManager) Init ¶
func (c_ ConstraintLayoutManager) Init() ConstraintLayoutManager
type CornerMask ¶
type CornerMask uint
[Full Topic]
const ( KLayerMaxXMaxYCorner CornerMask = 8 KLayerMaxXMinYCorner CornerMask = 2 KLayerMinXMaxYCorner CornerMask = 4 KLayerMinXMinYCorner CornerMask = 1 )
type EDRMetadata ¶
Metadata describing how extended dynamic range (EDR) values should be tone mapped. Full Topic
func EDRMetadataFrom ¶
func EDRMetadataFrom(ptr unsafe.Pointer) EDRMetadata
func EDRMetadata_HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale ¶
func EDRMetadata_HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale(displayData []byte, contentData []byte, scale float32) EDRMetadata
Creates EDR metadata for HDR10 content based on mastering display color information and content light levels. Full Topic
func EDRMetadata_HDR10MetadataWithMinLuminanceMaxLuminanceOpticalOutputScale ¶
func EDRMetadata_HDR10MetadataWithMinLuminanceMaxLuminanceOpticalOutputScale(minNits float32, maxNits float32, scale float32) EDRMetadata
Creates EDR metadata for HDR10 content based on the luminance characteristics of a mastering display. Full Topic
func EDRMetadata_HLGMetadata ¶
func EDRMetadata_HLGMetadata() EDRMetadata
Extended dynamic range (EDR) metadata for the Hybrid Log-Gamma (HLG) transfer function. Full Topic
func NewEDRMetadata ¶
func NewEDRMetadata() EDRMetadata
func (EDRMetadata) Init ¶
func (e_ EDRMetadata) Init() EDRMetadata
type EdgeAntialiasingMask ¶
type EdgeAntialiasingMask int
This mask is used by the quartzcore/calayer/edgeantialiasingmask property. Full Topic
const ( KLayerBottomEdge EdgeAntialiasingMask = 4 KLayerLeftEdge EdgeAntialiasingMask = 1 KLayerRightEdge EdgeAntialiasingMask = 2 KLayerTopEdge EdgeAntialiasingMask = 8 )
type EmitterCell ¶
The definition of a particle emitted by a CAEmitterLayer. Full Topic
func EmitterCellFrom ¶
func EmitterCellFrom(ptr unsafe.Pointer) EmitterCell
func EmitterCell_EmitterCell ¶
func EmitterCell_EmitterCell() EmitterCell
Creates and returns an instance of CAEmitterCell. Full Topic
func NewEmitterCell ¶
func NewEmitterCell() EmitterCell
func (EmitterCell) AlphaRange ¶
func (e_ EmitterCell) AlphaRange() float32
The amount by which the alpha component of the cell can vary. Animatable. Full Topic
func (EmitterCell) AlphaSpeed ¶
func (e_ EmitterCell) AlphaSpeed() float32
The speed, in seconds, at which the alpha component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) BirthRate ¶
func (e_ EmitterCell) BirthRate() float32
The number of emitted objects created every second. Animatable. Full Topic
func (EmitterCell) BlueRange ¶
func (e_ EmitterCell) BlueRange() float32
The amount by which the blue color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) BlueSpeed ¶
func (e_ EmitterCell) BlueSpeed() float32
The speed, in seconds, at which the blue color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) Color ¶
func (e_ EmitterCell) Color() coregraphics.ColorRef
The color of each emitted object. Animatable. Full Topic
func (EmitterCell) Contents ¶
func (e_ EmitterCell) Contents() objc.Object
An object that provides the contents of the layer. Animatable. Full Topic
func (EmitterCell) ContentsRect ¶
func (e_ EmitterCell) ContentsRect() coregraphics.Rect
A rectangle (in the unit coordinate space) that specifies the portion of quartzcore/caemittercell/contents that the receiver should draw. Animatable. Full Topic
func (EmitterCell) ContentsScale ¶
func (e_ EmitterCell) ContentsScale() float64
The scale factor of the cell contents. Full Topic
func (EmitterCell) EmissionLatitude ¶
func (e_ EmitterCell) EmissionLatitude() float64
The latitudinal orientation of the emission angle. Animatable. Full Topic
func (EmitterCell) EmissionLongitude ¶
func (e_ EmitterCell) EmissionLongitude() float64
The longitudinal orientation of the emission angle. Animatable. Full Topic
func (EmitterCell) EmissionRange ¶
func (e_ EmitterCell) EmissionRange() float64
The angle, in radians, defining a cone around the emission angle. Animatable. Full Topic
func (EmitterCell) EmitterCells ¶
func (e_ EmitterCell) EmitterCells() []EmitterCell
An optional array containing the sub-cells of this cell. Full Topic
func (EmitterCell) GreenRange ¶
func (e_ EmitterCell) GreenRange() float32
The amount by which the green color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) GreenSpeed ¶
func (e_ EmitterCell) GreenSpeed() float32
The speed, in seconds, at which the green color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) Init ¶
func (e_ EmitterCell) Init() EmitterCell
func (EmitterCell) IsEnabled ¶
func (e_ EmitterCell) IsEnabled() bool
A Boolean value indicating whether or not cells from this emitter are rendered. Full Topic
func (EmitterCell) Lifetime ¶
func (e_ EmitterCell) Lifetime() float32
The lifetime of the cell, in seconds. Animatable. Full Topic
func (EmitterCell) LifetimeRange ¶
func (e_ EmitterCell) LifetimeRange() float32
The mean value by which the quartzcore/caemittercell/lifetime of the cell can vary. Animatable. Full Topic
func (EmitterCell) MagnificationFilter ¶
func (e_ EmitterCell) MagnificationFilter() string
The filter used when increasing the size of the content. Full Topic
func (EmitterCell) MinificationFilter ¶
func (e_ EmitterCell) MinificationFilter() string
The filter used when reducing the size of the content. Full Topic
func (EmitterCell) MinificationFilterBias ¶
func (e_ EmitterCell) MinificationFilterBias() float32
The bias factor used by the minification filter to determine the levels of detail. Full Topic
func (EmitterCell) RedRange ¶
func (e_ EmitterCell) RedRange() float32
The amount by which the red color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) RedSpeed ¶
func (e_ EmitterCell) RedSpeed() float32
The speed, in seconds, at which the red color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) Scale ¶
func (e_ EmitterCell) Scale() float64
Specifies the scale factor applied to the cell. Animatable. Full Topic
func (EmitterCell) ScaleRange ¶
func (e_ EmitterCell) ScaleRange() float64
Specifies the range over which the scale value can vary. Animatable. Full Topic
func (EmitterCell) ScaleSpeed ¶
func (e_ EmitterCell) ScaleSpeed() float64
The speed at which the scale changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetAlphaRange ¶
func (e_ EmitterCell) SetAlphaRange(value float32)
The amount by which the alpha component of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetAlphaSpeed ¶
func (e_ EmitterCell) SetAlphaSpeed(value float32)
The speed, in seconds, at which the alpha component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetBirthRate ¶
func (e_ EmitterCell) SetBirthRate(value float32)
The number of emitted objects created every second. Animatable. Full Topic
func (EmitterCell) SetBlueRange ¶
func (e_ EmitterCell) SetBlueRange(value float32)
The amount by which the blue color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetBlueSpeed ¶
func (e_ EmitterCell) SetBlueSpeed(value float32)
The speed, in seconds, at which the blue color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetColor ¶
func (e_ EmitterCell) SetColor(value coregraphics.ColorRef)
The color of each emitted object. Animatable. Full Topic
func (EmitterCell) SetContents ¶
func (e_ EmitterCell) SetContents(value objc.IObject)
An object that provides the contents of the layer. Animatable. Full Topic
func (EmitterCell) SetContentsRect ¶
func (e_ EmitterCell) SetContentsRect(value coregraphics.Rect)
A rectangle (in the unit coordinate space) that specifies the portion of quartzcore/caemittercell/contents that the receiver should draw. Animatable. Full Topic
func (EmitterCell) SetContentsScale ¶
func (e_ EmitterCell) SetContentsScale(value float64)
The scale factor of the cell contents. Full Topic
func (EmitterCell) SetEmissionLatitude ¶
func (e_ EmitterCell) SetEmissionLatitude(value float64)
The latitudinal orientation of the emission angle. Animatable. Full Topic
func (EmitterCell) SetEmissionLongitude ¶
func (e_ EmitterCell) SetEmissionLongitude(value float64)
The longitudinal orientation of the emission angle. Animatable. Full Topic
func (EmitterCell) SetEmissionRange ¶
func (e_ EmitterCell) SetEmissionRange(value float64)
The angle, in radians, defining a cone around the emission angle. Animatable. Full Topic
func (EmitterCell) SetEmitterCells ¶
func (e_ EmitterCell) SetEmitterCells(value []IEmitterCell)
An optional array containing the sub-cells of this cell. Full Topic
func (EmitterCell) SetEnabled ¶
func (e_ EmitterCell) SetEnabled(value bool)
A Boolean value indicating whether or not cells from this emitter are rendered. Full Topic
func (EmitterCell) SetGreenRange ¶
func (e_ EmitterCell) SetGreenRange(value float32)
The amount by which the green color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetGreenSpeed ¶
func (e_ EmitterCell) SetGreenSpeed(value float32)
The speed, in seconds, at which the green color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetLifetime ¶
func (e_ EmitterCell) SetLifetime(value float32)
The lifetime of the cell, in seconds. Animatable. Full Topic
func (EmitterCell) SetLifetimeRange ¶
func (e_ EmitterCell) SetLifetimeRange(value float32)
The mean value by which the quartzcore/caemittercell/lifetime of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetMagnificationFilter ¶
func (e_ EmitterCell) SetMagnificationFilter(value string)
The filter used when increasing the size of the content. Full Topic
func (EmitterCell) SetMinificationFilter ¶
func (e_ EmitterCell) SetMinificationFilter(value string)
The filter used when reducing the size of the content. Full Topic
func (EmitterCell) SetMinificationFilterBias ¶
func (e_ EmitterCell) SetMinificationFilterBias(value float32)
The bias factor used by the minification filter to determine the levels of detail. Full Topic
func (EmitterCell) SetName ¶
func (e_ EmitterCell) SetName(value string)
The name of the cell. Full Topic
func (EmitterCell) SetRedRange ¶
func (e_ EmitterCell) SetRedRange(value float32)
The amount by which the red color component of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetRedSpeed ¶
func (e_ EmitterCell) SetRedSpeed(value float32)
The speed, in seconds, at which the red color component changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetScale ¶
func (e_ EmitterCell) SetScale(value float64)
Specifies the scale factor applied to the cell. Animatable. Full Topic
func (EmitterCell) SetScaleRange ¶
func (e_ EmitterCell) SetScaleRange(value float64)
Specifies the range over which the scale value can vary. Animatable. Full Topic
func (EmitterCell) SetScaleSpeed ¶
func (e_ EmitterCell) SetScaleSpeed(value float64)
The speed at which the scale changes over the lifetime of the cell. Animatable. Full Topic
func (EmitterCell) SetSpin ¶
func (e_ EmitterCell) SetSpin(value float64)
The rotational velocity, measured in radians per second, to apply to the cell. Animatable. Full Topic
func (EmitterCell) SetSpinRange ¶
func (e_ EmitterCell) SetSpinRange(value float64)
The amount by which the spin of the cell can vary over its lifetime. Animatable. Full Topic
func (EmitterCell) SetStyle ¶
func (e_ EmitterCell) SetStyle(value foundation.Dictionary)
An optional dictionary containing additional style values that are not explicitly defined by the receiver. Full Topic
func (EmitterCell) SetVelocity ¶
func (e_ EmitterCell) SetVelocity(value float64)
The initial velocity of the cell. Animatable. Full Topic
func (EmitterCell) SetVelocityRange ¶
func (e_ EmitterCell) SetVelocityRange(value float64)
The amount by which the velocity of the cell can vary. Animatable. Full Topic
func (EmitterCell) SetXAcceleration ¶
func (e_ EmitterCell) SetXAcceleration(value float64)
The x component of an acceleration vector applied to cell. Full Topic
func (EmitterCell) SetYAcceleration ¶
func (e_ EmitterCell) SetYAcceleration(value float64)
The y component of an acceleration vector applied to cell. Full Topic
func (EmitterCell) SetZAcceleration ¶
func (e_ EmitterCell) SetZAcceleration(value float64)
The z component of an acceleration vector applied to cell. Full Topic
func (EmitterCell) ShouldArchiveValueForKey ¶
func (e_ EmitterCell) ShouldArchiveValueForKey(key string) bool
Returns a Boolean value indicating whether the value for a given key should be archived. Full Topic
func (EmitterCell) Spin ¶
func (e_ EmitterCell) Spin() float64
The rotational velocity, measured in radians per second, to apply to the cell. Animatable. Full Topic
func (EmitterCell) SpinRange ¶
func (e_ EmitterCell) SpinRange() float64
The amount by which the spin of the cell can vary over its lifetime. Animatable. Full Topic
func (EmitterCell) Style ¶
func (e_ EmitterCell) Style() foundation.Dictionary
An optional dictionary containing additional style values that are not explicitly defined by the receiver. Full Topic
func (EmitterCell) Velocity ¶
func (e_ EmitterCell) Velocity() float64
The initial velocity of the cell. Animatable. Full Topic
func (EmitterCell) VelocityRange ¶
func (e_ EmitterCell) VelocityRange() float64
The amount by which the velocity of the cell can vary. Animatable. Full Topic
func (EmitterCell) XAcceleration ¶
func (e_ EmitterCell) XAcceleration() float64
The x component of an acceleration vector applied to cell. Full Topic
func (EmitterCell) YAcceleration ¶
func (e_ EmitterCell) YAcceleration() float64
The y component of an acceleration vector applied to cell. Full Topic
func (EmitterCell) ZAcceleration ¶
func (e_ EmitterCell) ZAcceleration() float64
The z component of an acceleration vector applied to cell. Full Topic
type EmitterLayer ¶
type EmitterLayer struct {
Layer
}
A layer that emits, animates, and renders a particle system. Full Topic
func EmitterLayerFrom ¶
func EmitterLayerFrom(ptr unsafe.Pointer) EmitterLayer
func EmitterLayer_Layer ¶
func EmitterLayer_Layer() EmitterLayer
Creates and returns an instance of the layer object. Full Topic
func EmitterLayer_ModelLayer ¶
func EmitterLayer_ModelLayer() EmitterLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func EmitterLayer_PresentationLayer ¶
func EmitterLayer_PresentationLayer() EmitterLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func NewEmitterLayer ¶
func NewEmitterLayer() EmitterLayer
func NewEmitterLayerWithLayer ¶
func NewEmitterLayerWithLayer(layer objc.IObject) EmitterLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func (EmitterLayer) BirthRate ¶
func (e_ EmitterLayer) BirthRate() float32
Defines a multiplier that is applied to the cell-defined birth rate. Animatable Full Topic
func (EmitterLayer) EmitterCells ¶
func (e_ EmitterLayer) EmitterCells() []EmitterCell
The array emitter cells attached to the layer. Full Topic
func (EmitterLayer) EmitterDepth ¶
func (e_ EmitterLayer) EmitterDepth() float64
Determines the depth of the emitter shape. Full Topic
func (EmitterLayer) EmitterMode ¶
func (e_ EmitterLayer) EmitterMode() EmitterLayerEmitterMode
Specifies the emitter mode. Full Topic
func (EmitterLayer) EmitterPosition ¶
func (e_ EmitterLayer) EmitterPosition() coregraphics.Point
The position of the center of the particle emitter. Animatable. Full Topic
func (EmitterLayer) EmitterShape ¶
func (e_ EmitterLayer) EmitterShape() EmitterLayerEmitterShape
Specifies the emitter shape. Full Topic
func (EmitterLayer) EmitterSize ¶
func (e_ EmitterLayer) EmitterSize() coregraphics.Size
Determines the size of the particle emitter shape. Animatable. Full Topic
func (EmitterLayer) EmitterZPosition ¶
func (e_ EmitterLayer) EmitterZPosition() float64
Specifies the center of the particle emitter shape along the z-axis. Animatable. Full Topic
func (EmitterLayer) Init ¶
func (e_ EmitterLayer) Init() EmitterLayer
func (EmitterLayer) InitWithLayer ¶
func (e_ EmitterLayer) InitWithLayer(layer objc.IObject) EmitterLayer
func (EmitterLayer) Lifetime ¶
func (e_ EmitterLayer) Lifetime() float32
Defines a multiplier applied to the cell-defined lifetime range when particles are created. Animatable. Full Topic
func (EmitterLayer) ModelLayer ¶
func (e_ EmitterLayer) ModelLayer() EmitterLayer
func (EmitterLayer) PresentationLayer ¶
func (e_ EmitterLayer) PresentationLayer() EmitterLayer
func (EmitterLayer) PreservesDepth ¶
func (e_ EmitterLayer) PreservesDepth() bool
Defines whether the layer flattens the particles into its plane. Full Topic
func (EmitterLayer) RenderMode ¶
func (e_ EmitterLayer) RenderMode() EmitterLayerRenderMode
Defines how particle cells are rendered into the layer. Full Topic
func (EmitterLayer) Scale ¶
func (e_ EmitterLayer) Scale() float32
Defines a multiplier applied to the cell-defined particle scale. Full Topic
func (EmitterLayer) Seed ¶
func (e_ EmitterLayer) Seed() int
Specifies the seed used to initialize the random number generator. Full Topic
func (EmitterLayer) SetBirthRate ¶
func (e_ EmitterLayer) SetBirthRate(value float32)
Defines a multiplier that is applied to the cell-defined birth rate. Animatable Full Topic
func (EmitterLayer) SetEmitterCells ¶
func (e_ EmitterLayer) SetEmitterCells(value []IEmitterCell)
The array emitter cells attached to the layer. Full Topic
func (EmitterLayer) SetEmitterDepth ¶
func (e_ EmitterLayer) SetEmitterDepth(value float64)
Determines the depth of the emitter shape. Full Topic
func (EmitterLayer) SetEmitterMode ¶
func (e_ EmitterLayer) SetEmitterMode(value EmitterLayerEmitterMode)
Specifies the emitter mode. Full Topic
func (EmitterLayer) SetEmitterPosition ¶
func (e_ EmitterLayer) SetEmitterPosition(value coregraphics.Point)
The position of the center of the particle emitter. Animatable. Full Topic
func (EmitterLayer) SetEmitterShape ¶
func (e_ EmitterLayer) SetEmitterShape(value EmitterLayerEmitterShape)
Specifies the emitter shape. Full Topic
func (EmitterLayer) SetEmitterSize ¶
func (e_ EmitterLayer) SetEmitterSize(value coregraphics.Size)
Determines the size of the particle emitter shape. Animatable. Full Topic
func (EmitterLayer) SetEmitterZPosition ¶
func (e_ EmitterLayer) SetEmitterZPosition(value float64)
Specifies the center of the particle emitter shape along the z-axis. Animatable. Full Topic
func (EmitterLayer) SetLifetime ¶
func (e_ EmitterLayer) SetLifetime(value float32)
Defines a multiplier applied to the cell-defined lifetime range when particles are created. Animatable. Full Topic
func (EmitterLayer) SetPreservesDepth ¶
func (e_ EmitterLayer) SetPreservesDepth(value bool)
Defines whether the layer flattens the particles into its plane. Full Topic
func (EmitterLayer) SetRenderMode ¶
func (e_ EmitterLayer) SetRenderMode(value EmitterLayerRenderMode)
Defines how particle cells are rendered into the layer. Full Topic
func (EmitterLayer) SetScale ¶
func (e_ EmitterLayer) SetScale(value float32)
Defines a multiplier applied to the cell-defined particle scale. Full Topic
func (EmitterLayer) SetSeed ¶
func (e_ EmitterLayer) SetSeed(value int)
Specifies the seed used to initialize the random number generator. Full Topic
func (EmitterLayer) SetSpin ¶
func (e_ EmitterLayer) SetSpin(value float32)
Defines a multiplier applied to the cell-defined particle spin. Animatable. Full Topic
func (EmitterLayer) SetVelocity ¶
func (e_ EmitterLayer) SetVelocity(value float32)
Defines a multiplier applied to the cell-defined particle velocity. Animatable. Full Topic
func (EmitterLayer) Spin ¶
func (e_ EmitterLayer) Spin() float32
Defines a multiplier applied to the cell-defined particle spin. Animatable. Full Topic
func (EmitterLayer) Velocity ¶
func (e_ EmitterLayer) Velocity() float32
Defines a multiplier applied to the cell-defined particle velocity. Animatable. Full Topic
type EmitterLayerEmitterMode ¶
type EmitterLayerEmitterMode string
[Full Topic]
const ( KEmitterLayerOutline EmitterLayerEmitterMode = "outline" KEmitterLayerPoints EmitterLayerEmitterMode = "points" KEmitterLayerSurface EmitterLayerEmitterMode = "surface" KEmitterLayerVolume EmitterLayerEmitterMode = "volume" )
type EmitterLayerEmitterShape ¶
type EmitterLayerEmitterShape string
[Full Topic]
const ( KEmitterLayerCircle EmitterLayerEmitterShape = "circle" KEmitterLayerCuboid EmitterLayerEmitterShape = "cuboid" KEmitterLayerLine EmitterLayerEmitterShape = "line" KEmitterLayerPoint EmitterLayerEmitterShape = "point" KEmitterLayerRectangle EmitterLayerEmitterShape = "rectangle" KEmitterLayerSphere EmitterLayerEmitterShape = "sphere" )
type EmitterLayerRenderMode ¶
type EmitterLayerRenderMode string
[Full Topic]
const ( KEmitterLayerAdditive EmitterLayerRenderMode = "additive" KEmitterLayerBackToFront EmitterLayerRenderMode = "backToFront" KEmitterLayerOldestFirst EmitterLayerRenderMode = "oldestFirst" KEmitterLayerOldestLast EmitterLayerRenderMode = "oldestLast" KEmitterLayerUnordered EmitterLayerRenderMode = "unordered" )
type FrameRateRange ¶
[Full Topic]
type GradientLayer ¶
type GradientLayer struct {
Layer
}
A layer that draws a color gradient over its background color, filling the shape of the layer (including rounded corners) Full Topic
func GradientLayerFrom ¶
func GradientLayerFrom(ptr unsafe.Pointer) GradientLayer
func GradientLayer_Layer ¶
func GradientLayer_Layer() GradientLayer
Creates and returns an instance of the layer object. Full Topic
func GradientLayer_ModelLayer ¶
func GradientLayer_ModelLayer() GradientLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func GradientLayer_PresentationLayer ¶
func GradientLayer_PresentationLayer() GradientLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func NewGradientLayer ¶
func NewGradientLayer() GradientLayer
func NewGradientLayerWithLayer ¶
func NewGradientLayerWithLayer(layer objc.IObject) GradientLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func (GradientLayer) Colors ¶
func (g_ GradientLayer) Colors() []objc.Object
An array of CGColorRef objects defining the color of each gradient stop. Animatable. Full Topic
func (GradientLayer) EndPoint ¶
func (g_ GradientLayer) EndPoint() coregraphics.Point
The end point of the gradient when drawn in the layer’s coordinate space. Animatable. Full Topic
func (GradientLayer) Init ¶
func (g_ GradientLayer) Init() GradientLayer
func (GradientLayer) InitWithLayer ¶
func (g_ GradientLayer) InitWithLayer(layer objc.IObject) GradientLayer
func (GradientLayer) Locations ¶
func (g_ GradientLayer) Locations() []foundation.Number
An optional array of NSNumber objects defining the location of each gradient stop. Animatable. Full Topic
func (GradientLayer) ModelLayer ¶
func (g_ GradientLayer) ModelLayer() GradientLayer
func (GradientLayer) PresentationLayer ¶
func (g_ GradientLayer) PresentationLayer() GradientLayer
func (GradientLayer) SetColors ¶
func (g_ GradientLayer) SetColors(value []objc.IObject)
An array of CGColorRef objects defining the color of each gradient stop. Animatable. Full Topic
func (GradientLayer) SetEndPoint ¶
func (g_ GradientLayer) SetEndPoint(value coregraphics.Point)
The end point of the gradient when drawn in the layer’s coordinate space. Animatable. Full Topic
func (GradientLayer) SetLocations ¶
func (g_ GradientLayer) SetLocations(value []foundation.INumber)
An optional array of NSNumber objects defining the location of each gradient stop. Animatable. Full Topic
func (GradientLayer) SetStartPoint ¶
func (g_ GradientLayer) SetStartPoint(value coregraphics.Point)
The start point of the gradient when drawn in the layer’s coordinate space. Animatable. Full Topic
func (GradientLayer) SetType ¶
func (g_ GradientLayer) SetType(value GradientLayerType)
Style of gradient drawn by the layer. Full Topic
func (GradientLayer) StartPoint ¶
func (g_ GradientLayer) StartPoint() coregraphics.Point
The start point of the gradient when drawn in the layer’s coordinate space. Animatable. Full Topic
func (GradientLayer) Type ¶
func (g_ GradientLayer) Type() GradientLayerType
Style of gradient drawn by the layer. Full Topic
type GradientLayerType ¶
type GradientLayerType string
[Full Topic]
const ( KGradientLayerAxial GradientLayerType = "axial" KGradientLayerConic GradientLayerType = "conic" KGradientLayerRadial GradientLayerType = "radial" )
type IAnimation ¶
type IAnimation interface { objc.IObject ShouldArchiveValueForKey(key string) bool TimingFunction() MediaTimingFunction SetTimingFunction(value IMediaTimingFunction) FadeInDuration() float64 SetFadeInDuration(value float64) Delegate() AnimationDelegateObject SetDelegate(value PAnimationDelegate) SetDelegateObject(valueObject objc.IObject) PreferredFrameRateRange() FrameRateRange SetPreferredFrameRateRange(value FrameRateRange) FadeOutDuration() float64 SetFadeOutDuration(value float64) IsRemovedOnCompletion() bool SetRemovedOnCompletion(value bool) UsesSceneTimeBase() bool SetUsesSceneTimeBase(value bool) }
An interface definition for the Animation class.
type IAnimationGroup ¶
type IAnimationGroup interface { IAnimation Animations() []Animation SetAnimations(value []IAnimation) }
An interface definition for the AnimationGroup class.
type IBasicAnimation ¶
type IBasicAnimation interface { IPropertyAnimation ToValue() objc.Object SetToValue(value objc.IObject) FromValue() objc.Object SetFromValue(value objc.IObject) ByValue() objc.Object SetByValue(value objc.IObject) }
An interface definition for the BasicAnimation class.
type IConstraint ¶
type IConstraint interface { objc.IObject Attribute() ConstraintAttribute Scale() float64 SourceAttribute() ConstraintAttribute SourceName() string Offset() float64 }
An interface definition for the Constraint class.
type IConstraintLayoutManager ¶
An interface definition for the ConstraintLayoutManager class.
type IEDRMetadata ¶
An interface definition for the EDRMetadata class.
type IEmitterCell ¶
type IEmitterCell interface { objc.IObject ShouldArchiveValueForKey(key string) bool SpinRange() float64 SetSpinRange(value float64) GreenRange() float32 SetGreenRange(value float32) MagnificationFilter() string SetMagnificationFilter(value string) XAcceleration() float64 SetXAcceleration(value float64) AlphaRange() float32 SetAlphaRange(value float32) ScaleSpeed() float64 SetScaleSpeed(value float64) Contents() objc.Object SetContents(value objc.IObject) BirthRate() float32 SetBirthRate(value float32) EmitterCells() []EmitterCell SetEmitterCells(value []IEmitterCell) ContentsScale() float64 SetContentsScale(value float64) BlueRange() float32 SetBlueRange(value float32) MinificationFilterBias() float32 SetMinificationFilterBias(value float32) ScaleRange() float64 SetScaleRange(value float64) YAcceleration() float64 SetYAcceleration(value float64) VelocityRange() float64 SetVelocityRange(value float64) Name() string SetName(value string) Spin() float64 SetSpin(value float64) EmissionLongitude() float64 SetEmissionLongitude(value float64) Color() coregraphics.ColorRef SetColor(value coregraphics.ColorRef) BlueSpeed() float32 SetBlueSpeed(value float32) RedRange() float32 SetRedRange(value float32) ZAcceleration() float64 SetZAcceleration(value float64) LifetimeRange() float32 SetLifetimeRange(value float32) ContentsRect() coregraphics.Rect SetContentsRect(value coregraphics.Rect) Velocity() float64 SetVelocity(value float64) MinificationFilter() string SetMinificationFilter(value string) IsEnabled() bool SetEnabled(value bool) EmissionLatitude() float64 SetEmissionLatitude(value float64) Scale() float64 SetScale(value float64) RedSpeed() float32 SetRedSpeed(value float32) EmissionRange() float64 SetEmissionRange(value float64) AlphaSpeed() float32 SetAlphaSpeed(value float32) Lifetime() float32 SetLifetime(value float32) Style() foundation.Dictionary SetStyle(value foundation.Dictionary) GreenSpeed() float32 SetGreenSpeed(value float32) }
An interface definition for the EmitterCell class.
type IEmitterLayer ¶
type IEmitterLayer interface { ILayer EmitterSize() coregraphics.Size SetEmitterSize(value coregraphics.Size) Lifetime() float32 SetLifetime(value float32) RenderMode() EmitterLayerRenderMode SetRenderMode(value EmitterLayerRenderMode) EmitterDepth() float64 SetEmitterDepth(value float64) EmitterPosition() coregraphics.Point SetEmitterPosition(value coregraphics.Point) Scale() float32 SetScale(value float32) EmitterShape() EmitterLayerEmitterShape SetEmitterShape(value EmitterLayerEmitterShape) Spin() float32 SetSpin(value float32) Seed() int SetSeed(value int) EmitterMode() EmitterLayerEmitterMode SetEmitterMode(value EmitterLayerEmitterMode) EmitterZPosition() float64 SetEmitterZPosition(value float64) PreservesDepth() bool SetPreservesDepth(value bool) Velocity() float32 SetVelocity(value float32) EmitterCells() []EmitterCell SetEmitterCells(value []IEmitterCell) BirthRate() float32 SetBirthRate(value float32) }
An interface definition for the EmitterLayer class.
type IGradientLayer ¶
type IGradientLayer interface { ILayer EndPoint() coregraphics.Point SetEndPoint(value coregraphics.Point) Type() GradientLayerType SetType(value GradientLayerType) StartPoint() coregraphics.Point SetStartPoint(value coregraphics.Point) Colors() []objc.Object SetColors(value []objc.IObject) Locations() []foundation.Number SetLocations(value []foundation.INumber) }
An interface definition for the GradientLayer class.
type IKeyframeAnimation ¶
type IKeyframeAnimation interface { IPropertyAnimation CalculationMode() AnimationCalculationMode SetCalculationMode(value AnimationCalculationMode) BiasValues() []foundation.Number SetBiasValues(value []foundation.INumber) TensionValues() []foundation.Number SetTensionValues(value []foundation.INumber) KeyTimes() []foundation.Number SetKeyTimes(value []foundation.INumber) ContinuityValues() []foundation.Number SetContinuityValues(value []foundation.INumber) RotationMode() AnimationRotationMode SetRotationMode(value AnimationRotationMode) TimingFunctions() []MediaTimingFunction SetTimingFunctions(value []IMediaTimingFunction) Values() []objc.Object SetValues(value []objc.IObject) Path() unsafe.Pointer SetPath(value unsafe.Pointer) }
An interface definition for the KeyframeAnimation class.
type ILayer ¶
type ILayer interface { objc.IObject RenderInContext(ctx coregraphics.ContextRef) SetNeedsDisplayInRect(r coregraphics.Rect) RemoveFromSuperlayer() AnimationKeys() []string DisplayIfNeeded() Display() PreferredFrameSize() coregraphics.Size SetAffineTransform(m coregraphics.AffineTransform) ConvertPointFromLayer(p coregraphics.Point, l ILayer) coregraphics.Point HitTest(p coregraphics.Point) Layer LayoutSublayers() DrawInContext(ctx coregraphics.ContextRef) ConvertTimeFromLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval AddSublayer(layer ILayer) NeedsDisplay() bool AddConstraint(c IConstraint) AffineTransform() coregraphics.AffineTransform InsertSublayerAtIndex(layer ILayer, idx int) ContentsAreFlipped() bool ContainsPoint(p coregraphics.Point) bool ReplaceSublayerWith(oldLayer ILayer, newLayer ILayer) ScrollPoint(p coregraphics.Point) AddAnimationForKey(anim IAnimation, key string) RemoveAllAnimations() ConvertPointToLayer(p coregraphics.Point, l ILayer) coregraphics.Point SetNeedsDisplay() AnimationForKey(key string) Animation ConvertRectFromLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect ActionForKey(event string) ActionObject LayoutIfNeeded() SetNeedsLayout() NeedsLayout() bool ResizeWithOldSuperlayerSize(size coregraphics.Size) InsertSublayerBelow(layer ILayer, sibling ILayer) ScrollRectToVisible(r coregraphics.Rect) ConvertTimeToLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval InsertSublayerAbove(layer ILayer, sibling ILayer) ShouldArchiveValueForKey(key string) bool RemoveAnimationForKey(key string) ResizeSublayersWithOldSize(size coregraphics.Size) ConvertRectToLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect NeedsDisplayOnBoundsChange() bool SetNeedsDisplayOnBoundsChange(value bool) MasksToBounds() bool SetMasksToBounds(value bool) SublayerTransform() Transform3D SetSublayerTransform(value Transform3D) ShadowPath() unsafe.Pointer SetShadowPath(value unsafe.Pointer) MagnificationFilter() LayerContentsFilter SetMagnificationFilter(value LayerContentsFilter) Superlayer() Layer Filters() []objc.Object SetFilters(value []objc.IObject) Style() foundation.Dictionary SetStyle(value foundation.Dictionary) AnchorPoint() coregraphics.Point SetAnchorPoint(value coregraphics.Point) BorderColor() coregraphics.ColorRef SetBorderColor(value coregraphics.ColorRef) AllowsEdgeAntialiasing() bool SetAllowsEdgeAntialiasing(value bool) BorderWidth() float64 SetBorderWidth(value float64) Constraints() []Constraint SetConstraints(value []IConstraint) BackgroundColor() coregraphics.ColorRef SetBackgroundColor(value coregraphics.ColorRef) ContentsFormat() LayerContentsFormat SetContentsFormat(value LayerContentsFormat) CornerRadius() float64 SetCornerRadius(value float64) Bounds() coregraphics.Rect SetBounds(value coregraphics.Rect) Position() coregraphics.Point SetPosition(value coregraphics.Point) EdgeAntialiasingMask() EdgeAntialiasingMask SetEdgeAntialiasingMask(value EdgeAntialiasingMask) Opacity() float32 SetOpacity(value float32) MinificationFilter() LayerContentsFilter SetMinificationFilter(value LayerContentsFilter) BackgroundFilters() []objc.Object SetBackgroundFilters(value []objc.IObject) CompositingFilter() objc.Object SetCompositingFilter(value objc.IObject) ContentsRect() coregraphics.Rect SetContentsRect(value coregraphics.Rect) ShadowRadius() float64 SetShadowRadius(value float64) Actions() foundation.Dictionary SetActions(value foundation.Dictionary) Name() string SetName(value string) Contents() objc.Object SetContents(value objc.IObject) IsHidden() bool SetHidden(value bool) Sublayers() []Layer SetSublayers(value []ILayer) IsOpaque() bool SetOpaque(value bool) AllowsGroupOpacity() bool SetAllowsGroupOpacity(value bool) ContentsCenter() coregraphics.Rect SetContentsCenter(value coregraphics.Rect) LayoutManager() LayoutManagerObject SetLayoutManager(value PLayoutManager) SetLayoutManagerObject(valueObject objc.IObject) ContentsScale() float64 SetContentsScale(value float64) ShouldRasterize() bool SetShouldRasterize(value bool) MinificationFilterBias() float32 SetMinificationFilterBias(value float32) MaskedCorners() CornerMask SetMaskedCorners(value CornerMask) IsGeometryFlipped() bool SetGeometryFlipped(value bool) AutoresizingMask() AutoresizingMask SetAutoresizingMask(value AutoresizingMask) ContentsGravity() LayerContentsGravity SetContentsGravity(value LayerContentsGravity) ZPosition() float64 SetZPosition(value float64) ShadowColor() coregraphics.ColorRef SetShadowColor(value coregraphics.ColorRef) Transform() Transform3D SetTransform(value Transform3D) ShadowOffset() coregraphics.Size SetShadowOffset(value coregraphics.Size) DrawsAsynchronously() bool SetDrawsAsynchronously(value bool) Frame() coregraphics.Rect SetFrame(value coregraphics.Rect) VisibleRect() coregraphics.Rect AnchorPointZ() float64 SetAnchorPointZ(value float64) Mask() Layer SetMask(value ILayer) RasterizationScale() float64 SetRasterizationScale(value float64) CornerCurve() LayerCornerCurve SetCornerCurve(value LayerCornerCurve) ShadowOpacity() float32 SetShadowOpacity(value float32) Delegate() LayerDelegateObject SetDelegate(value PLayerDelegate) SetDelegateObject(valueObject objc.IObject) IsDoubleSided() bool SetDoubleSided(value bool) }
An interface definition for the Layer class.
type IMediaTimingFunction ¶
type IMediaTimingFunction interface { objc.IObject GetControlPointAtIndexValues(idx uint, ptr *float32) }
An interface definition for the MediaTimingFunction class.
type IMetalLayer ¶
type IMetalLayer interface { ILayer NextDrawable() MetalDrawableObject AllowsNextDrawableTimeout() bool SetAllowsNextDrawableTimeout(value bool) PreferredDevice() metal.DeviceObject PixelFormat() metal.PixelFormat SetPixelFormat(value metal.PixelFormat) DisplaySyncEnabled() bool SetDisplaySyncEnabled(value bool) PresentsWithTransaction() bool SetPresentsWithTransaction(value bool) EDRMetadata() EDRMetadata SetEDRMetadata(value IEDRMetadata) Colorspace() coregraphics.ColorSpaceRef SetColorspace(value coregraphics.ColorSpaceRef) WantsExtendedDynamicRangeContent() bool SetWantsExtendedDynamicRangeContent(value bool) MaximumDrawableCount() uint SetMaximumDrawableCount(value uint) Device() metal.DeviceObject SetDevice(value metal.PDevice) SetDeviceObject(valueObject objc.IObject) FramebufferOnly() bool SetFramebufferOnly(value bool) DrawableSize() coregraphics.Size SetDrawableSize(value coregraphics.Size) }
An interface definition for the MetalLayer class.
type IOpenGLLayer ¶
type IOpenGLLayer interface { ILayer }
An interface definition for the OpenGLLayer class.
type IPropertyAnimation ¶
type IPropertyAnimation interface { IAnimation ValueFunction() ValueFunction SetValueFunction(value IValueFunction) IsCumulative() bool SetCumulative(value bool) IsAdditive() bool SetAdditive(value bool) KeyPath() string SetKeyPath(value string) }
An interface definition for the PropertyAnimation class.
type IRemoteLayerClient ¶
type IRemoteLayerClient interface { objc.IObject Invalidate() ClientId() uint32 Layer() Layer SetLayer(value ILayer) }
An interface definition for the RemoteLayerClient class.
type IRemoteLayerServer ¶
An interface definition for the RemoteLayerServer class.
type IRenderer ¶
type IRenderer interface { objc.IObject BeginFrameAtTimeTimeStamp(t corefoundation.TimeInterval, ts *corevideo.TimeStamp) EndFrame() UpdateBounds() coregraphics.Rect AddUpdateRect(r coregraphics.Rect) NextFrameTime() corefoundation.TimeInterval Render() SetDestination(tex metal.PTexture) SetDestinationObject(texObject objc.IObject) Bounds() coregraphics.Rect SetBounds(value coregraphics.Rect) Layer() Layer SetLayer(value ILayer) }
An interface definition for the Renderer class.
type IReplicatorLayer ¶
type IReplicatorLayer interface { ILayer InstanceRedOffset() float32 SetInstanceRedOffset(value float32) InstanceBlueOffset() float32 SetInstanceBlueOffset(value float32) InstanceDelay() corefoundation.TimeInterval SetInstanceDelay(value corefoundation.TimeInterval) InstanceCount() int SetInstanceCount(value int) InstanceAlphaOffset() float32 SetInstanceAlphaOffset(value float32) InstanceColor() coregraphics.ColorRef SetInstanceColor(value coregraphics.ColorRef) PreservesDepth() bool SetPreservesDepth(value bool) InstanceGreenOffset() float32 SetInstanceGreenOffset(value float32) InstanceTransform() Transform3D SetInstanceTransform(value Transform3D) }
An interface definition for the ReplicatorLayer class.
type IScrollLayer ¶
type IScrollLayer interface { ILayer ScrollToPoint(p coregraphics.Point) ScrollToRect(r coregraphics.Rect) ScrollMode() ScrollLayerScrollMode SetScrollMode(value ScrollLayerScrollMode) }
An interface definition for the ScrollLayer class.
type IShapeLayer ¶
type IShapeLayer interface { ILayer LineCap() ShapeLayerLineCap SetLineCap(value ShapeLayerLineCap) LineDashPattern() []foundation.Number SetLineDashPattern(value []foundation.INumber) StrokeColor() coregraphics.ColorRef SetStrokeColor(value coregraphics.ColorRef) MiterLimit() float64 SetMiterLimit(value float64) StrokeEnd() float64 SetStrokeEnd(value float64) LineJoin() ShapeLayerLineJoin SetLineJoin(value ShapeLayerLineJoin) StrokeStart() float64 SetStrokeStart(value float64) FillColor() coregraphics.ColorRef SetFillColor(value coregraphics.ColorRef) LineWidth() float64 SetLineWidth(value float64) LineDashPhase() float64 SetLineDashPhase(value float64) FillRule() ShapeLayerFillRule SetFillRule(value ShapeLayerFillRule) Path() unsafe.Pointer SetPath(value unsafe.Pointer) }
An interface definition for the ShapeLayer class.
type ISpringAnimation ¶
type ISpringAnimation interface { IBasicAnimation SettlingDuration() corefoundation.TimeInterval Stiffness() float64 SetStiffness(value float64) Damping() float64 SetDamping(value float64) Mass() float64 SetMass(value float64) InitialVelocity() float64 SetInitialVelocity(value float64) }
An interface definition for the SpringAnimation class.
type ITextLayer ¶
type ITextLayer interface { ILayer AlignmentMode() TextLayerAlignmentMode SetAlignmentMode(value TextLayerAlignmentMode) String() objc.Object SetString(value objc.IObject) Font() corefoundation.TypeRef SetFont(value corefoundation.TypeRef) FontSize() float64 SetFontSize(value float64) AllowsFontSubpixelQuantization() bool SetAllowsFontSubpixelQuantization(value bool) IsWrapped() bool SetWrapped(value bool) TruncationMode() TextLayerTruncationMode SetTruncationMode(value TextLayerTruncationMode) ForegroundColor() coregraphics.ColorRef SetForegroundColor(value coregraphics.ColorRef) }
An interface definition for the TextLayer class.
type ITiledLayer ¶
type ITiledLayer interface { ILayer LevelsOfDetail() uint SetLevelsOfDetail(value uint) TileSize() coregraphics.Size SetTileSize(value coregraphics.Size) LevelsOfDetailBias() uint SetLevelsOfDetailBias(value uint) }
An interface definition for the TiledLayer class.
type ITransaction ¶
An interface definition for the Transaction class.
type ITransformLayer ¶
type ITransformLayer interface { ILayer }
An interface definition for the TransformLayer class.
type ITransition ¶
type ITransition interface { IAnimation StartProgress() float32 SetStartProgress(value float32) EndProgress() float32 SetEndProgress(value float32) Subtype() TransitionSubtype SetSubtype(value TransitionSubtype) Filter() objc.Object SetFilter(value objc.IObject) Type() TransitionType SetType(value TransitionType) }
An interface definition for the Transition class.
type IValueFunction ¶
type IValueFunction interface { objc.IObject Name() ValueFunctionName }
An interface definition for the ValueFunction class.
type KeyframeAnimation ¶
type KeyframeAnimation struct {
PropertyAnimation
}
An object that provides keyframe animation capabilities for a layer object. Full Topic
func KeyframeAnimationFrom ¶
func KeyframeAnimationFrom(ptr unsafe.Pointer) KeyframeAnimation
func KeyframeAnimation_Animation ¶
func KeyframeAnimation_Animation() KeyframeAnimation
Creates and returns a new CAAnimation instance. Full Topic
func KeyframeAnimation_AnimationWithKeyPath ¶
func KeyframeAnimation_AnimationWithKeyPath(path string) KeyframeAnimation
Creates and returns an CAPropertyAnimation instance for the specified key path. Full Topic
func NewKeyframeAnimation ¶
func NewKeyframeAnimation() KeyframeAnimation
func (KeyframeAnimation) BiasValues ¶
func (k_ KeyframeAnimation) BiasValues() []foundation.Number
An array of NSNumber objects that define the position of the curve relative to a control point. Full Topic
func (KeyframeAnimation) CalculationMode ¶
func (k_ KeyframeAnimation) CalculationMode() AnimationCalculationMode
Specifies how intermediate keyframe values are calculated by the receiver. Full Topic
func (KeyframeAnimation) ContinuityValues ¶
func (k_ KeyframeAnimation) ContinuityValues() []foundation.Number
An array of NSNumber objects that define the sharpness of the timing curve’s corners. Full Topic
func (KeyframeAnimation) Init ¶
func (k_ KeyframeAnimation) Init() KeyframeAnimation
func (KeyframeAnimation) KeyTimes ¶
func (k_ KeyframeAnimation) KeyTimes() []foundation.Number
An optional array of NSNumber objects that define the time at which to apply a given keyframe segment. Full Topic
func (KeyframeAnimation) Path ¶
func (k_ KeyframeAnimation) Path() unsafe.Pointer
The path for a point-based property to follow. Full Topic
func (KeyframeAnimation) RotationMode ¶
func (k_ KeyframeAnimation) RotationMode() AnimationRotationMode
Determines whether objects animating along the path rotate to match the path tangent. Full Topic
func (KeyframeAnimation) SetBiasValues ¶
func (k_ KeyframeAnimation) SetBiasValues(value []foundation.INumber)
An array of NSNumber objects that define the position of the curve relative to a control point. Full Topic
func (KeyframeAnimation) SetCalculationMode ¶
func (k_ KeyframeAnimation) SetCalculationMode(value AnimationCalculationMode)
Specifies how intermediate keyframe values are calculated by the receiver. Full Topic
func (KeyframeAnimation) SetContinuityValues ¶
func (k_ KeyframeAnimation) SetContinuityValues(value []foundation.INumber)
An array of NSNumber objects that define the sharpness of the timing curve’s corners. Full Topic
func (KeyframeAnimation) SetKeyTimes ¶
func (k_ KeyframeAnimation) SetKeyTimes(value []foundation.INumber)
An optional array of NSNumber objects that define the time at which to apply a given keyframe segment. Full Topic
func (KeyframeAnimation) SetPath ¶
func (k_ KeyframeAnimation) SetPath(value unsafe.Pointer)
The path for a point-based property to follow. Full Topic
func (KeyframeAnimation) SetRotationMode ¶
func (k_ KeyframeAnimation) SetRotationMode(value AnimationRotationMode)
Determines whether objects animating along the path rotate to match the path tangent. Full Topic
func (KeyframeAnimation) SetTensionValues ¶
func (k_ KeyframeAnimation) SetTensionValues(value []foundation.INumber)
An array of NSNumber objects that define the tightness of the curve. Full Topic
func (KeyframeAnimation) SetTimingFunctions ¶
func (k_ KeyframeAnimation) SetTimingFunctions(value []IMediaTimingFunction)
An optional array of CAMediaTimingFunction objects that define the pacing for each keyframe segment. Full Topic
func (KeyframeAnimation) SetValues ¶
func (k_ KeyframeAnimation) SetValues(value []objc.IObject)
An array of objects that specify the keyframe values to use for the animation. Full Topic
func (KeyframeAnimation) TensionValues ¶
func (k_ KeyframeAnimation) TensionValues() []foundation.Number
An array of NSNumber objects that define the tightness of the curve. Full Topic
func (KeyframeAnimation) TimingFunctions ¶
func (k_ KeyframeAnimation) TimingFunctions() []MediaTimingFunction
An optional array of CAMediaTimingFunction objects that define the pacing for each keyframe segment. Full Topic
func (KeyframeAnimation) Values ¶
func (k_ KeyframeAnimation) Values() []objc.Object
An array of objects that specify the keyframe values to use for the animation. Full Topic
type Layer ¶
An object that manages image-based content and allows you to perform animations on that content. Full Topic
func Layer_Layer ¶
func Layer_Layer() Layer
Creates and returns an instance of the layer object. Full Topic
func Layer_LayerWithRemoteClientId ¶
Initializes a layer with a remote client ID. Full Topic
func Layer_ModelLayer ¶
func Layer_ModelLayer() Layer
Returns the model layer object associated with the receiver, if any. Full Topic
func Layer_PresentationLayer ¶
func Layer_PresentationLayer() Layer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func NewLayerWithLayer ¶
Override to copy or initialize custom fields of the specified layer. Full Topic
func (Layer) ActionForKey ¶
func (l_ Layer) ActionForKey(event string) ActionObject
Returns the action object assigned to the specified key. Full Topic
func (Layer) Actions ¶
func (l_ Layer) Actions() foundation.Dictionary
A dictionary containing layer actions. Full Topic
func (Layer) AddAnimationForKey ¶
func (l_ Layer) AddAnimationForKey(anim IAnimation, key string)
Add the specified animation object to the layer’s render tree. Full Topic
func (Layer) AddConstraint ¶
func (l_ Layer) AddConstraint(c IConstraint)
Adds the specified constraint to the layer. Full Topic
func (Layer) AddSublayer ¶
Appends the layer to the layer’s list of sublayers. Full Topic
func (Layer) AffineTransform ¶
func (l_ Layer) AffineTransform() coregraphics.AffineTransform
Returns an affine version of the layer’s transform. Full Topic
func (Layer) AllowsEdgeAntialiasing ¶
A Boolean indicating whether the layer is allowed to perform edge antialiasing. Full Topic
func (Layer) AllowsGroupOpacity ¶
A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. Full Topic
func (Layer) AnchorPoint ¶
func (l_ Layer) AnchorPoint() coregraphics.Point
Defines the anchor point of the layer's bounds rectangle. Animatable. Full Topic
func (Layer) AnchorPointZ ¶
The anchor point for the layer’s position along the z axis. Animatable. Full Topic
func (Layer) AnimationForKey ¶
Returns the animation object with the specified identifier. Full Topic
func (Layer) AnimationKeys ¶
Returns an array of strings that identify the animations currently attached to the layer. Full Topic
func (Layer) AutoresizingMask ¶
func (l_ Layer) AutoresizingMask() AutoresizingMask
A bitmask defining how the layer is resized when the bounds of its superlayer changes. Full Topic
func (Layer) BackgroundColor ¶
func (l_ Layer) BackgroundColor() coregraphics.ColorRef
The background color of the receiver. Animatable. Full Topic
func (Layer) BackgroundFilters ¶
An array of Core Image filters to apply to the content immediately behind the layer. Animatable. Full Topic
func (Layer) BorderColor ¶
func (l_ Layer) BorderColor() coregraphics.ColorRef
The color of the layer’s border. Animatable. Full Topic
func (Layer) BorderWidth ¶
The width of the layer’s border. Animatable. Full Topic
func (Layer) Bounds ¶
func (l_ Layer) Bounds() coregraphics.Rect
The layer’s bounds rectangle. Animatable. Full Topic
func (Layer) CompositingFilter ¶
A CoreImage filter used to composite the layer and the content behind it. Animatable. Full Topic
func (Layer) Constraints ¶
func (l_ Layer) Constraints() []Constraint
The constraints used to position current layer’s sublayers. Full Topic
func (Layer) ContainsPoint ¶
func (l_ Layer) ContainsPoint(p coregraphics.Point) bool
Returns whether the receiver contains a specified point. Full Topic
func (Layer) Contents ¶
An object that provides the contents of the layer. Animatable. Full Topic
func (Layer) ContentsAreFlipped ¶
Returns a Boolean indicating whether the layer content is implicitly flipped when rendered. Full Topic
func (Layer) ContentsCenter ¶
func (l_ Layer) ContentsCenter() coregraphics.Rect
The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. Full Topic
func (Layer) ContentsFormat ¶
func (l_ Layer) ContentsFormat() LayerContentsFormat
A hint for the desired storage format of the layer contents. Full Topic
func (Layer) ContentsGravity ¶
func (l_ Layer) ContentsGravity() LayerContentsGravity
A constant that specifies how the layer's contents are positioned or scaled within its bounds. Full Topic
func (Layer) ContentsRect ¶
func (l_ Layer) ContentsRect() coregraphics.Rect
The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. Full Topic
func (Layer) ContentsScale ¶
The scale factor applied to the layer. Full Topic
func (Layer) ConvertPointFromLayer ¶
func (l_ Layer) ConvertPointFromLayer(p coregraphics.Point, l ILayer) coregraphics.Point
Converts the point from the specified layer’s coordinate system to the receiver’s coordinate system. Full Topic
func (Layer) ConvertPointToLayer ¶
func (l_ Layer) ConvertPointToLayer(p coregraphics.Point, l ILayer) coregraphics.Point
Converts the point from the receiver’s coordinate system to the specified layer’s coordinate system. Full Topic
func (Layer) ConvertRectFromLayer ¶
func (l_ Layer) ConvertRectFromLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect
Converts the rectangle from the specified layer’s coordinate system to the receiver’s coordinate system. Full Topic
func (Layer) ConvertRectToLayer ¶
func (l_ Layer) ConvertRectToLayer(r coregraphics.Rect, l ILayer) coregraphics.Rect
Converts the rectangle from the receiver’s coordinate system to the specified layer’s coordinate system. Full Topic
func (Layer) ConvertTimeFromLayer ¶
func (l_ Layer) ConvertTimeFromLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval
Converts the time interval from the specified layer’s time space to the receiver’s time space. Full Topic
func (Layer) ConvertTimeToLayer ¶
func (l_ Layer) ConvertTimeToLayer(t corefoundation.TimeInterval, l ILayer) corefoundation.TimeInterval
Converts the time interval from the receiver’s time space to the specified layer’s time space Full Topic
func (Layer) CornerRadius ¶
The radius to use when drawing rounded corners for the layer’s background. Animatable. Full Topic
func (Layer) Delegate ¶
func (l_ Layer) Delegate() LayerDelegateObject
The layer’s delegate object. Full Topic
func (Layer) DisplayIfNeeded ¶
func (l_ Layer) DisplayIfNeeded()
Initiates the update process for a layer if it is currently marked as needing an update. Full Topic
func (Layer) DrawInContext ¶
func (l_ Layer) DrawInContext(ctx coregraphics.ContextRef)
Draws the layer’s content using the specified graphics context. Full Topic
func (Layer) DrawsAsynchronously ¶
A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. Full Topic
func (Layer) EdgeAntialiasingMask ¶
func (l_ Layer) EdgeAntialiasingMask() EdgeAntialiasingMask
A bitmask defining how the edges of the receiver are rasterized. Full Topic
func (Layer) Filters ¶
An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. Full Topic
func (Layer) Frame ¶
func (l_ Layer) Frame() coregraphics.Rect
The layer’s frame rectangle. Full Topic
func (Layer) HitTest ¶
func (l_ Layer) HitTest(p coregraphics.Point) Layer
Returns the farthest descendant of the receiver in the layer hierarchy (including itself) that contains the specified point. Full Topic
func (Layer) InsertSublayerAbove ¶
Inserts the specified sublayer above a different sublayer that already belongs to the receiver. Full Topic
func (Layer) InsertSublayerAtIndex ¶
Inserts the specified layer into the receiver’s list of sublayers at the specified index. Full Topic
func (Layer) InsertSublayerBelow ¶
Inserts the specified sublayer below a different sublayer that already belongs to the receiver. Full Topic
func (Layer) IsDoubleSided ¶
A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. Full Topic
func (Layer) IsGeometryFlipped ¶
A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. Full Topic
func (Layer) IsHidden ¶
A Boolean indicating whether the layer is displayed. Animatable. Full Topic
func (Layer) IsOpaque ¶
A Boolean value indicating whether the layer contains completely opaque content. Full Topic
func (Layer) LayoutIfNeeded ¶
func (l_ Layer) LayoutIfNeeded()
Recalculate the receiver’s layout, if required. Full Topic
func (Layer) LayoutManager ¶
func (l_ Layer) LayoutManager() LayoutManagerObject
The object responsible for laying out the layer’s sublayers. Full Topic
func (Layer) LayoutSublayers ¶
func (l_ Layer) LayoutSublayers()
Tells the layer to update its layout. Full Topic
func (Layer) MagnificationFilter ¶
func (l_ Layer) MagnificationFilter() LayerContentsFilter
The filter used when increasing the size of the content. Full Topic
func (Layer) Mask ¶
An optional layer whose alpha channel is used to mask the layer’s content. Full Topic
func (Layer) MasksToBounds ¶
A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. Full Topic
func (Layer) MinificationFilter ¶
func (l_ Layer) MinificationFilter() LayerContentsFilter
The filter used when reducing the size of the content. Full Topic
func (Layer) MinificationFilterBias ¶
The bias factor used by the minification filter to determine the levels of detail. Full Topic
func (Layer) ModelLayer ¶
func (Layer) NeedsDisplay ¶
Returns a Boolean indicating whether the layer has been marked as needing an update. Full Topic
func (Layer) NeedsDisplayOnBoundsChange ¶
A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. Full Topic
func (Layer) NeedsLayout ¶
Returns a Boolean indicating whether the layer has been marked as needing a layout update. Full Topic
func (Layer) Opacity ¶
The opacity of the receiver. Animatable. Full Topic
func (Layer) Position ¶
func (l_ Layer) Position() coregraphics.Point
The layer’s position in its superlayer’s coordinate space. Animatable. Full Topic
func (Layer) PreferredFrameSize ¶
func (l_ Layer) PreferredFrameSize() coregraphics.Size
Returns the preferred size of the layer in the coordinate space of its superlayer. Full Topic
func (Layer) PresentationLayer ¶
func (Layer) RasterizationScale ¶
The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable Full Topic
func (Layer) RemoveAllAnimations ¶
func (l_ Layer) RemoveAllAnimations()
Remove all animations attached to the layer. Full Topic
func (Layer) RemoveAnimationForKey ¶
Remove the animation object with the specified key. Full Topic
func (Layer) RemoveFromSuperlayer ¶
func (l_ Layer) RemoveFromSuperlayer()
Detaches the layer from its parent layer. Full Topic
func (Layer) RenderInContext ¶
func (l_ Layer) RenderInContext(ctx coregraphics.ContextRef)
Renders the layer and its sublayers into the specified context. Full Topic
func (Layer) ReplaceSublayerWith ¶
Replaces the specified sublayer with a different layer object. Full Topic
func (Layer) ResizeSublayersWithOldSize ¶
func (l_ Layer) ResizeSublayersWithOldSize(size coregraphics.Size)
Informs the receiver’s sublayers that the receiver’s size has changed. Full Topic
func (Layer) ResizeWithOldSuperlayerSize ¶
func (l_ Layer) ResizeWithOldSuperlayerSize(size coregraphics.Size)
Informs the receiver that the size of its superlayer changed. Full Topic
func (Layer) ScrollPoint ¶
func (l_ Layer) ScrollPoint(p coregraphics.Point)
Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified point lies at the origin of the scroll layer. Full Topic
func (Layer) ScrollRectToVisible ¶
func (l_ Layer) ScrollRectToVisible(r coregraphics.Rect)
Initiates a scroll in the layer’s closest ancestor scroll layer so that the specified rectangle becomes visible. Full Topic
func (Layer) SetActions ¶
func (l_ Layer) SetActions(value foundation.Dictionary)
A dictionary containing layer actions. Full Topic
func (Layer) SetAffineTransform ¶
func (l_ Layer) SetAffineTransform(m coregraphics.AffineTransform)
Sets the layer’s transform to the specified affine transform. Full Topic
func (Layer) SetAllowsEdgeAntialiasing ¶
A Boolean indicating whether the layer is allowed to perform edge antialiasing. Full Topic
func (Layer) SetAllowsGroupOpacity ¶
A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent. Full Topic
func (Layer) SetAnchorPoint ¶
func (l_ Layer) SetAnchorPoint(value coregraphics.Point)
Defines the anchor point of the layer's bounds rectangle. Animatable. Full Topic
func (Layer) SetAnchorPointZ ¶
The anchor point for the layer’s position along the z axis. Animatable. Full Topic
func (Layer) SetAutoresizingMask ¶
func (l_ Layer) SetAutoresizingMask(value AutoresizingMask)
A bitmask defining how the layer is resized when the bounds of its superlayer changes. Full Topic
func (Layer) SetBackgroundColor ¶
func (l_ Layer) SetBackgroundColor(value coregraphics.ColorRef)
The background color of the receiver. Animatable. Full Topic
func (Layer) SetBackgroundFilters ¶
An array of Core Image filters to apply to the content immediately behind the layer. Animatable. Full Topic
func (Layer) SetBorderColor ¶
func (l_ Layer) SetBorderColor(value coregraphics.ColorRef)
The color of the layer’s border. Animatable. Full Topic
func (Layer) SetBorderWidth ¶
The width of the layer’s border. Animatable. Full Topic
func (Layer) SetBounds ¶
func (l_ Layer) SetBounds(value coregraphics.Rect)
The layer’s bounds rectangle. Animatable. Full Topic
func (Layer) SetCompositingFilter ¶
A CoreImage filter used to composite the layer and the content behind it. Animatable. Full Topic
func (Layer) SetConstraints ¶
func (l_ Layer) SetConstraints(value []IConstraint)
The constraints used to position current layer’s sublayers. Full Topic
func (Layer) SetContents ¶
An object that provides the contents of the layer. Animatable. Full Topic
func (Layer) SetContentsCenter ¶
func (l_ Layer) SetContentsCenter(value coregraphics.Rect)
The rectangle that defines how the layer contents are scaled if the layer’s contents are resized. Animatable. Full Topic
func (Layer) SetContentsFormat ¶
func (l_ Layer) SetContentsFormat(value LayerContentsFormat)
A hint for the desired storage format of the layer contents. Full Topic
func (Layer) SetContentsGravity ¶
func (l_ Layer) SetContentsGravity(value LayerContentsGravity)
A constant that specifies how the layer's contents are positioned or scaled within its bounds. Full Topic
func (Layer) SetContentsRect ¶
func (l_ Layer) SetContentsRect(value coregraphics.Rect)
The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable. Full Topic
func (Layer) SetContentsScale ¶
The scale factor applied to the layer. Full Topic
func (Layer) SetCornerRadius ¶
The radius to use when drawing rounded corners for the layer’s background. Animatable. Full Topic
func (Layer) SetDelegate ¶
func (l_ Layer) SetDelegate(value PLayerDelegate)
The layer’s delegate object. Full Topic
func (Layer) SetDelegateObject ¶
The layer’s delegate object. Full Topic
func (Layer) SetDoubleSided ¶
A Boolean indicating whether the layer displays its content when facing away from the viewer. Animatable. Full Topic
func (Layer) SetDrawsAsynchronously ¶
A Boolean indicating whether drawing commands are deferred and processed asynchronously in a background thread. Full Topic
func (Layer) SetEdgeAntialiasingMask ¶
func (l_ Layer) SetEdgeAntialiasingMask(value EdgeAntialiasingMask)
A bitmask defining how the edges of the receiver are rasterized. Full Topic
func (Layer) SetFilters ¶
An array of Core Image filters to apply to the contents of the layer and its sublayers. Animatable. Full Topic
func (Layer) SetFrame ¶
func (l_ Layer) SetFrame(value coregraphics.Rect)
The layer’s frame rectangle. Full Topic
func (Layer) SetGeometryFlipped ¶
A Boolean that indicates whether the geometry of the layer and its sublayers is flipped vertically. Full Topic
func (Layer) SetHidden ¶
A Boolean indicating whether the layer is displayed. Animatable. Full Topic
func (Layer) SetLayoutManager ¶
func (l_ Layer) SetLayoutManager(value PLayoutManager)
The object responsible for laying out the layer’s sublayers. Full Topic
func (Layer) SetLayoutManagerObject ¶
The object responsible for laying out the layer’s sublayers. Full Topic
func (Layer) SetMagnificationFilter ¶
func (l_ Layer) SetMagnificationFilter(value LayerContentsFilter)
The filter used when increasing the size of the content. Full Topic
func (Layer) SetMask ¶
An optional layer whose alpha channel is used to mask the layer’s content. Full Topic
func (Layer) SetMasksToBounds ¶
A Boolean indicating whether sublayers are clipped to the layer’s bounds. Animatable. Full Topic
func (Layer) SetMinificationFilter ¶
func (l_ Layer) SetMinificationFilter(value LayerContentsFilter)
The filter used when reducing the size of the content. Full Topic
func (Layer) SetMinificationFilterBias ¶
The bias factor used by the minification filter to determine the levels of detail. Full Topic
func (Layer) SetNeedsDisplay ¶
func (l_ Layer) SetNeedsDisplay()
Marks the layer’s contents as needing to be updated. Full Topic
func (Layer) SetNeedsDisplayInRect ¶
func (l_ Layer) SetNeedsDisplayInRect(r coregraphics.Rect)
Marks the region within the specified rectangle as needing to be updated. Full Topic
func (Layer) SetNeedsDisplayOnBoundsChange ¶
A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes. Full Topic
func (Layer) SetNeedsLayout ¶
func (l_ Layer) SetNeedsLayout()
Invalidates the layer’s layout and marks it as needing an update. Full Topic
func (Layer) SetOpacity ¶
The opacity of the receiver. Animatable. Full Topic
func (Layer) SetOpaque ¶
A Boolean value indicating whether the layer contains completely opaque content. Full Topic
func (Layer) SetPosition ¶
func (l_ Layer) SetPosition(value coregraphics.Point)
The layer’s position in its superlayer’s coordinate space. Animatable. Full Topic
func (Layer) SetRasterizationScale ¶
The scale at which to rasterize content, relative to the coordinate space of the layer. Animatable Full Topic
func (Layer) SetShadowColor ¶
func (l_ Layer) SetShadowColor(value coregraphics.ColorRef)
The color of the layer’s shadow. Animatable. Full Topic
func (Layer) SetShadowOffset ¶
func (l_ Layer) SetShadowOffset(value coregraphics.Size)
The offset (in points) of the layer’s shadow. Animatable. Full Topic
func (Layer) SetShadowOpacity ¶
The opacity of the layer’s shadow. Animatable. Full Topic
func (Layer) SetShadowPath ¶
The shape of the layer’s shadow. Animatable. Full Topic
func (Layer) SetShadowRadius ¶
The blur radius (in points) used to render the layer’s shadow. Animatable. Full Topic
func (Layer) SetShouldRasterize ¶
A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable Full Topic
func (Layer) SetStyle ¶
func (l_ Layer) SetStyle(value foundation.Dictionary)
An optional dictionary used to store property values that aren't explicitly defined by the layer. Full Topic
func (Layer) SetSublayerTransform ¶
func (l_ Layer) SetSublayerTransform(value Transform3D)
Specifies the transform to apply to sublayers when rendering. Animatable. Full Topic
func (Layer) SetSublayers ¶
An array containing the layer’s sublayers. Full Topic
func (Layer) SetTransform ¶
func (l_ Layer) SetTransform(value Transform3D)
The transform applied to the layer’s contents. Animatable. Full Topic
func (Layer) SetZPosition ¶
The layer’s position on the z axis. Animatable. Full Topic
func (Layer) ShadowColor ¶
func (l_ Layer) ShadowColor() coregraphics.ColorRef
The color of the layer’s shadow. Animatable. Full Topic
func (Layer) ShadowOffset ¶
func (l_ Layer) ShadowOffset() coregraphics.Size
The offset (in points) of the layer’s shadow. Animatable. Full Topic
func (Layer) ShadowOpacity ¶
The opacity of the layer’s shadow. Animatable. Full Topic
func (Layer) ShadowPath ¶
The shape of the layer’s shadow. Animatable. Full Topic
func (Layer) ShadowRadius ¶
The blur radius (in points) used to render the layer’s shadow. Animatable. Full Topic
func (Layer) ShouldArchiveValueForKey ¶
Returns a Boolean indicating whether the value of the specified key should be archived. Full Topic
func (Layer) ShouldRasterize ¶
A Boolean that indicates whether the layer is rendered as a bitmap before compositing. Animatable Full Topic
func (Layer) Style ¶
func (l_ Layer) Style() foundation.Dictionary
An optional dictionary used to store property values that aren't explicitly defined by the layer. Full Topic
func (Layer) SublayerTransform ¶
func (l_ Layer) SublayerTransform() Transform3D
Specifies the transform to apply to sublayers when rendering. Animatable. Full Topic
func (Layer) Sublayers ¶
An array containing the layer’s sublayers. Full Topic
func (Layer) Superlayer ¶
The superlayer of the layer. Full Topic
func (Layer) Transform ¶
func (l_ Layer) Transform() Transform3D
The transform applied to the layer’s contents. Animatable. Full Topic
func (Layer) VisibleRect ¶
func (l_ Layer) VisibleRect() coregraphics.Rect
The visible region of the layer in its own coordinate space. Full Topic
func (Layer) ZPosition ¶
The layer’s position on the z axis. Animatable. Full Topic
type LayerContentsFilter ¶
type LayerContentsFilter string
[Full Topic]
const ( KFilterLinear LayerContentsFilter = "linear" KFilterNearest LayerContentsFilter = "nearest" KFilterTrilinear LayerContentsFilter = "trilinear" )
type LayerContentsFormat ¶
type LayerContentsFormat string
[Full Topic]
const ( KContentsFormatGray8Uint LayerContentsFormat = "Gray8" KContentsFormatRGBA16Float LayerContentsFormat = "RGBAh" KContentsFormatRGBA8Uint LayerContentsFormat = "RGBA8" )
type LayerContentsGravity ¶
type LayerContentsGravity string
[Full Topic]
const ( KGravityBottom LayerContentsGravity = "bottom" KGravityBottomLeft LayerContentsGravity = "bottomLeft" KGravityBottomRight LayerContentsGravity = "bottomRight" KGravityCenter LayerContentsGravity = "center" KGravityLeft LayerContentsGravity = "left" KGravityResize LayerContentsGravity = "resize" KGravityResizeAspect LayerContentsGravity = "resizeAspect" KGravityResizeAspectFill LayerContentsGravity = "resizeAspectFill" KGravityRight LayerContentsGravity = "right" KGravityTop LayerContentsGravity = "top" KGravityTopLeft LayerContentsGravity = "topLeft" KGravityTopRight LayerContentsGravity = "topRight" )
type LayerCornerCurve ¶
type LayerCornerCurve string
[Full Topic]
const ( KCornerCurveCircular LayerCornerCurve = "circular" KCornerCurveContinuous LayerCornerCurve = "continuous" )
type LayerDelegate ¶
type LayerDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PLayerDelegate protocol.
func (*LayerDelegate) ActionForLayerForKey ¶
func (di *LayerDelegate) ActionForLayerForKey(layer Layer, event string) ActionObject
Returns the default action of the quartzcore/calayer/actionforkey method. Full Topic
func (*LayerDelegate) DisplayLayer ¶
func (di *LayerDelegate) DisplayLayer(layer Layer)
Tells the delegate to implement the display process. Full Topic
func (*LayerDelegate) DrawLayerInContext ¶
func (di *LayerDelegate) DrawLayerInContext(layer Layer, ctx coregraphics.ContextRef)
Tells the delegate to implement the display process using the layer's CGContextRef. Full Topic
func (*LayerDelegate) HasActionForLayerForKey ¶
func (di *LayerDelegate) HasActionForLayerForKey() bool
func (*LayerDelegate) HasDisplayLayer ¶
func (di *LayerDelegate) HasDisplayLayer() bool
func (*LayerDelegate) HasDrawLayerInContext ¶
func (di *LayerDelegate) HasDrawLayerInContext() bool
func (*LayerDelegate) HasLayerWillDraw ¶
func (di *LayerDelegate) HasLayerWillDraw() bool
func (*LayerDelegate) HasLayoutSublayersOfLayer ¶
func (di *LayerDelegate) HasLayoutSublayersOfLayer() bool
func (*LayerDelegate) LayerWillDraw ¶
func (di *LayerDelegate) LayerWillDraw(layer Layer)
Notifies the delegate of an imminent draw. Full Topic
func (*LayerDelegate) LayoutSublayersOfLayer ¶
func (di *LayerDelegate) LayoutSublayersOfLayer(layer Layer)
Tells the delegate a layer's bounds have changed. Full Topic
func (*LayerDelegate) SetActionForLayerForKey ¶
func (di *LayerDelegate) SetActionForLayerForKey(f func(layer Layer, event string) ActionObject)
Returns the default action of the quartzcore/calayer/actionforkey method. Full Topic
func (*LayerDelegate) SetDisplayLayer ¶
func (di *LayerDelegate) SetDisplayLayer(f func(layer Layer))
Tells the delegate to implement the display process. Full Topic
func (*LayerDelegate) SetDrawLayerInContext ¶
func (di *LayerDelegate) SetDrawLayerInContext(f func(layer Layer, ctx coregraphics.ContextRef))
Tells the delegate to implement the display process using the layer's CGContextRef. Full Topic
func (*LayerDelegate) SetLayerWillDraw ¶
func (di *LayerDelegate) SetLayerWillDraw(f func(layer Layer))
Notifies the delegate of an imminent draw. Full Topic
func (*LayerDelegate) SetLayoutSublayersOfLayer ¶
func (di *LayerDelegate) SetLayoutSublayersOfLayer(f func(layer Layer))
Tells the delegate a layer's bounds have changed. Full Topic
type LayerDelegateObject ¶
A concrete type for the PLayerDelegate protocol.
func (LayerDelegateObject) ActionForLayerForKey ¶
func (l_ LayerDelegateObject) ActionForLayerForKey(layer Layer, event string) ActionObject
Returns the default action of the quartzcore/calayer/actionforkey method. Full Topic
func (LayerDelegateObject) DisplayLayer ¶
func (l_ LayerDelegateObject) DisplayLayer(layer Layer)
Tells the delegate to implement the display process. Full Topic
func (LayerDelegateObject) DrawLayerInContext ¶
func (l_ LayerDelegateObject) DrawLayerInContext(layer Layer, ctx coregraphics.ContextRef)
Tells the delegate to implement the display process using the layer's CGContextRef. Full Topic
func (LayerDelegateObject) HasActionForLayerForKey ¶
func (l_ LayerDelegateObject) HasActionForLayerForKey() bool
func (LayerDelegateObject) HasDisplayLayer ¶
func (l_ LayerDelegateObject) HasDisplayLayer() bool
func (LayerDelegateObject) HasDrawLayerInContext ¶
func (l_ LayerDelegateObject) HasDrawLayerInContext() bool
func (LayerDelegateObject) HasLayerWillDraw ¶
func (l_ LayerDelegateObject) HasLayerWillDraw() bool
func (LayerDelegateObject) HasLayoutSublayersOfLayer ¶
func (l_ LayerDelegateObject) HasLayoutSublayersOfLayer() bool
func (LayerDelegateObject) LayerWillDraw ¶
func (l_ LayerDelegateObject) LayerWillDraw(layer Layer)
Notifies the delegate of an imminent draw. Full Topic
func (LayerDelegateObject) LayoutSublayersOfLayer ¶
func (l_ LayerDelegateObject) LayoutSublayersOfLayer(layer Layer)
Tells the delegate a layer's bounds have changed. Full Topic
type LayoutManagerObject ¶
A concrete type for the PLayoutManager protocol.
func (LayoutManagerObject) HasInvalidateLayoutOfLayer ¶
func (l_ LayoutManagerObject) HasInvalidateLayoutOfLayer() bool
func (LayoutManagerObject) HasLayoutSublayersOfLayer ¶
func (l_ LayoutManagerObject) HasLayoutSublayersOfLayer() bool
func (LayoutManagerObject) HasPreferredSizeOfLayer ¶
func (l_ LayoutManagerObject) HasPreferredSizeOfLayer() bool
func (LayoutManagerObject) InvalidateLayoutOfLayer ¶
func (l_ LayoutManagerObject) InvalidateLayoutOfLayer(layer Layer)
Invalidates the layout of a layer so it knows to refresh its content on the next frame. Full Topic
func (LayoutManagerObject) LayoutSublayersOfLayer ¶
func (l_ LayoutManagerObject) LayoutSublayersOfLayer(layer Layer)
Override to customize layout of sublayers whenever the layer needs redrawing. Full Topic
func (LayoutManagerObject) PreferredSizeOfLayer ¶
func (l_ LayoutManagerObject) PreferredSizeOfLayer(layer Layer) coregraphics.Size
Override to customize layer size. Full Topic
type MediaTimingFillMode ¶
type MediaTimingFillMode string
[Full Topic]
const ( KFillModeBackwards MediaTimingFillMode = "backwards" KFillModeBoth MediaTimingFillMode = "both" KFillModeForwards MediaTimingFillMode = "forwards" KFillModeRemoved MediaTimingFillMode = "removed" )
type MediaTimingFunction ¶
A function that defines the pacing of an animation as a timing curve. Full Topic
func MediaTimingFunctionFrom ¶
func MediaTimingFunctionFrom(ptr unsafe.Pointer) MediaTimingFunction
func MediaTimingFunction_FunctionWithControlPoints ¶
func MediaTimingFunction_FunctionWithControlPoints(c1x float32) MediaTimingFunction
Creates and returns a new instance of CAMediaTimingFunction timing function modeled as a cubic Bézier curve using the specified control points. Full Topic
func MediaTimingFunction_FunctionWithName ¶
func MediaTimingFunction_FunctionWithName(name MediaTimingFunctionName) MediaTimingFunction
Creates and returns a new instance of CAMediaTimingFunction configured with the predefined timing function specified by name. Full Topic
func NewMediaTimingFunction ¶
func NewMediaTimingFunction() MediaTimingFunction
func NewMediaTimingFunctionWithControlPoints ¶
func NewMediaTimingFunctionWithControlPoints(c1x float32) MediaTimingFunction
Returns an initialized timing function modeled as a cubic Bézier curve using the specified control points. Full Topic
func Transaction_AnimationTimingFunction ¶
func Transaction_AnimationTimingFunction() MediaTimingFunction
Returns the timing function used for all animations within this transaction group. Full Topic
func (MediaTimingFunction) GetControlPointAtIndexValues ¶
func (m_ MediaTimingFunction) GetControlPointAtIndexValues(idx uint, ptr *float32)
Returns the control point for the specified index. Full Topic
func (MediaTimingFunction) Init ¶
func (m_ MediaTimingFunction) Init() MediaTimingFunction
func (MediaTimingFunction) InitWithControlPoints ¶
func (m_ MediaTimingFunction) InitWithControlPoints(c1x float32) MediaTimingFunction
type MediaTimingFunctionName ¶
type MediaTimingFunctionName string
[Full Topic]
const ( KMediaTimingFunctionDefault MediaTimingFunctionName = "default" KMediaTimingFunctionEaseIn MediaTimingFunctionName = "easeIn" KMediaTimingFunctionEaseInEaseOut MediaTimingFunctionName = "easeInEaseOut" KMediaTimingFunctionEaseOut MediaTimingFunctionName = "easeOut" KMediaTimingFunctionLinear MediaTimingFunctionName = "linear" )
type MediaTimingObject ¶
A concrete type for the PMediaTiming protocol.
func (MediaTimingObject) Autoreverses ¶
func (m_ MediaTimingObject) Autoreverses() bool
Determines if the receiver plays in the reverse upon completion. Full Topic
func (MediaTimingObject) BeginTime ¶
func (m_ MediaTimingObject) BeginTime() corefoundation.TimeInterval
Specifies the begin time of the receiver in relation to its parent object, if applicable. Full Topic
func (MediaTimingObject) Duration ¶
func (m_ MediaTimingObject) Duration() corefoundation.TimeInterval
Specifies the basic duration of the animation, in seconds. Full Topic
func (MediaTimingObject) FillMode ¶
func (m_ MediaTimingObject) FillMode() MediaTimingFillMode
Determines if the receiver’s presentation is frozen or removed once its active duration has completed. Full Topic
func (MediaTimingObject) HasAutoreverses ¶
func (m_ MediaTimingObject) HasAutoreverses() bool
func (MediaTimingObject) HasBeginTime ¶
func (m_ MediaTimingObject) HasBeginTime() bool
func (MediaTimingObject) HasDuration ¶
func (m_ MediaTimingObject) HasDuration() bool
func (MediaTimingObject) HasFillMode ¶
func (m_ MediaTimingObject) HasFillMode() bool
func (MediaTimingObject) HasRepeatCount ¶
func (m_ MediaTimingObject) HasRepeatCount() bool
func (MediaTimingObject) HasRepeatDuration ¶
func (m_ MediaTimingObject) HasRepeatDuration() bool
func (MediaTimingObject) HasSetAutoreverses ¶
func (m_ MediaTimingObject) HasSetAutoreverses() bool
func (MediaTimingObject) HasSetBeginTime ¶
func (m_ MediaTimingObject) HasSetBeginTime() bool
func (MediaTimingObject) HasSetDuration ¶
func (m_ MediaTimingObject) HasSetDuration() bool
func (MediaTimingObject) HasSetFillMode ¶
func (m_ MediaTimingObject) HasSetFillMode() bool
func (MediaTimingObject) HasSetRepeatCount ¶
func (m_ MediaTimingObject) HasSetRepeatCount() bool
func (MediaTimingObject) HasSetRepeatDuration ¶
func (m_ MediaTimingObject) HasSetRepeatDuration() bool
func (MediaTimingObject) HasSetSpeed ¶
func (m_ MediaTimingObject) HasSetSpeed() bool
func (MediaTimingObject) HasSetTimeOffset ¶
func (m_ MediaTimingObject) HasSetTimeOffset() bool
func (MediaTimingObject) HasSpeed ¶
func (m_ MediaTimingObject) HasSpeed() bool
func (MediaTimingObject) HasTimeOffset ¶
func (m_ MediaTimingObject) HasTimeOffset() bool
func (MediaTimingObject) RepeatCount ¶
func (m_ MediaTimingObject) RepeatCount() float32
Determines the number of times the animation will repeat. Full Topic
func (MediaTimingObject) RepeatDuration ¶
func (m_ MediaTimingObject) RepeatDuration() corefoundation.TimeInterval
Determines how many seconds the animation will repeat for. Full Topic
func (MediaTimingObject) SetAutoreverses ¶
func (m_ MediaTimingObject) SetAutoreverses(value bool)
Determines if the receiver plays in the reverse upon completion. Full Topic
func (MediaTimingObject) SetBeginTime ¶
func (m_ MediaTimingObject) SetBeginTime(value corefoundation.TimeInterval)
Specifies the begin time of the receiver in relation to its parent object, if applicable. Full Topic
func (MediaTimingObject) SetDuration ¶
func (m_ MediaTimingObject) SetDuration(value corefoundation.TimeInterval)
Specifies the basic duration of the animation, in seconds. Full Topic
func (MediaTimingObject) SetFillMode ¶
func (m_ MediaTimingObject) SetFillMode(value MediaTimingFillMode)
Determines if the receiver’s presentation is frozen or removed once its active duration has completed. Full Topic
func (MediaTimingObject) SetRepeatCount ¶
func (m_ MediaTimingObject) SetRepeatCount(value float32)
Determines the number of times the animation will repeat. Full Topic
func (MediaTimingObject) SetRepeatDuration ¶
func (m_ MediaTimingObject) SetRepeatDuration(value corefoundation.TimeInterval)
Determines how many seconds the animation will repeat for. Full Topic
func (MediaTimingObject) SetSpeed ¶
func (m_ MediaTimingObject) SetSpeed(value float32)
Specifies how time is mapped to receiver’s time space from the parent time space. Full Topic
func (MediaTimingObject) SetTimeOffset ¶
func (m_ MediaTimingObject) SetTimeOffset(value corefoundation.TimeInterval)
Specifies an additional time offset in active local time. Full Topic
func (MediaTimingObject) Speed ¶
func (m_ MediaTimingObject) Speed() float32
Specifies how time is mapped to receiver’s time space from the parent time space. Full Topic
func (MediaTimingObject) TimeOffset ¶
func (m_ MediaTimingObject) TimeOffset() corefoundation.TimeInterval
Specifies an additional time offset in active local time. Full Topic
type MetalDrawableObject ¶
A concrete type for the PMetalDrawable protocol.
func (MetalDrawableObject) HasLayer ¶
func (m_ MetalDrawableObject) HasLayer() bool
func (MetalDrawableObject) HasTexture ¶
func (m_ MetalDrawableObject) HasTexture() bool
func (MetalDrawableObject) Layer ¶
func (m_ MetalDrawableObject) Layer() MetalLayer
The layer that owns this drawable object. Full Topic
func (MetalDrawableObject) Texture ¶
func (m_ MetalDrawableObject) Texture() metal.TextureObject
A Metal texture object that contains the drawable’s contents. Full Topic
type MetalLayer ¶
type MetalLayer struct {
Layer
}
A Core Animation layer that Metal can render into, typically displayed onscreen. Full Topic
func MetalLayerFrom ¶
func MetalLayerFrom(ptr unsafe.Pointer) MetalLayer
func MetalLayer_Layer ¶
func MetalLayer_Layer() MetalLayer
Creates and returns an instance of the layer object. Full Topic
func MetalLayer_ModelLayer ¶
func MetalLayer_ModelLayer() MetalLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func MetalLayer_PresentationLayer ¶
func MetalLayer_PresentationLayer() MetalLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func NewMetalLayer ¶
func NewMetalLayer() MetalLayer
func NewMetalLayerWithLayer ¶
func NewMetalLayerWithLayer(layer objc.IObject) MetalLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func (MetalLayer) AllowsNextDrawableTimeout ¶
func (m_ MetalLayer) AllowsNextDrawableTimeout() bool
A Boolean value that determines whether requests for a new buffer expire if the system can’t satisfy them. Full Topic
func (MetalLayer) Colorspace ¶
func (m_ MetalLayer) Colorspace() coregraphics.ColorSpaceRef
The color space of the rendered content. Full Topic
func (MetalLayer) Device ¶
func (m_ MetalLayer) Device() metal.DeviceObject
The Metal device responsible for the layer’s drawable resources. Full Topic
func (MetalLayer) DisplaySyncEnabled ¶
func (m_ MetalLayer) DisplaySyncEnabled() bool
A Boolean value that determines whether the layer synchronizes its updates to the display’s refresh rate. Full Topic
func (MetalLayer) DrawableSize ¶
func (m_ MetalLayer) DrawableSize() coregraphics.Size
The size, in pixels, of textures for rendering layer content. Full Topic
func (MetalLayer) EDRMetadata ¶
func (m_ MetalLayer) EDRMetadata() EDRMetadata
Metadata describing the tone mapping to apply to the extended dynamic range (EDR) values in the layer. Full Topic
func (MetalLayer) FramebufferOnly ¶
func (m_ MetalLayer) FramebufferOnly() bool
A Boolean value that determines whether the layer’s textures are used only for rendering. Full Topic
func (MetalLayer) Init ¶
func (m_ MetalLayer) Init() MetalLayer
func (MetalLayer) InitWithLayer ¶
func (m_ MetalLayer) InitWithLayer(layer objc.IObject) MetalLayer
func (MetalLayer) MaximumDrawableCount ¶
func (m_ MetalLayer) MaximumDrawableCount() uint
The number of Metal drawables in the resource pool managed by Core Animation. Full Topic
func (MetalLayer) ModelLayer ¶
func (m_ MetalLayer) ModelLayer() MetalLayer
func (MetalLayer) NextDrawable ¶
func (m_ MetalLayer) NextDrawable() MetalDrawableObject
Waits until a Metal drawable is available, and then returns it. Full Topic
func (MetalLayer) PixelFormat ¶
func (m_ MetalLayer) PixelFormat() metal.PixelFormat
The pixel format of the layer’s textures. Full Topic
func (MetalLayer) PreferredDevice ¶
func (m_ MetalLayer) PreferredDevice() metal.DeviceObject
The device object that the system recommends using for this layer. Full Topic
func (MetalLayer) PresentationLayer ¶
func (m_ MetalLayer) PresentationLayer() MetalLayer
func (MetalLayer) PresentsWithTransaction ¶
func (m_ MetalLayer) PresentsWithTransaction() bool
A Boolean value that determines whether the layer presents its content using a Core Animation transaction. Full Topic
func (MetalLayer) SetAllowsNextDrawableTimeout ¶
func (m_ MetalLayer) SetAllowsNextDrawableTimeout(value bool)
A Boolean value that determines whether requests for a new buffer expire if the system can’t satisfy them. Full Topic
func (MetalLayer) SetColorspace ¶
func (m_ MetalLayer) SetColorspace(value coregraphics.ColorSpaceRef)
The color space of the rendered content. Full Topic
func (MetalLayer) SetDevice ¶
func (m_ MetalLayer) SetDevice(value metal.PDevice)
The Metal device responsible for the layer’s drawable resources. Full Topic
func (MetalLayer) SetDeviceObject ¶
func (m_ MetalLayer) SetDeviceObject(valueObject objc.IObject)
The Metal device responsible for the layer’s drawable resources. Full Topic
func (MetalLayer) SetDisplaySyncEnabled ¶
func (m_ MetalLayer) SetDisplaySyncEnabled(value bool)
A Boolean value that determines whether the layer synchronizes its updates to the display’s refresh rate. Full Topic
func (MetalLayer) SetDrawableSize ¶
func (m_ MetalLayer) SetDrawableSize(value coregraphics.Size)
The size, in pixels, of textures for rendering layer content. Full Topic
func (MetalLayer) SetEDRMetadata ¶
func (m_ MetalLayer) SetEDRMetadata(value IEDRMetadata)
Metadata describing the tone mapping to apply to the extended dynamic range (EDR) values in the layer. Full Topic
func (MetalLayer) SetFramebufferOnly ¶
func (m_ MetalLayer) SetFramebufferOnly(value bool)
A Boolean value that determines whether the layer’s textures are used only for rendering. Full Topic
func (MetalLayer) SetMaximumDrawableCount ¶
func (m_ MetalLayer) SetMaximumDrawableCount(value uint)
The number of Metal drawables in the resource pool managed by Core Animation. Full Topic
func (MetalLayer) SetPixelFormat ¶
func (m_ MetalLayer) SetPixelFormat(value metal.PixelFormat)
The pixel format of the layer’s textures. Full Topic
func (MetalLayer) SetPresentsWithTransaction ¶
func (m_ MetalLayer) SetPresentsWithTransaction(value bool)
A Boolean value that determines whether the layer presents its content using a Core Animation transaction. Full Topic
func (MetalLayer) SetWantsExtendedDynamicRangeContent ¶
func (m_ MetalLayer) SetWantsExtendedDynamicRangeContent(value bool)
Enables extended dynamic range values onscreen. Full Topic
func (MetalLayer) WantsExtendedDynamicRangeContent ¶
func (m_ MetalLayer) WantsExtendedDynamicRangeContent() bool
Enables extended dynamic range values onscreen. Full Topic
type OpenGLLayer ¶
type OpenGLLayer struct {
Layer
}
A layer that provides a layer suitable for rendering OpenGL content. Full Topic
func NewOpenGLLayer ¶
func NewOpenGLLayer() OpenGLLayer
func NewOpenGLLayerWithLayer ¶
func NewOpenGLLayerWithLayer(layer objc.IObject) OpenGLLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func OpenGLLayerFrom ¶
func OpenGLLayerFrom(ptr unsafe.Pointer) OpenGLLayer
func OpenGLLayer_Layer ¶
func OpenGLLayer_Layer() OpenGLLayer
Creates and returns an instance of the layer object. Full Topic
func OpenGLLayer_ModelLayer ¶
func OpenGLLayer_ModelLayer() OpenGLLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func OpenGLLayer_PresentationLayer ¶
func OpenGLLayer_PresentationLayer() OpenGLLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (OpenGLLayer) Init ¶
func (o_ OpenGLLayer) Init() OpenGLLayer
func (OpenGLLayer) InitWithLayer ¶
func (o_ OpenGLLayer) InitWithLayer(layer objc.IObject) OpenGLLayer
func (OpenGLLayer) ModelLayer ¶
func (o_ OpenGLLayer) ModelLayer() OpenGLLayer
func (OpenGLLayer) PresentationLayer ¶
func (o_ OpenGLLayer) PresentationLayer() OpenGLLayer
type PAction ¶
type PAction interface { // optional RunActionForKeyObjectArguments(event string, anObject objc.Object, dict foundation.Dictionary) HasRunActionForKeyObjectArguments() bool }
An interface that allows objects to respond to actions triggered by a CALayer change. Full Topic
type PAnimationDelegate ¶
type PAnimationDelegate interface { // optional AnimationDidStart(anim Animation) HasAnimationDidStart() bool // optional AnimationDidStopFinished(anim Animation, flag bool) HasAnimationDidStopFinished() bool }
Methods your app can implement to respond when animations start and stop. Full Topic
type PLayerDelegate ¶
type PLayerDelegate interface { // optional DrawLayerInContext(layer Layer, ctx coregraphics.ContextRef) HasDrawLayerInContext() bool // optional DisplayLayer(layer Layer) HasDisplayLayer() bool // optional LayoutSublayersOfLayer(layer Layer) HasLayoutSublayersOfLayer() bool // optional ActionForLayerForKey(layer Layer, event string) ActionObject HasActionForLayerForKey() bool // optional LayerWillDraw(layer Layer) HasLayerWillDraw() bool }
Methods your app can implement to respond to layer-related events. Full Topic
type PLayoutManager ¶
type PLayoutManager interface { // optional LayoutSublayersOfLayer(layer Layer) HasLayoutSublayersOfLayer() bool // optional PreferredSizeOfLayer(layer Layer) coregraphics.Size HasPreferredSizeOfLayer() bool // optional InvalidateLayoutOfLayer(layer Layer) HasInvalidateLayoutOfLayer() bool }
Methods that allow an object to manage the layout of a layer and its sublayers. Full Topic
type PMediaTiming ¶
type PMediaTiming interface { // optional SetTimeOffset(value corefoundation.TimeInterval) HasSetTimeOffset() bool // optional TimeOffset() corefoundation.TimeInterval HasTimeOffset() bool // optional SetDuration(value corefoundation.TimeInterval) HasSetDuration() bool // optional Duration() corefoundation.TimeInterval HasDuration() bool // optional SetRepeatDuration(value corefoundation.TimeInterval) HasSetRepeatDuration() bool // optional RepeatDuration() corefoundation.TimeInterval HasRepeatDuration() bool // optional SetRepeatCount(value float32) HasSetRepeatCount() bool // optional RepeatCount() float32 HasRepeatCount() bool // optional SetBeginTime(value corefoundation.TimeInterval) HasSetBeginTime() bool // optional BeginTime() corefoundation.TimeInterval HasBeginTime() bool // optional SetSpeed(value float32) HasSetSpeed() bool // optional Speed() float32 HasSpeed() bool // optional SetAutoreverses(value bool) HasSetAutoreverses() bool // optional Autoreverses() bool HasAutoreverses() bool // optional SetFillMode(value MediaTimingFillMode) HasSetFillMode() bool // optional FillMode() MediaTimingFillMode HasFillMode() bool }
Methods that model a hierarchical timing system, allowing objects to map time between their parent and local time. Full Topic
type PMetalDrawable ¶
type PMetalDrawable interface { // optional Texture() metal.TextureObject HasTexture() bool // optional Layer() MetalLayer HasLayer() bool }
A Metal drawable associated with a Core Animation layer. Full Topic
type PropertyAnimation ¶
type PropertyAnimation struct {
Animation
}
An abstract subclass of CAAnimation for creating animations that manipulate the value of layer properties. Full Topic
func NewPropertyAnimation ¶
func NewPropertyAnimation() PropertyAnimation
func PropertyAnimationFrom ¶
func PropertyAnimationFrom(ptr unsafe.Pointer) PropertyAnimation
func PropertyAnimation_Animation ¶
func PropertyAnimation_Animation() PropertyAnimation
Creates and returns a new CAAnimation instance. Full Topic
func PropertyAnimation_AnimationWithKeyPath ¶
func PropertyAnimation_AnimationWithKeyPath(path string) PropertyAnimation
Creates and returns an CAPropertyAnimation instance for the specified key path. Full Topic
func (PropertyAnimation) Init ¶
func (p_ PropertyAnimation) Init() PropertyAnimation
func (PropertyAnimation) IsAdditive ¶
func (p_ PropertyAnimation) IsAdditive() bool
Determines if the value specified by the animation is added to the current render tree value to produce the new render tree value. Full Topic
func (PropertyAnimation) IsCumulative ¶
func (p_ PropertyAnimation) IsCumulative() bool
Determines if the value of the property is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle. Full Topic
func (PropertyAnimation) KeyPath ¶
func (p_ PropertyAnimation) KeyPath() string
Specifies the key path the receiver animates. Full Topic
func (PropertyAnimation) SetAdditive ¶
func (p_ PropertyAnimation) SetAdditive(value bool)
Determines if the value specified by the animation is added to the current render tree value to produce the new render tree value. Full Topic
func (PropertyAnimation) SetCumulative ¶
func (p_ PropertyAnimation) SetCumulative(value bool)
Determines if the value of the property is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle. Full Topic
func (PropertyAnimation) SetKeyPath ¶
func (p_ PropertyAnimation) SetKeyPath(value string)
Specifies the key path the receiver animates. Full Topic
func (PropertyAnimation) SetValueFunction ¶
func (p_ PropertyAnimation) SetValueFunction(value IValueFunction)
An optional value function that is applied to interpolated values. Full Topic
func (PropertyAnimation) ValueFunction ¶
func (p_ PropertyAnimation) ValueFunction() ValueFunction
An optional value function that is applied to interpolated values. Full Topic
type RemoteLayerClient ¶
[Full Topic]
func NewRemoteLayerClient ¶
func NewRemoteLayerClient() RemoteLayerClient
func RemoteLayerClientFrom ¶
func RemoteLayerClientFrom(ptr unsafe.Pointer) RemoteLayerClient
func (RemoteLayerClient) ClientId ¶
func (r_ RemoteLayerClient) ClientId() uint32
The ID of the remote layer client. Full Topic
func (RemoteLayerClient) Init ¶
func (r_ RemoteLayerClient) Init() RemoteLayerClient
func (RemoteLayerClient) Invalidate ¶
func (r_ RemoteLayerClient) Invalidate()
Invalidates a remote layer client. Full Topic
func (RemoteLayerClient) Layer ¶
func (r_ RemoteLayerClient) Layer() Layer
The layer associated with the remote client. Full Topic
func (RemoteLayerClient) SetLayer ¶
func (r_ RemoteLayerClient) SetLayer(value ILayer)
The layer associated with the remote client. Full Topic
type RemoteLayerServer ¶
[Full Topic]
func NewRemoteLayerServer ¶
func NewRemoteLayerServer() RemoteLayerServer
func RemoteLayerServerFrom ¶
func RemoteLayerServerFrom(ptr unsafe.Pointer) RemoteLayerServer
func RemoteLayerServer_SharedServer ¶
func RemoteLayerServer_SharedServer() RemoteLayerServer
Returns the (singleton) instance of the shared remote layer server. Full Topic
func (RemoteLayerServer) Init ¶
func (r_ RemoteLayerServer) Init() RemoteLayerServer
type Renderer ¶
A layer that allows an application to render a layer tree into a Core OpenGL context. Full Topic
func NewRenderer ¶
func NewRenderer() Renderer
func RendererFrom ¶
func Renderer_RendererWithMTLTextureOptions ¶
func Renderer_RendererWithMTLTextureOptions(tex metal.PTexture, dict foundation.Dictionary) Renderer
Creates a layer renderer from a Metal texture. Full Topic
func (Renderer) AddUpdateRect ¶
func (r_ Renderer) AddUpdateRect(r coregraphics.Rect)
Adds the rectangle to the update region of the current frame. Full Topic
func (Renderer) BeginFrameAtTimeTimeStamp ¶
func (r_ Renderer) BeginFrameAtTimeTimeStamp(t corefoundation.TimeInterval, ts *corevideo.TimeStamp)
Begin rendering a frame at the specified time. Full Topic
func (Renderer) Bounds ¶
func (r_ Renderer) Bounds() coregraphics.Rect
The bounds of the receiver. Full Topic
func (Renderer) EndFrame ¶
func (r_ Renderer) EndFrame()
Release any data associated with the current frame. Full Topic
func (Renderer) Layer ¶
The root layer of the layer-tree the receiver should render. Full Topic
func (Renderer) NextFrameTime ¶
func (r_ Renderer) NextFrameTime() corefoundation.TimeInterval
Returns the time at which the next update should happen. Full Topic
func (Renderer) Render ¶
func (r_ Renderer) Render()
Render the update region of the current frame to the target context. Full Topic
func (Renderer) SetBounds ¶
func (r_ Renderer) SetBounds(value coregraphics.Rect)
The bounds of the receiver. Full Topic
func (Renderer) SetDestinationObject ¶
[Full Topic]
func (Renderer) SetLayer ¶
The root layer of the layer-tree the receiver should render. Full Topic
func (Renderer) UpdateBounds ¶
func (r_ Renderer) UpdateBounds() coregraphics.Rect
Returns the bounds of the update region that contains all pixels that will be rendered by the current frame. Full Topic
type ReplicatorLayer ¶
type ReplicatorLayer struct {
Layer
}
A layer that creates a specified number of sublayer copies with varying geometric, temporal, and color transformations. Full Topic
func NewReplicatorLayer ¶
func NewReplicatorLayer() ReplicatorLayer
func NewReplicatorLayerWithLayer ¶
func NewReplicatorLayerWithLayer(layer objc.IObject) ReplicatorLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func ReplicatorLayerFrom ¶
func ReplicatorLayerFrom(ptr unsafe.Pointer) ReplicatorLayer
func ReplicatorLayer_Layer ¶
func ReplicatorLayer_Layer() ReplicatorLayer
Creates and returns an instance of the layer object. Full Topic
func ReplicatorLayer_ModelLayer ¶
func ReplicatorLayer_ModelLayer() ReplicatorLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func ReplicatorLayer_PresentationLayer ¶
func ReplicatorLayer_PresentationLayer() ReplicatorLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (ReplicatorLayer) Init ¶
func (r_ ReplicatorLayer) Init() ReplicatorLayer
func (ReplicatorLayer) InitWithLayer ¶
func (r_ ReplicatorLayer) InitWithLayer(layer objc.IObject) ReplicatorLayer
func (ReplicatorLayer) InstanceAlphaOffset ¶
func (r_ ReplicatorLayer) InstanceAlphaOffset() float32
Defines the offset added to the alpha component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) InstanceBlueOffset ¶
func (r_ ReplicatorLayer) InstanceBlueOffset() float32
Defines the offset added to the blue component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) InstanceColor ¶
func (r_ ReplicatorLayer) InstanceColor() coregraphics.ColorRef
Defines the color used to multiply the source object. Animatable. Full Topic
func (ReplicatorLayer) InstanceCount ¶
func (r_ ReplicatorLayer) InstanceCount() int
The number of copies to create, including the source layers. Full Topic
func (ReplicatorLayer) InstanceDelay ¶
func (r_ ReplicatorLayer) InstanceDelay() corefoundation.TimeInterval
Specifies the delay, in seconds, between replicated copies. Animatable. Full Topic
func (ReplicatorLayer) InstanceGreenOffset ¶
func (r_ ReplicatorLayer) InstanceGreenOffset() float32
Defines the offset added to the green component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) InstanceRedOffset ¶
func (r_ ReplicatorLayer) InstanceRedOffset() float32
Defines the offset added to the red component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) InstanceTransform ¶
func (r_ ReplicatorLayer) InstanceTransform() Transform3D
The transform matrix applied to the previous instance to produce the current instance. Animatable. Full Topic
func (ReplicatorLayer) ModelLayer ¶
func (r_ ReplicatorLayer) ModelLayer() ReplicatorLayer
func (ReplicatorLayer) PresentationLayer ¶
func (r_ ReplicatorLayer) PresentationLayer() ReplicatorLayer
func (ReplicatorLayer) PreservesDepth ¶
func (r_ ReplicatorLayer) PreservesDepth() bool
Defines whether this layer flattens its sublayers into its plane. Full Topic
func (ReplicatorLayer) SetInstanceAlphaOffset ¶
func (r_ ReplicatorLayer) SetInstanceAlphaOffset(value float32)
Defines the offset added to the alpha component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceBlueOffset ¶
func (r_ ReplicatorLayer) SetInstanceBlueOffset(value float32)
Defines the offset added to the blue component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceColor ¶
func (r_ ReplicatorLayer) SetInstanceColor(value coregraphics.ColorRef)
Defines the color used to multiply the source object. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceCount ¶
func (r_ ReplicatorLayer) SetInstanceCount(value int)
The number of copies to create, including the source layers. Full Topic
func (ReplicatorLayer) SetInstanceDelay ¶
func (r_ ReplicatorLayer) SetInstanceDelay(value corefoundation.TimeInterval)
Specifies the delay, in seconds, between replicated copies. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceGreenOffset ¶
func (r_ ReplicatorLayer) SetInstanceGreenOffset(value float32)
Defines the offset added to the green component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceRedOffset ¶
func (r_ ReplicatorLayer) SetInstanceRedOffset(value float32)
Defines the offset added to the red component of the color for each replicated instance. Animatable. Full Topic
func (ReplicatorLayer) SetInstanceTransform ¶
func (r_ ReplicatorLayer) SetInstanceTransform(value Transform3D)
The transform matrix applied to the previous instance to produce the current instance. Animatable. Full Topic
func (ReplicatorLayer) SetPreservesDepth ¶
func (r_ ReplicatorLayer) SetPreservesDepth(value bool)
Defines whether this layer flattens its sublayers into its plane. Full Topic
type ScrollLayer ¶
type ScrollLayer struct {
Layer
}
A layer that displays scrollable content larger than its own bounds. Full Topic
func NewScrollLayer ¶
func NewScrollLayer() ScrollLayer
func NewScrollLayerWithLayer ¶
func NewScrollLayerWithLayer(layer objc.IObject) ScrollLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func ScrollLayerFrom ¶
func ScrollLayerFrom(ptr unsafe.Pointer) ScrollLayer
func ScrollLayer_Layer ¶
func ScrollLayer_Layer() ScrollLayer
Creates and returns an instance of the layer object. Full Topic
func ScrollLayer_ModelLayer ¶
func ScrollLayer_ModelLayer() ScrollLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func ScrollLayer_PresentationLayer ¶
func ScrollLayer_PresentationLayer() ScrollLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (ScrollLayer) Init ¶
func (s_ ScrollLayer) Init() ScrollLayer
func (ScrollLayer) InitWithLayer ¶
func (s_ ScrollLayer) InitWithLayer(layer objc.IObject) ScrollLayer
func (ScrollLayer) ModelLayer ¶
func (s_ ScrollLayer) ModelLayer() ScrollLayer
func (ScrollLayer) PresentationLayer ¶
func (s_ ScrollLayer) PresentationLayer() ScrollLayer
func (ScrollLayer) ScrollMode ¶
func (s_ ScrollLayer) ScrollMode() ScrollLayerScrollMode
Defines the axes in which the layer may be scrolled. Full Topic
func (ScrollLayer) ScrollToPoint ¶
func (s_ ScrollLayer) ScrollToPoint(p coregraphics.Point)
Changes the origin of the receiver to the specified point. Full Topic
func (ScrollLayer) ScrollToRect ¶
func (s_ ScrollLayer) ScrollToRect(r coregraphics.Rect)
Scroll the contents of the receiver to ensure that the rectangle is visible. Full Topic
func (ScrollLayer) SetScrollMode ¶
func (s_ ScrollLayer) SetScrollMode(value ScrollLayerScrollMode)
Defines the axes in which the layer may be scrolled. Full Topic
type ScrollLayerScrollMode ¶
type ScrollLayerScrollMode string
[Full Topic]
const ( KScrollBoth ScrollLayerScrollMode = "both" KScrollHorizontally ScrollLayerScrollMode = "horizontally" KScrollNone ScrollLayerScrollMode = "none" KScrollVertically ScrollLayerScrollMode = "vertically" )
type ShapeLayer ¶
type ShapeLayer struct {
Layer
}
A layer that draws a cubic Bezier spline in its coordinate space. Full Topic
func NewShapeLayer ¶
func NewShapeLayer() ShapeLayer
func NewShapeLayerWithLayer ¶
func NewShapeLayerWithLayer(layer objc.IObject) ShapeLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func ShapeLayerFrom ¶
func ShapeLayerFrom(ptr unsafe.Pointer) ShapeLayer
func ShapeLayer_Layer ¶
func ShapeLayer_Layer() ShapeLayer
Creates and returns an instance of the layer object. Full Topic
func ShapeLayer_ModelLayer ¶
func ShapeLayer_ModelLayer() ShapeLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func ShapeLayer_PresentationLayer ¶
func ShapeLayer_PresentationLayer() ShapeLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (ShapeLayer) FillColor ¶
func (s_ ShapeLayer) FillColor() coregraphics.ColorRef
The color used to fill the shape’s path. Animatable. Full Topic
func (ShapeLayer) FillRule ¶
func (s_ ShapeLayer) FillRule() ShapeLayerFillRule
The fill rule used when filling the shape’s path. Full Topic
func (ShapeLayer) Init ¶
func (s_ ShapeLayer) Init() ShapeLayer
func (ShapeLayer) InitWithLayer ¶
func (s_ ShapeLayer) InitWithLayer(layer objc.IObject) ShapeLayer
func (ShapeLayer) LineCap ¶
func (s_ ShapeLayer) LineCap() ShapeLayerLineCap
Specifies the line cap style for the shape’s path. Full Topic
func (ShapeLayer) LineDashPattern ¶
func (s_ ShapeLayer) LineDashPattern() []foundation.Number
The dash pattern applied to the shape’s path when stroked. Full Topic
func (ShapeLayer) LineDashPhase ¶
func (s_ ShapeLayer) LineDashPhase() float64
The dash phase applied to the shape’s path when stroked. Animatable. Full Topic
func (ShapeLayer) LineJoin ¶
func (s_ ShapeLayer) LineJoin() ShapeLayerLineJoin
Specifies the line join style for the shape’s path. Full Topic
func (ShapeLayer) LineWidth ¶
func (s_ ShapeLayer) LineWidth() float64
Specifies the line width of the shape’s path. Animatable. Full Topic
func (ShapeLayer) MiterLimit ¶
func (s_ ShapeLayer) MiterLimit() float64
The miter limit used when stroking the shape’s path. Animatable. Full Topic
func (ShapeLayer) ModelLayer ¶
func (s_ ShapeLayer) ModelLayer() ShapeLayer
func (ShapeLayer) Path ¶
func (s_ ShapeLayer) Path() unsafe.Pointer
The path defining the shape to be rendered. Animatable. Full Topic
func (ShapeLayer) PresentationLayer ¶
func (s_ ShapeLayer) PresentationLayer() ShapeLayer
func (ShapeLayer) SetFillColor ¶
func (s_ ShapeLayer) SetFillColor(value coregraphics.ColorRef)
The color used to fill the shape’s path. Animatable. Full Topic
func (ShapeLayer) SetFillRule ¶
func (s_ ShapeLayer) SetFillRule(value ShapeLayerFillRule)
The fill rule used when filling the shape’s path. Full Topic
func (ShapeLayer) SetLineCap ¶
func (s_ ShapeLayer) SetLineCap(value ShapeLayerLineCap)
Specifies the line cap style for the shape’s path. Full Topic
func (ShapeLayer) SetLineDashPattern ¶
func (s_ ShapeLayer) SetLineDashPattern(value []foundation.INumber)
The dash pattern applied to the shape’s path when stroked. Full Topic
func (ShapeLayer) SetLineDashPhase ¶
func (s_ ShapeLayer) SetLineDashPhase(value float64)
The dash phase applied to the shape’s path when stroked. Animatable. Full Topic
func (ShapeLayer) SetLineJoin ¶
func (s_ ShapeLayer) SetLineJoin(value ShapeLayerLineJoin)
Specifies the line join style for the shape’s path. Full Topic
func (ShapeLayer) SetLineWidth ¶
func (s_ ShapeLayer) SetLineWidth(value float64)
Specifies the line width of the shape’s path. Animatable. Full Topic
func (ShapeLayer) SetMiterLimit ¶
func (s_ ShapeLayer) SetMiterLimit(value float64)
The miter limit used when stroking the shape’s path. Animatable. Full Topic
func (ShapeLayer) SetPath ¶
func (s_ ShapeLayer) SetPath(value unsafe.Pointer)
The path defining the shape to be rendered. Animatable. Full Topic
func (ShapeLayer) SetStrokeColor ¶
func (s_ ShapeLayer) SetStrokeColor(value coregraphics.ColorRef)
The color used to stroke the shape’s path. Animatable. Full Topic
func (ShapeLayer) SetStrokeEnd ¶
func (s_ ShapeLayer) SetStrokeEnd(value float64)
The relative location at which to stop stroking the path. Animatable. Full Topic
func (ShapeLayer) SetStrokeStart ¶
func (s_ ShapeLayer) SetStrokeStart(value float64)
The relative location at which to begin stroking the path. Animatable. Full Topic
func (ShapeLayer) StrokeColor ¶
func (s_ ShapeLayer) StrokeColor() coregraphics.ColorRef
The color used to stroke the shape’s path. Animatable. Full Topic
func (ShapeLayer) StrokeEnd ¶
func (s_ ShapeLayer) StrokeEnd() float64
The relative location at which to stop stroking the path. Animatable. Full Topic
func (ShapeLayer) StrokeStart ¶
func (s_ ShapeLayer) StrokeStart() float64
The relative location at which to begin stroking the path. Animatable. Full Topic
type ShapeLayerFillRule ¶
type ShapeLayerFillRule string
[Full Topic]
const ( KFillRuleEvenOdd ShapeLayerFillRule = "even-odd" KFillRuleNonZero ShapeLayerFillRule = "non-zero" )
type ShapeLayerLineCap ¶
type ShapeLayerLineCap string
[Full Topic]
const ( KLineCapButt ShapeLayerLineCap = "butt" KLineCapRound ShapeLayerLineCap = "round" KLineCapSquare ShapeLayerLineCap = "square" )
type ShapeLayerLineJoin ¶
type ShapeLayerLineJoin string
[Full Topic]
const ( KLineJoinBevel ShapeLayerLineJoin = "bevel" KLineJoinMiter ShapeLayerLineJoin = "miter" KLineJoinRound ShapeLayerLineJoin = "round" )
type SpringAnimation ¶
type SpringAnimation struct {
BasicAnimation
}
An animation that applies a spring-like force to a layer's properties. Full Topic
func NewSpringAnimation ¶
func NewSpringAnimation() SpringAnimation
func SpringAnimationFrom ¶
func SpringAnimationFrom(ptr unsafe.Pointer) SpringAnimation
func SpringAnimation_Animation ¶
func SpringAnimation_Animation() SpringAnimation
Creates and returns a new CAAnimation instance. Full Topic
func SpringAnimation_AnimationWithKeyPath ¶
func SpringAnimation_AnimationWithKeyPath(path string) SpringAnimation
Creates and returns an CAPropertyAnimation instance for the specified key path. Full Topic
func (SpringAnimation) Damping ¶
func (s_ SpringAnimation) Damping() float64
Defines how the spring’s motion should be damped due to the forces of friction. Full Topic
func (SpringAnimation) Init ¶
func (s_ SpringAnimation) Init() SpringAnimation
func (SpringAnimation) InitialVelocity ¶
func (s_ SpringAnimation) InitialVelocity() float64
The initial velocity of the object attached to the spring. Full Topic
func (SpringAnimation) Mass ¶
func (s_ SpringAnimation) Mass() float64
The mass of the object attached to the end of the spring. Full Topic
func (SpringAnimation) SetDamping ¶
func (s_ SpringAnimation) SetDamping(value float64)
Defines how the spring’s motion should be damped due to the forces of friction. Full Topic
func (SpringAnimation) SetInitialVelocity ¶
func (s_ SpringAnimation) SetInitialVelocity(value float64)
The initial velocity of the object attached to the spring. Full Topic
func (SpringAnimation) SetMass ¶
func (s_ SpringAnimation) SetMass(value float64)
The mass of the object attached to the end of the spring. Full Topic
func (SpringAnimation) SetStiffness ¶
func (s_ SpringAnimation) SetStiffness(value float64)
The spring stiffness coefficient. Full Topic
func (SpringAnimation) SettlingDuration ¶
func (s_ SpringAnimation) SettlingDuration() corefoundation.TimeInterval
The estimated duration required for the spring system to be considered at rest. Full Topic
func (SpringAnimation) Stiffness ¶
func (s_ SpringAnimation) Stiffness() float64
The spring stiffness coefficient. Full Topic
type TextLayer ¶
type TextLayer struct {
Layer
}
A layer that provides simple text layout and rendering of plain or attributed strings. Full Topic
func NewTextLayer ¶
func NewTextLayer() TextLayer
func NewTextLayerWithLayer ¶
Override to copy or initialize custom fields of the specified layer. Full Topic
func TextLayerFrom ¶
func TextLayer_Layer ¶
func TextLayer_Layer() TextLayer
Creates and returns an instance of the layer object. Full Topic
func TextLayer_ModelLayer ¶
func TextLayer_ModelLayer() TextLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func TextLayer_PresentationLayer ¶
func TextLayer_PresentationLayer() TextLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (TextLayer) AlignmentMode ¶
func (t_ TextLayer) AlignmentMode() TextLayerAlignmentMode
Determines how individual lines of text are horizontally aligned within the receiver’s bounds. Full Topic
func (TextLayer) AllowsFontSubpixelQuantization ¶
Determines whether to allow subpixel quantization for the graphics context used for text rendering. Full Topic
func (TextLayer) Font ¶
func (t_ TextLayer) Font() corefoundation.TypeRef
The font used to render the receiver’s text. Full Topic
func (TextLayer) FontSize ¶
The font size used to render the receiver’s text. Animatable. Full Topic
func (TextLayer) ForegroundColor ¶
func (t_ TextLayer) ForegroundColor() coregraphics.ColorRef
The color used to render the receiver’s text. Animatable. Full Topic
func (TextLayer) IsWrapped ¶
Determines whether the text is wrapped to fit within the receiver’s bounds. Full Topic
func (TextLayer) ModelLayer ¶
func (TextLayer) PresentationLayer ¶
func (TextLayer) SetAlignmentMode ¶
func (t_ TextLayer) SetAlignmentMode(value TextLayerAlignmentMode)
Determines how individual lines of text are horizontally aligned within the receiver’s bounds. Full Topic
func (TextLayer) SetAllowsFontSubpixelQuantization ¶
Determines whether to allow subpixel quantization for the graphics context used for text rendering. Full Topic
func (TextLayer) SetFont ¶
func (t_ TextLayer) SetFont(value corefoundation.TypeRef)
The font used to render the receiver’s text. Full Topic
func (TextLayer) SetFontSize ¶
The font size used to render the receiver’s text. Animatable. Full Topic
func (TextLayer) SetForegroundColor ¶
func (t_ TextLayer) SetForegroundColor(value coregraphics.ColorRef)
The color used to render the receiver’s text. Animatable. Full Topic
func (TextLayer) SetString ¶
The text to be rendered by the receiver. Full Topic
func (TextLayer) SetTruncationMode ¶
func (t_ TextLayer) SetTruncationMode(value TextLayerTruncationMode)
Determines how the text is truncated to fit within the receiver’s bounds. Full Topic
func (TextLayer) SetWrapped ¶
Determines whether the text is wrapped to fit within the receiver’s bounds. Full Topic
func (TextLayer) String ¶
The text to be rendered by the receiver. Full Topic
func (TextLayer) TruncationMode ¶
func (t_ TextLayer) TruncationMode() TextLayerTruncationMode
Determines how the text is truncated to fit within the receiver’s bounds. Full Topic
type TextLayerAlignmentMode ¶
type TextLayerAlignmentMode string
[Full Topic]
const ( KAlignmentCenter TextLayerAlignmentMode = "center" KAlignmentJustified TextLayerAlignmentMode = "justified" KAlignmentLeft TextLayerAlignmentMode = "left" KAlignmentNatural TextLayerAlignmentMode = "natural" KAlignmentRight TextLayerAlignmentMode = "right" )
type TextLayerTruncationMode ¶
type TextLayerTruncationMode string
[Full Topic]
const ( KTruncationEnd TextLayerTruncationMode = "end" KTruncationMiddle TextLayerTruncationMode = "middle" KTruncationNone TextLayerTruncationMode = "none" KTruncationStart TextLayerTruncationMode = "start" )
type TiledLayer ¶
type TiledLayer struct {
Layer
}
A layer that provides a way to asynchronously provide tiles of the layer's content, potentially cached at multiple levels of detail. Full Topic
func NewTiledLayer ¶
func NewTiledLayer() TiledLayer
func NewTiledLayerWithLayer ¶
func NewTiledLayerWithLayer(layer objc.IObject) TiledLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func TiledLayerFrom ¶
func TiledLayerFrom(ptr unsafe.Pointer) TiledLayer
func TiledLayer_Layer ¶
func TiledLayer_Layer() TiledLayer
Creates and returns an instance of the layer object. Full Topic
func TiledLayer_ModelLayer ¶
func TiledLayer_ModelLayer() TiledLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func TiledLayer_PresentationLayer ¶
func TiledLayer_PresentationLayer() TiledLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (TiledLayer) Init ¶
func (t_ TiledLayer) Init() TiledLayer
func (TiledLayer) InitWithLayer ¶
func (t_ TiledLayer) InitWithLayer(layer objc.IObject) TiledLayer
func (TiledLayer) LevelsOfDetail ¶
func (t_ TiledLayer) LevelsOfDetail() uint
The number of levels of detail maintained by this layer. Full Topic
func (TiledLayer) LevelsOfDetailBias ¶
func (t_ TiledLayer) LevelsOfDetailBias() uint
The number of magnified levels of detail for this layer. Full Topic
func (TiledLayer) ModelLayer ¶
func (t_ TiledLayer) ModelLayer() TiledLayer
func (TiledLayer) PresentationLayer ¶
func (t_ TiledLayer) PresentationLayer() TiledLayer
func (TiledLayer) SetLevelsOfDetail ¶
func (t_ TiledLayer) SetLevelsOfDetail(value uint)
The number of levels of detail maintained by this layer. Full Topic
func (TiledLayer) SetLevelsOfDetailBias ¶
func (t_ TiledLayer) SetLevelsOfDetailBias(value uint)
The number of magnified levels of detail for this layer. Full Topic
func (TiledLayer) SetTileSize ¶
func (t_ TiledLayer) SetTileSize(value coregraphics.Size)
The maximum size of each tile used to create the layer's content. Full Topic
func (TiledLayer) TileSize ¶
func (t_ TiledLayer) TileSize() coregraphics.Size
The maximum size of each tile used to create the layer's content. Full Topic
type Transaction ¶
A mechanism for grouping multiple layer-tree operations into atomic updates to the render tree. Full Topic
func NewTransaction ¶
func NewTransaction() Transaction
func TransactionFrom ¶
func TransactionFrom(ptr unsafe.Pointer) Transaction
func (Transaction) Init ¶
func (t_ Transaction) Init() Transaction
type Transform3D ¶
type Transform3D struct { M11 float64 M12 float64 M13 float64 M14 float64 M21 float64 M22 float64 M23 float64 M24 float64 M31 float64 M32 float64 M33 float64 M34 float64 M41 float64 M42 float64 M43 float64 M44 float64 }
The standard transform matrix used throughout Core Animation. Full Topic
type TransformLayer ¶
type TransformLayer struct {
Layer
}
Objects used to create true 3D layer hierarchies, rather than the flattened hierarchy rendering model used by other CALayer classes. Full Topic
func NewTransformLayer ¶
func NewTransformLayer() TransformLayer
func NewTransformLayerWithLayer ¶
func NewTransformLayerWithLayer(layer objc.IObject) TransformLayer
Override to copy or initialize custom fields of the specified layer. Full Topic
func TransformLayerFrom ¶
func TransformLayerFrom(ptr unsafe.Pointer) TransformLayer
func TransformLayer_Layer ¶
func TransformLayer_Layer() TransformLayer
Creates and returns an instance of the layer object. Full Topic
func TransformLayer_ModelLayer ¶
func TransformLayer_ModelLayer() TransformLayer
Returns the model layer object associated with the receiver, if any. Full Topic
func TransformLayer_PresentationLayer ¶
func TransformLayer_PresentationLayer() TransformLayer
Returns a copy of the presentation layer object that represents the state of the layer as it currently appears onscreen. Full Topic
func (TransformLayer) Init ¶
func (t_ TransformLayer) Init() TransformLayer
func (TransformLayer) InitWithLayer ¶
func (t_ TransformLayer) InitWithLayer(layer objc.IObject) TransformLayer
func (TransformLayer) ModelLayer ¶
func (t_ TransformLayer) ModelLayer() TransformLayer
func (TransformLayer) PresentationLayer ¶
func (t_ TransformLayer) PresentationLayer() TransformLayer
type Transition ¶
type Transition struct {
Animation
}
An object that provides an animated transition between a layer's states. Full Topic
func NewTransition ¶
func NewTransition() Transition
func TransitionFrom ¶
func TransitionFrom(ptr unsafe.Pointer) Transition
func Transition_Animation ¶
func Transition_Animation() Transition
Creates and returns a new CAAnimation instance. Full Topic
func (Transition) EndProgress ¶
func (t_ Transition) EndProgress() float32
Indicates the end point of the receiver as a fraction of the entire transition. Full Topic
func (Transition) Filter ¶
func (t_ Transition) Filter() objc.Object
An optional Core Image filter object that provides the transition. Full Topic
func (Transition) Init ¶
func (t_ Transition) Init() Transition
func (Transition) SetEndProgress ¶
func (t_ Transition) SetEndProgress(value float32)
Indicates the end point of the receiver as a fraction of the entire transition. Full Topic
func (Transition) SetFilter ¶
func (t_ Transition) SetFilter(value objc.IObject)
An optional Core Image filter object that provides the transition. Full Topic
func (Transition) SetStartProgress ¶
func (t_ Transition) SetStartProgress(value float32)
Indicates the start point of the receiver as a fraction of the entire transition. Full Topic
func (Transition) SetSubtype ¶
func (t_ Transition) SetSubtype(value TransitionSubtype)
Specifies an optional subtype that indicates the direction for the predefined motion-based transitions. Full Topic
func (Transition) SetType ¶
func (t_ Transition) SetType(value TransitionType)
Specifies the predefined transition type. Full Topic
func (Transition) StartProgress ¶
func (t_ Transition) StartProgress() float32
Indicates the start point of the receiver as a fraction of the entire transition. Full Topic
func (Transition) Subtype ¶
func (t_ Transition) Subtype() TransitionSubtype
Specifies an optional subtype that indicates the direction for the predefined motion-based transitions. Full Topic
func (Transition) Type ¶
func (t_ Transition) Type() TransitionType
Specifies the predefined transition type. Full Topic
type TransitionSubtype ¶
type TransitionSubtype string
[Full Topic]
const ( KTransitionFromBottom TransitionSubtype = "fromBottom" KTransitionFromLeft TransitionSubtype = "fromLeft" KTransitionFromRight TransitionSubtype = "fromRight" KTransitionFromTop TransitionSubtype = "fromTop" )
type TransitionType ¶
type TransitionType string
[Full Topic]
const ( KTransitionFade TransitionType = "fade" KTransitionMoveIn TransitionType = "moveIn" KTransitionPush TransitionType = "push" KTransitionReveal TransitionType = "reveal" )
type ValueFunction ¶
An object that provides a flexible method of defining animated transformations. Full Topic
func NewValueFunction ¶
func NewValueFunction() ValueFunction
func ValueFunctionFrom ¶
func ValueFunctionFrom(ptr unsafe.Pointer) ValueFunction
func ValueFunction_FunctionWithName ¶
func ValueFunction_FunctionWithName(name ValueFunctionName) ValueFunction
Returns the value function object identified by the name. Full Topic
func (ValueFunction) Init ¶
func (v_ ValueFunction) Init() ValueFunction
func (ValueFunction) Name ¶
func (v_ ValueFunction) Name() ValueFunctionName
Returns the name of the value function. Full Topic
type ValueFunctionName ¶
type ValueFunctionName string
[Full Topic]
const ( KValueFunctionRotateX ValueFunctionName = "rotateX" KValueFunctionRotateY ValueFunctionName = "rotateY" KValueFunctionRotateZ ValueFunctionName = "rotateZ" KValueFunctionScale ValueFunctionName = "scale" KValueFunctionScaleX ValueFunctionName = "scaleX" KValueFunctionScaleY ValueFunctionName = "scaleY" KValueFunctionScaleZ ValueFunctionName = "scaleZ" KValueFunctionTranslate ValueFunctionName = "translate" KValueFunctionTranslateX ValueFunctionName = "translateX" KValueFunctionTranslateY ValueFunctionName = "translateY" KValueFunctionTranslateZ ValueFunctionName = "translateZ" )
Source Files ¶
- action_protocol.gen.go
- animation.gen.go
- animation_delegate.gen.go
- animation_group.gen.go
- basic_animation.gen.go
- constraint.gen.go
- constraint_layout_manager.gen.go
- doc.gen.go
- edr_metadata.gen.go
- emitter_cell.gen.go
- emitter_layer.gen.go
- enumtypes.gen.go
- gradient_layer.gen.go
- keyframe_animation.gen.go
- layer.gen.go
- layer_delegate.gen.go
- layout_manager_protocol.gen.go
- media_timing_function.gen.go
- media_timing_protocol.gen.go
- metal_drawable_protocol.gen.go
- metal_layer.gen.go
- open_gl_layer.gen.go
- property_animation.gen.go
- quartzcore.go
- quartzcore_structs.go
- remote_layer_client.gen.go
- remote_layer_server.gen.go
- renderer.gen.go
- replicator_layer.gen.go
- scroll_layer.gen.go
- shape_layer.gen.go
- spring_animation.gen.go
- text_layer.gen.go
- tiled_layer.gen.go
- transaction.gen.go
- transform_layer.gen.go
- transition.gen.go
- value_function.gen.go