Documentation
¶
Overview ¶
Package shapes provides Go bindings for android.graphics.drawable.shapes.
Index ¶
- func Init(env *jni.Env) error
- type ArcShape
- func (m *ArcShape) Clone0() (*jni.Object, error)
- func (m *ArcShape) Clone0_1() (*jni.Object, error)
- func (m *ArcShape) Clone0_2() (*jni.Object, error)
- func (m *ArcShape) Clone0_3() (*jni.Object, error)
- func (m *ArcShape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *ArcShape) Equals(arg0 *jni.Object) (bool, error)
- func (m *ArcShape) GetOutline(arg0 *jni.Object) error
- func (m *ArcShape) GetStartAngle() (float32, error)
- func (m *ArcShape) GetSweepAngle() (float32, error)
- func (m *ArcShape) HashCode() (int32, error)
- type OvalShape
- func (m *OvalShape) Clone0() (*jni.Object, error)
- func (m *OvalShape) Clone0_1() (*jni.Object, error)
- func (m *OvalShape) Clone0_2() (*jni.Object, error)
- func (m *OvalShape) Clone0_3() (*jni.Object, error)
- func (m *OvalShape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *OvalShape) GetOutline(arg0 *jni.Object) error
- type PathShape
- func (m *PathShape) Clone0() (*jni.Object, error)
- func (m *PathShape) Clone0_1() (*jni.Object, error)
- func (m *PathShape) Clone0_2() (*jni.Object, error)
- func (m *PathShape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *PathShape) Equals(arg0 *jni.Object) (bool, error)
- func (m *PathShape) HashCode() (int32, error)
- type RectShape
- func (m *RectShape) Clone0() (*jni.Object, error)
- func (m *RectShape) Clone0_1() (*jni.Object, error)
- func (m *RectShape) Clone0_2() (*jni.Object, error)
- func (m *RectShape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *RectShape) Equals(arg0 *jni.Object) (bool, error)
- func (m *RectShape) GetOutline(arg0 *jni.Object) error
- func (m *RectShape) HashCode() (int32, error)
- type RoundRectShape
- func (m *RoundRectShape) Clone0() (*jni.Object, error)
- func (m *RoundRectShape) Clone0_1() (*jni.Object, error)
- func (m *RoundRectShape) Clone0_2() (*jni.Object, error)
- func (m *RoundRectShape) Clone0_3() (*jni.Object, error)
- func (m *RoundRectShape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *RoundRectShape) Equals(arg0 *jni.Object) (bool, error)
- func (m *RoundRectShape) GetOutline(arg0 *jni.Object) error
- func (m *RoundRectShape) HashCode() (int32, error)
- type Shape
- func (m *Shape) Clone0() (*jni.Object, error)
- func (m *Shape) Clone0_1() (*jni.Object, error)
- func (m *Shape) Draw(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Shape) Equals(arg0 *jni.Object) (bool, error)
- func (m *Shape) GetHeight() (float32, error)
- func (m *Shape) GetOutline(arg0 *jni.Object) error
- func (m *Shape) GetWidth() (float32, error)
- func (m *Shape) HasAlpha() (bool, error)
- func (m *Shape) HashCode() (int32, error)
- func (m *Shape) Resize(arg0 float32, arg1 float32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArcShape ¶
ArcShape wraps android.graphics.drawable.shapes.ArcShape.
func NewArcShape ¶
NewArcShape creates a new android.graphics.drawable.shapes.ArcShape instance.
func (*ArcShape) GetOutline ¶
GetOutline calls android.graphics.drawable.shapes.ArcShape.getOutline.
func (*ArcShape) GetStartAngle ¶
GetStartAngle calls android.graphics.drawable.shapes.ArcShape.getStartAngle.
func (*ArcShape) GetSweepAngle ¶
GetSweepAngle calls android.graphics.drawable.shapes.ArcShape.getSweepAngle.
type OvalShape ¶
OvalShape wraps android.graphics.drawable.shapes.OvalShape.
func NewOvalShape ¶
NewOvalShape creates a new android.graphics.drawable.shapes.OvalShape instance.
type PathShape ¶
PathShape wraps android.graphics.drawable.shapes.PathShape.
func NewPathShape ¶
NewPathShape creates a new android.graphics.drawable.shapes.PathShape instance.
type RectShape ¶
RectShape wraps android.graphics.drawable.shapes.RectShape.
func NewRectShape ¶
NewRectShape creates a new android.graphics.drawable.shapes.RectShape instance.
func (*RectShape) GetOutline ¶
GetOutline calls android.graphics.drawable.shapes.RectShape.getOutline.
type RoundRectShape ¶
RoundRectShape wraps android.graphics.drawable.shapes.RoundRectShape.
func NewRoundRectShape ¶
func NewRoundRectShape(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) (*RoundRectShape, error)
NewRoundRectShape creates a new android.graphics.drawable.shapes.RoundRectShape instance.
func (*RoundRectShape) Clone0 ¶
func (m *RoundRectShape) Clone0() (*jni.Object, error)
Clone0 calls android.graphics.drawable.shapes.RoundRectShape.clone.
func (*RoundRectShape) Clone0_1 ¶
func (m *RoundRectShape) Clone0_1() (*jni.Object, error)
Clone0_1 calls android.graphics.drawable.shapes.RoundRectShape.clone.
func (*RoundRectShape) Clone0_2 ¶
func (m *RoundRectShape) Clone0_2() (*jni.Object, error)
Clone0_2 calls android.graphics.drawable.shapes.RoundRectShape.clone.
func (*RoundRectShape) Clone0_3 ¶
func (m *RoundRectShape) Clone0_3() (*jni.Object, error)
Clone0_3 calls android.graphics.drawable.shapes.RoundRectShape.clone.
func (*RoundRectShape) Equals ¶
func (m *RoundRectShape) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.graphics.drawable.shapes.RoundRectShape.equals.
func (*RoundRectShape) GetOutline ¶
func (m *RoundRectShape) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.shapes.RoundRectShape.getOutline.
func (*RoundRectShape) HashCode ¶
func (m *RoundRectShape) HashCode() (int32, error)
HashCode calls android.graphics.drawable.shapes.RoundRectShape.hashCode.
type Shape ¶
Shape wraps android.graphics.drawable.shapes.Shape.
func (*Shape) GetOutline ¶
GetOutline calls android.graphics.drawable.shapes.Shape.getOutline.