Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageFlyweight ¶
type ImageFlyweight struct {
// contains filtered or unexported fields
}
func NewImageFlyweight ¶
func NewImageFlyweight(filename string) *ImageFlyweight
func (*ImageFlyweight) Data ¶
func (i *ImageFlyweight) Data() string
type ImageFlyweightFactory ¶
type ImageFlyweightFactory struct {
// contains filtered or unexported fields
}
func GetImageFlyweightFactory ¶
func GetImageFlyweightFactory() *ImageFlyweightFactory
func (*ImageFlyweightFactory) Get ¶
func (f *ImageFlyweightFactory) Get(filename string) *ImageFlyweight
type ImageViewer ¶
type ImageViewer struct {
*ImageFlyweight
}
func NewImageViewer ¶
func NewImageViewer(filename string) *ImageViewer
func (*ImageViewer) Display ¶
func (i *ImageViewer) Display()
Click to show internal directories.
Click to hide internal directories.