Giter Club home page Giter Club logo

roundedimage's Introduction

Round Image

This library is developed to provide rounded image corners and oval shaped image implemented using extended typescript.

Installation

Install dev eco studio and open the project.

Usage

Displaying of images can be circular or oval. You need to import the following:

import { RoundImage, OvalImage } from '@ohos/libroundimage'

Compatibility

Supports OpenHarmony API version 8

Examples

Round Image

RoundImage({ borderRadius: $borderRadius, needBorder: true, borderWidth: 10, imageWidth: $imageWidth, imageHeight: $imageHeight, imageResource: $imageResource, objectFit: $objectFit })

Oval Image

OvalImage({ imageSource: $imageSource, imageWidth: $ovalImageWidth, imageHeight: $ovalImageHeight, borderWidth: 5, borderColorStr: '#00FFFF', needBorder: true })

Code Contribution

If you find any problems during usage, you can submit an Issue to us. Of course, we also welcome you to send us PR. Please enjoy and participate in open source freely.

Open Source License

Licensed under Apache-2.0 license

Reference:

Design by : Sushanta Senapati

roundedimage's People

Contributors

gleelakrishna avatar sushanta1307 avatar applibengineering avatar archanaatr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.